|
-
Aug 24th, 2004, 10:01 AM
#1
Thread Starter
New Member
Explorer Window
I have a program which closes the explorer window if there is a visible window. It uses mainwindowtitle to see if it has a title and then uses - myprocess.closemainwindow to shut it down. This works fine on my machine (xp pro) but on some other computers it closes the background explorer as well, forcing a shut down. Does anybody know why this might be. I have gone through folder options (ie launch in seperate process). Is there some other setting that needs to be in place or any other ways of closing or hiding the explorer window without stopping background explorer.exe
dim myprocs() as process
dim myexproc as process
myprocs = process.getprocessbyname("explorer")
for each myexproc in myprocs
if myexproc.mainwindowtitle <> "" then
else
myexproc.closemainwindow
loop
please help i'm going insane!
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
|