SciActive

  • Increase font size
  • Default font size
  • Decrease font size
Home Visual Basic 6 Communicate with prev instance of app

Communicate with prev instance of app

E-mail Print PDF
User Rating: / 0
PoorBest 

Source

Pass values to the old instance of the same program. This is useful to open a document in the old window if the user double clicks the file instead of opening a new window. This avoids having multiple windows of the same application in the taskbar.

Comments

avatar Anonymous
0
 
 
this code doesn't appear to do anything (tested on vb6 in windows xp sp2)
avatar Hunter Perrin
0
 
 
Did you run it with two instances of the same app? You can't just run it from within the VB IDE. This application will communicate with another instance of itself. Try opening the .exe then drag a file onto the .exe from explorer. The app will tell you which file you dragged onto it.
Please login to post comments or replies.
 

Advertisement