Community discussion forum

Shell and ShellExecute function

This is a comment thread discussing Shell and ShellExecute function
  • 10 years ago

    This thread is for discussions of Shell and ShellExecute function.

  • 6 years ago

    Nice tutorial, but you seem to have overlooked something. How do I launch My Computer? Explorer with no parameter opens My Documents, Explorer mycomp~1 and Explorer ""My Computer"" both say the directory doesn't exist. (This is on XP Pro BTW.)

  • 5 years ago

    is there a possibility for me to open a program to another pc. im thinking like a server client program where the server opens the client or other program from the other terminal...??

  • 4 years ago

    I want my program to wait till Shell or shellexecute command finishes zipping a file of size say 500mb. Please let me know the solution.
    Thanks,

  • 4 years ago

    Hi,
    very compliments for your tuttorial, it's very clarity.
    I have another question, now.
    The command "sendkeys" send data to the active application
    in this moment.
    I need to send data (key) to an aplication that is just
    running, but in background, in minimize state.


    It's possible to make this?
    Thanks in advantage.


    DaxDax

  • 4 years ago
    Hey, I have a memory leak problem. My application has to run different programs. For example, when the user has to run Notepad, he just clicks on the button on my program and my program runs Notepad... Simple and straightforward. The problem is that the user might have to run Notedpad several times throughout the day, and when you look at the memory usage for my program on Task Manager, the size increases every time the user decides to run Notepad (even though he closes it after he's through using it). My question is: how would I release the memory used by my program for Notepad when the user closes Notepad? I need this so that I could keep the same memory usage, cause if the user decides to run Notepad 100 times, and then close all of those, that's a whole lotta memory used up for nothing...

    I would really appreciate any help,
    Thank you
  • 4 years ago

    Is there anyway of using information gathered from drive/dir/file list boxes in the path when using Shell? I have tried but I think I have the wrong syntax even though VB6 does not complain.

  • 4 years ago

    I have the same situation and would appreciate your sharing any answer.

  • 4 years ago
  • 4 years ago
    This Method Works Well But My Problem is That I want to Open The

    Explorer File(s) (.html or htm)  In New Window(new instance of IE for

    every file) every time I clicked on the Different file.
  • 3 years ago
    aaftab wrote:
    This Method Works Well But My Problem is That I want to Open The Explorer File(s) (.html or htm) In New Window(new instance of IE for every file) every time I clicked on the Different file.
  • 4 months ago

    hi!! i make a program with .net, in this program use the command shell for execute an aplication in visual basic 6 but i can not open de file "exe" why i need pass by parameters for opening the file.

    Somebody can help me with my doubt.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!