Results 1 to 2 of 2

Thread: How to make Commands

  1. #1
    Guest

    Post

    I want to know how to Make Extenal commands
    E.g.
    Ftp.exe /s
    notepad tod.txt

    how can i make this for direct access

  2. #2
    Guest

    Post

    Do you mean to make your VB program execute one of those commands? Then look up the "Shell Function":
    'Specifying 1 as the second argument opens the application in
    ' normal size and gives it the focus.
    Dim RetVal
    RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.

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