By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,611 Members | 1,386 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,611 IT Pros & Developers. It's quick & easy.

Opening a program running in memory

P: 3
Platform : Windows XP
Language : Visual Basic 6

Hi, I have a peculiar problem here. I created a VB6 program that during runtime when it is minimize, I can maxmise it by clicking my icon on windows taskbar(next to the time).

Now here is the problem. The windows explorer crash, when I refresh the screen, my icon disappears. I know it is running in the memory but I can't maxmise the program to exit it. I know "Ctrl"+"Alt"+"Delete" to end task but I can tell that to my users.

I wanted to running the VB6 program again, to detect that it is there in the memory and maxmise it in order for me to exit it. I found the source code to detect the application in the memory but I need help on how to maxmise the program

If App.PrevInstance = True Then
MsgBox "The application is already running in another window."
End If
Mar 28 '07 #1
Share this Question
Share on Google+
4 Replies


MMcCarthy
Expert Mod 10K+
P: 14,534
This question is being moved to the Visual Basic forum.

ADMIN
Mar 28 '07 #2

P: 3
Sorry about that. Thanks ... ya
Mar 29 '07 #3

Expert 5K+
P: 8,434
I don't know the answer, but I know the same problem occurs with the Task Manager - icon disappears from the System Tray if Explorer crashes. You might try searching for mention of this on the web. Just remember, it's in the "System Tray", not the taskbar. Try some searches on TheScripts and the wider web (see the search box, top-right).

By the way, it might be possible to have the application periodically "refresh" (just my word) the icon in the system tray.
Mar 29 '07 #4

P: 3
Thanks.... ya. At least now, I have a directions. :)
Mar 30 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.