News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Playing with Windows ShellExecute API.

Started by Bill Cravener, November 20, 2012, 09:42:49 PM

Previous topic - Next topic

Bill Cravener

I was playing with "ShellExecute" to pop open some Window's system dialogs using control panel property page and wizard launch statements. I was just wanting to pop open Windows "Run" dialog and discovered more launch statements that could open other system dialogs. I'm sure there are other launch statements I haven't discovered.

Once "run.exe" is running left click its tray icon to execute the launch statement. To exit the program right click on its tray icon. It could perhaps even be a useful app if for example you have the "Run" dialog pop open down by run.exe's tray icon. Anyway, thought others might wish to play with it too. :biggrin:

http://www.quickersoft.com/examples/Run.zip

dedndave

very cool, Bill   :t

i was wondering how to open control panel snap-ins - lol

one thing i find strange....
the first Run box i open has the instructional text in it
after that, no text   :redface:

Bill Cravener

Dave,

Yes, it only seems to show on the first launch. I have no idea why but someone here might figure it out. :biggrin:

dedndave

strange - lol
maybe it needs an index number or command line parm ???

hutch--

Dave,

Have a look at the masm32 example, RUNCPL, its in the EXAMPL07 directory.

Bill Cravener

Here is a link to many other launch statements that can be used in this example.

http://www.technipages.com/windows-7-vista-rundll32-shortcut-commands.html

goofprog

That is cool.  You should try sysinternals tools too.  ShellExecute and remotely popping up a web page on a roommate's computer is funny stuff because they think they are infected with a virus.