Results 1 to 3 of 3

Thread: DOS...and more

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    first...
    Shell "C:\windows\program.exe", vbNormalFocus

    what does the vbNormalFocus do exactly?

    How would I write a program dir into the autoexec.bat file?

  2. #2
    Guest
    vbNormalFocus or 1 means that the program will be shown as normal. Look in your VB Help file under "Shell constants". It won't be minimized or anything.

    And to write a line to autoexec.bat:
    [/code]Open "c:\autoexec.bat" For Append As #1
    Print #1, "PATH C:\myapp"
    Close #1
    [/code]

  3. #3

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472

    thanks :-)

    thanks :-)

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