PLS Help, I don't know why to write 
Author Message
 PLS Help, I don't know why to write

I want to write a vb program to execute a dos program with the
following command :

        runit.exe -r user -d abc -c 3547

What step I need to do to execute a dos command like above in a VB
program.

How a VB program create a directory or folder, and create a text file
in the folder.

I am a newbie, pls help me and send your sugguestion to my email

Thanks

Chris



Sat, 17 Jun 2000 03:00:00 GMT  
 PLS Help, I don't know why to write

Shell "runit.exe -r user -d abc -c 3547"
-or-
Shell "runit.exe -r " & user & " -d " & abc & " -c " & 3547
--
Hope this helps...

Jeffrey Renton
jrenton AT ees DOT enron DOT com



Quote:
> I want to write a vb program to execute a dos program with the
> following command :

>    runit.exe -r user -d abc -c 3547

> What step I need to do to execute a dos command like above in a VB
> program.

> How a VB program create a directory or folder, and create a text file
> in the folder.

> I am a newbie, pls help me and send your sugguestion to my email

> Thanks

> Chris



Sat, 17 Jun 2000 03:00:00 GMT  
 PLS Help, I don't know why to write

Check Shell function in Help -----

Regards, Davie

Quote:

> I want to write a vb program to execute a dos program with the
> following command :

>         runit.exe -r user -d abc -c 3547

> What step I need to do to execute a dos command like above in a VB
> program.

> How a VB program create a directory or folder, and create a text file
> in the folder.

> I am a newbie, pls help me and send your sugguestion to my email

> Thanks

> Chris



Sat, 17 Jun 2000 03:00:00 GMT  
 PLS Help, I don't know why to write

Hi Chris,

    You can create a directory and create a text file in that directory from VB. Its very easy...Here is an example. For more information see VB help on Open, Close, Input, Output, Print # and Write.

MkDir ("d:\ng")
Open "d:\ng\Text.txt" For Output As #1
Print #1, "Hi Chris...wow...you created a text file..."
Close #1

Hope this helps,
Vyas
Aditi Corp.
http://www.aditi.com
Check out my home page at
http://members.tripod.com/~vyaskn/index.html

Quote:

>I want to write a vb program to execute a dos program with the
>following command :

> runit.exe -r user -d abc -c 3547

>What step I need to do to execute a dos command like above in a VB
>program.

>How a VB program create a directory or folder, and create a text file
>in the folder.

>I am a newbie, pls help me and send your sugguestion to my email

>Thanks

>Chris



Sun, 18 Jun 2000 03:00:00 GMT  
 PLS Help, I don't know why to write

Hi Chris,

    You can create a directory and create a text file in that directory from VB. Its very easy...Here is an example. For more information see VB help on Open, Close, Input, Output, Print # and Write.

MkDir ("d:\ng")
Open "d:\ng\Text.txt" For Output As #1
Print #1, "Hi Chris...wow...you created a text file..."
Close #1

Hope this helps,
Vyas
Aditi Corp.
http://www.aditi.com
Check out my home page at
http://members.tripod.com/~vyaskn/index.html

Quote:

>I want to write a vb program to execute a dos program with the
>following command :

> runit.exe -r user -d abc -c 3547

>What step I need to do to execute a dos command like above in a VB
>program.

>How a VB program create a directory or folder, and create a text file
>in the folder.

>I am a newbie, pls help me and send your sugguestion to my email

>Thanks

>Chris



Sun, 18 Jun 2000 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. PLS Help, I don't know why to write

2. Migration to VS 2003 worked though I don't know why

3. does anybody know why this code don't work

4. I don't know why..

5. VB4 16bit GPF and I don't know why (I bother sometimes)

6. I don't know why..

7. ADO Error! Don't know why

8. Don't know what to write

9. Help-don't know what i'm missing

10. Don't know why to do, Pls help ........

11. Don't know why to do, Pls help ........

12. Importing files-don't know please help.

 

 
Powered by phpBB® Forum Software