|
-
Oct 5th, 2001, 06:03 AM
#1
Thread Starter
Addicted Member
Prev instance of application
i want to show main form of my prev application ( if it minimised it should come up means i want to set main form to vbnormal ) when second instance of application is started .. and close the second new instance...
any tips on this ??
If App.PrevInstance = True Then
' all action done here happned on new instance on application
' how to show prev application main form here ???
End
End If
-
Oct 5th, 2001, 06:21 AM
#2
VB Code:
If App.PrevInstance = True Then
if me.WindowState = vbminimized Then
me.WindowState = vbnormal
end if
endif
-
Oct 5th, 2001, 06:54 AM
#3
Thread Starter
Addicted Member
well this doesnt work .. i have already tried it with my form object instead of me , still i checked with this code it opens new instance of app , does some action for 2-3 second and goes down if put End o/w it will show another instance of application ...
-
Oct 5th, 2001, 06:56 AM
#4
PowerPoster
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|