Re: Asynchronous ShellExecute or ShellExecuteEx
- From: DanS <t.h.i.s.n.t.h.a.t@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 17 Oct 2007 21:10:15 -0500
DanS <t.h.i.s.n.t.h.a.t@xxxxxxxxxxxxxxxxxxxxx> wrote in
news:Xns99CCCD3163BAFthisnthatadelphianet@xxxxxxxxxxxxxx:
"CrazyDood" <anon@xxxxxxxx> wrote in<SNIP>
news:u10h1afCIHA.5044@xxxxxxxxxxxxxxxxxxxx:
I want to open a computer like "\\ComputerName" or open a website
like "http:\\www.microsoft.com" from my VB6 app. without blocking my
app. I really don't need any feedback from either function, because
usually when you do a ShellExecute, Windows will give you an error if
it doesn't succeed and errors out.
I could start a thread if I needed to, but it seems a lot of work for
this. I also heard that the Folder Options (View tab) "Launch folder
(Good thing I saw this, I just found a bug in my program. If you're
interested (not in the bug), my app Shell-Executed to a folder on a
network drive that the HD had spun down on hours ago, so the target
was not immediately available. But it seemed like my app was not
blocked while waiting for this network drive to become available....I
just don't understand.)
Regards,
DanS
After further review, I'm not sure if my program is held up or not.
This is a popup application launcher. It's usually hidden until a middle-
click on the mouse show it at the cursor position. So if I launch a
program that takes a long time to load, or access the network drive that
has to wake up, and immediately middle-click again, the app launcher is
shown immediately as it should and acts as it should a well.
The middle-click of the mouse is detected using a hook in a dll file,
that sends a message to my app telling me the middle-click happened.
Since that hook is injected into each process, some other process always
has the foreground.
Is it possible that my app is actually hung up for a bit, but broken out
of it somehow by sending a message to it...posting actually ?
Regards,
DanS
.
- References:
- Asynchronous ShellExecute or ShellExecuteEx
- From: CrazyDood
- Re: Asynchronous ShellExecute or ShellExecuteEx
- From: DanS
- Asynchronous ShellExecute or ShellExecuteEx
- Prev by Date: Re: Asynchronous ShellExecute or ShellExecuteEx
- Next by Date: Re: Mouse activitiy
- Previous by thread: Re: Asynchronous ShellExecute or ShellExecuteEx
- Next by thread: Re: I Enter my password and my b1 user Id but still wn't let me. Why?
- Index(es):
Relevant Pages
|