Simple Visual Basic 6.0 question

Discussion in 'Software' started by MBlock, Mar 30, 2005.

  1. MBlock

    MBlock Private E-2

    I have a simple VB 6.0 question. I am just picking up VB so can someone tell me what the code is if I have a command button and when someone clicks the command button I want a text file to open completely seperate the running program? I already have the text file created and ready to go. TIA!
     
  2. Kodo

    Kodo SNATCHSQUATCH

    Try
    Shell("c:\windows\notepad -filenamehere.txt")

    that should open up notepad with the associated file "FILENAMEHERE.TXT" loaded.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds