Author Topic: Playing with Windows ShellExecute API.  (Read 5891 times)

Bill Cravener

  • Guest
Playing with Windows ShellExecute API.
« on: November 20, 2012, 09:42:49 PM »
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

  • Member
  • *****
  • Posts: 8827
  • Still using Abacus 2.0
    • DednDave
Re: Playing with Windows ShellExecute API.
« Reply #1 on: November 20, 2012, 10:06:44 PM »
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

  • Guest
Re: Playing with Windows ShellExecute API.
« Reply #2 on: November 20, 2012, 10:20:17 PM »
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

  • Member
  • *****
  • Posts: 8827
  • Still using Abacus 2.0
    • DednDave
Re: Playing with Windows ShellExecute API.
« Reply #3 on: November 20, 2012, 10:32:20 PM »
strange - lol
maybe it needs an index number or command line parm ???

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7544
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Playing with Windows ShellExecute API.
« Reply #4 on: November 20, 2012, 11:26:02 PM »
Dave,

Have a look at the masm32 example, RUNCPL, its in the EXAMPL07 directory.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Bill Cravener

  • Guest
Re: Playing with Windows ShellExecute API.
« Reply #5 on: November 21, 2012, 12:19:40 AM »
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

  • Guest
Re: Playing with Windows ShellExecute API.
« Reply #6 on: September 15, 2013, 07:51:17 PM »
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.