CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    What is the function to use to run dos command?

    I have a command button, I want to use regedit dos command. Once I click on command button it will load registry editor.

    Instead of type in regedit in the command line. I want to know is there any function that will apply in command button to make it work.


  2. #2
    Join Date
    Jul 1999
    Posts
    11

    Re: What is the function to use to run dos command?

    You can use the Shell function for this. For synchronizing programs, ie running one when the next is done, use the Windows API CreateProcess.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured