Moving To Another Open Program?
Mar 9, 2012
Ok so say I had a simple form with a button. This form has the TopMost set to true and when the button was clicked it would use the SendKeys.
But unfortunately you have to click onto the place where you want it to send the keys otherwise it will try typing it onto itself.
Say I have a .jar open in processes, how would I make it so when the button is pressed it would switch to make the .jar the "Front"?
View 3 Replies
ADVERTISEMENT
Nov 20, 2011
I have an MDI running as the parent. How can you stop the forms moving to the back when they are open if you click in the any part of the MDI area. Also I notice if I have more than one form open it creates form instances on my windows task bar?
View 6 Replies
Dec 6, 2010
I am loading a KJV.rtf file at program startup into RichTextBoxDisplay. When I want to select, lets say, Matthew Chapter 1, I want the program to take me to Matthew Chapter 1. I know I could just load a seperate file into the rtbDisplay, but do you know how many chapters and books are in the Bible..
View 2 Replies
Jul 8, 2011
How could I move my VB.NET application to a folder using VB.NET in the same file? Essentially, I want to be able to move my VB.NET application to the Start folder when it is executed (within the same application). Also, I want to be able to move it to the same folder on any computer, for there is no set path to the Start folder on different computers. Or I would like to just create a shortcut for my application in the start folder?
View 2 Replies
Aug 15, 2009
I have been working on a program on my old computer. Now, I have gotten a new computer and would like to continue to work on it there. The program is not yet finished. I would like to copy my program to my new computer. How can I do this? I tried copying the folder from my old computer to my new one and it opened the project, but I could not edit it as there was no permission given to edit it. It shows it as a read-only.
View 3 Replies
Apr 21, 2012
I am making a program that takes files (inside their folders) and copies them into a selected file path. For example, I plug in my jump drive, run my program and it copies my files on the jump drive over to my PC. Now my program does this but it takes the files inside each folder in my jump drive instead of creating a folder for each one in my jump drive. The result is a mess of files in the selected pathway in my PC.I went and created variables in My.settings so that you can save the file path even after you close the program. I just want the program to copy the folders(with the files in each folder) in my jump drive and move them over to my PC.I am using this program copy the files from my jump drive over to my PC, because I save a lot of work on my jump drive and I need to back it up often. [code]
View 4 Replies
Oct 27, 2011
I want to go back to the input line in the four places in the code that say something like strinputmessage = strnegative or strinputmessage = strnonnumeric.I need to be able to go back to where you input the data so that the index does not increase.I tried using a GoTo <23> to go back up to the line i needed but then it gave me all these weird errors about the End and Next were missing.[code]
View 3 Replies
Nov 3, 2011
I just started tryign to make a program that when you click on buttons un one form it moves a label in another form.
Hers are the codes i have.
Mover is the form when the moving buttons
Code:
View 7 Replies
Nov 23, 2011
I would like to execute an external program within powerpoint after the presentation has loaded so i can see if its working. In short my overall objective is to execute the external program which will open up the command prompt and use the sendkeys method to sendkeys to command prompt which help it to run a script at the correct time (which is after presentation is loaded).
View 9 Replies
Oct 5, 2008
I have this:
Private m_PerformanceCounter As New _
System.Diagnostics.PerformanceCounter( _
"Processor", "% Processor Time", "_Total")
[code]......
View 4 Replies
Nov 19, 2011
I am currently working on a menu driven console program that so far has 4 menu options of checking internet connection, decrypting/encrypting a message, calculator, and a logout, and i am wondering about a few current things.
1. How do i make it to where, when a program starts for the first time, it asks for a user to enter in his data, like signing up for a site for the first time?
2. How do i make it to where the program will save the data entered, and does not delete when the user closed the program.
3. How can i make it to where when a user signs in, his/her data is read correctly? Like an array search for a multidimensional array.For my "New user" sign data i created a function...
Function createNewUser() As String()
Dim name As String
Dim userName As String[code]...
View 2 Replies
Feb 7, 2010
I am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?
View 1 Replies
Aug 27, 2009
Is it possible to only make a program open when another program opens it? so when someone tries to open it themselfs by clicking on it, it pops up a error message?if so then how would someone go about doing this in VB 2008?
View 9 Replies
Feb 4, 2011
I am using a CheckedListBox that is populated with Filenames (full path, i.e. C:TestTest.jpg)When I have the files that I want in the CheckedListBox I wish to click a Start Button which will process the list one at a time using an exe program that runs on the Command Line. There are arguments that need to pass to the command line as well as the file location in order for the program to process.I currently have it working but the issue is the loop finishes quickly and it is left up to the CMD.exe to finish the process. What I would like is for the LOOP to wait until each file completes processing before passing the command for the next file in the CheckedListBox.There some reasons I wish for it to work this way.
1) I would like to have a button that can Pause/Restart the Loop.
2) I would like to have a button that can Stop the Loop so the whole process can end.
3) I would like to have the Loop remove each file one by one from the CheckedListBox after it has been processed.
4) I would like to display a Message once all the files have been processed.
5) And if it were possible I would like to report the status either by text or a progress bar showing where it is at in the process.
6) And the ability to add some error handling if possible.
Since the Loop finishes so quickly as it just passes the command to the command line using the & as a seperator it is the command line that is handling the rest of the process. Because of this there is not control over it in the GUI.The code I am using allows the Command Line text to display in the Form so it won't open up a seperate window to run CMD.exe. This is the desired affect as I would like everything to appear to run from within the Form itself.
[Code]...
View 6 Replies
Feb 27, 2010
I believe I need the code for Load Event. I have tried many ideas. I have searched the threads here and also google of course. No luck as of yet. Better description: I have a file named hello.txt. The contents of this text file are "hello". I use my program as the default for .txt files. I dbl click hello.txt. My program loads and the contents are blank and it should have "hello" in it.
View 31 Replies
Jul 21, 2010
I have a button on my form. And I want to open for example winamp.exe
View 2 Replies
Dec 8, 2010
I have an asp.net project developed in visual studio 2005. I created it on my machine, and then zipped the project and emailed it to the team lead to install the app on a central directory. However, when he double clicks on the .vbproj file (and if he attempts to open it using the 2005 IDE) he gets an error message[code]...
View 3 Replies
May 14, 2011
I am new here and I want to ask, I have 2 Program called O2jam.exe and O2SP.exe . I want O2SP.exe only can execute by O2jam.exe and cannot run Directly, when you run Directly there are Message Box "Run O2jam.exe".
View 1 Replies
Aug 5, 2010
i tried searching, so i hope this isn't answered and is in the right place, but i made a program in visual basic 2008 which was working completely fine when i finished it. i uploaded it online for others to download, which has also worked fine for them for several months. as of late, some users have reported that when they try to use the program, the 'open with...' window pops up because windows does not recognize the program needed to run my application. yet...it works fine on my PC, and most others (that i assume that have not redownloaded it causing this error to occur). i instruct the users to update their .NET framework in the original forum post to the latest update which was previously required for my application to work, but the issue still arises. regardless of all my searching, i haven't found a solution. or any issues that are even similar to mine. i'm a beginner programmer (only one semester in visual basic) and that was over a semester ago, so i'm hoping it is an easy fix i'm not aware of or am overlooking.
View 4 Replies
Mar 28, 2009
'Open with...' pops up when trying to use program
View 16 Replies
Jan 6, 2011
Objective : Time how long a user has been on the internet. I have never delved this deep into Visual Studio. I am suing Visual Basic 2010 Express. Please move it if you need to.
I want to have a program - that will detect running processes. If Internet Explorere EXE or Chrome or FireFox exe or any other browser is installed - as soon as that process starts the timer will appear.
When those processes are closed by the user the timer stops counting. This is possible but i dont know how. But i only want it to time just one internet process because timing them all when they are openend up at different times could cause bugs. Unless on the time form you have 1 timer for IE, 1 for FFox, 1 for Chrome 1 for Opera..
View 5 Replies
Jan 18, 2009
Ok first i want to say im sorry if i put this inthe wrong section i have no idea what the thing im doing is called "I call it a notepad" Ok i made a notepad saved it ect now i got the .exe file i tryed making that my default notepad but when i click on a .txt file i get an error massage
C:Documentsand SettingsUserDesktopTry.txt is not a valid Win32 application
i dont get the point in making a program and not using it..The Notepad is only a simple one "My first project" Only has features like
[Code]...
Edit 1 If anyone can tell me the diffrence between TextBox and RichTextBox would be nice also
View 19 Replies
Feb 25, 2011
I would like to have a way of getting all of the open windows in a windows system. I need an array for all of the active windows (what you see in the taskbar). I just want a function to do this please. Its the core of a program I am writing, and its where i am starting from, so no code yet.
View 1 Replies
Mar 30, 2011
I want to be able to send an email with a link in it like ... myprogram:customerid?1423 .r something like that. So when the user click the link, it must open "myprogram" and lookup the customer with ID 1423.
View 1 Replies
Jun 4, 2010
Is it possible to issue a Open CD and a Close CD using VB.net? Are there any examples of code I could see or articles? Thanks for you help, in what seems to be such a trivial matter. (I know though that the simpler the function the more code seems to be
View 2 Replies
Oct 17, 2009
I open a Shell("CMD") windows using my VB program but I would like it to open within my VB program. Either using a Text Box, List Box or some other box. I can get it to open a dos prompt but I want it to be contained within my application. I want people to be able to see the results. There are several different windows my program opens but I don't want them to open externally.
[Code]....
View 3 Replies
Jan 21, 2011
I develop a small calculator in VB 2008 but i lost the code due to virus attack on my computer. But i make a exe when i complete is it any way i open this exe in my new project?
View 5 Replies
Apr 26, 2009
i made a program that manage file (picture text etc.), and i want when i right click the file and select open with->myprogram, it do the function that add the file to my program! (similarly WinRAR)
View 2 Replies
Sep 26, 2009
i have just started to use this program...i accidently opened more than 1 program and i cant close them.
View 1 Replies
Jun 23, 2011
Retrieve a list of rdlc's from a project?I want to open a pdf document which already has certain bookmarks. I want to open the pdf to a bookmarked page. How can I do that? I am using the following code to go to page 2 of the pdf. But how can I go to a Bookmark named "Topic 5" whose page number I don't know.[code]...
View 2 Replies