help in vb

Discussion in 'Software' started by Bàsíq, Mar 12, 2006.

  1. Bàsíq

    Bàsíq Private E-2

    well im new to vb you can prolly tell by my question but i have a form 1 thats has a button that goes to form 2

    from form 2 i wana have a button that goes to my text file...

    what code would i put in

    i tried textfile.1.show

    but that didnt work..
     
  2. Bàsíq

    Bàsíq Private E-2

    i have form2 with a button on it i want the text file to pop up when i press the button..i just dont know to do this..lol
     
  3. Kodo

    Kodo SNATCHSQUATCH

    vb6 or VB.NET?
     
  4. mastermosley

    mastermosley Sergeant

    Try shell, shell "C:\Windows\Notepad.txt" Just change the location to point to wherever your file is located. Preferably have it within your program directory so you can just use: SHELL "\TextFile.txt"
     

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