Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run DOS Command

Status
Not open for further replies.

Diogo

Technical User
Mar 22, 2001
143
PT
Hello.

I have a problem to put a DOS command running in VB but withot the "black window"(command.com) and only do the next step the this finished.

I have look for this question here and all most of then tell to use the WaitForSingleObject. But i can understand that.

If there are some one that can tell me another way to do this, or explain me better the way whow it work.

Thanks any way.

DR
 
Thanks.

It was just what i want.

But (always are a but) when i do the example it runs just fine, but when i copy that to my program, he give me this error:



Can't find project or library

Public Function ExecCmd(cmdline$)

ret& =




Do you know which are de library, this because i have compare the references of the example and the my project and there's no diference.

DR
 
Diogo, writeme , so i can send you a .bas module with a couple o'functions to 'Run and Wait' apps.

:-I bluenote@uyuyuy.com
(excuse my english)
 
Thanks but it was an error mine,

Because the library that it was missing, i just find it.

Thanks one more time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top