Re: Asynchronous ShellExecute or ShellExecuteEx



DanS <t.h.i.s.n.t.h.a.t@xxxxxxxxxxxxxxxxxxxxx> wrote in
news:Xns99CCCD3163BAFthisnthatadelphianet@xxxxxxxxxxxxxx:

"CrazyDood" <anon@xxxxxxxx> wrote in
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
<SNIP>

(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


.



Relevant Pages

  • Re: Launching an app under Vista with UAP enabled
    ... prompts the user for permission before running th e app. ... We really need a way to launch an app without user ... The following "execute" function is used to launch an app using the ... bSuccess = OpenThreadToken( ...
    (microsoft.public.development.device.drivers)
  • Re: Windows CE Splash and Shell
    ... for each Launch key windows CE checks signal started ... dependencies before launching the App. ... Windows Embedded Manager ... have a Windows CE image with standard shell working ...
    (microsoft.public.windowsce.embedded)
  • Re: How do I start button and taskbar and still have windows explorer and control panel?
    ... First, you should launch your app instead of "explorer.exe", not "shell.exe" ... multi application environment when explorer is not launched. ... > be able to reach the control panel (especially network settings ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Launching an application from ASP.NET
    ... I can't launch the application on the client side because it modifies ... > Each Win32 Service has its own winstation, which it will share with any ... >> app but the UI never is displayed. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Newbie Questions
    ... applications folder within their home folder for apps they do not wish ... > the switched-to app's body window to the foreground and sometimes not. ... > also not do it when none of my apps is the current app. ... > - How can I play a song with iTunes without bringing up an iTunes UI? ...
    (comp.sys.mac.system)