Question:

Visual Basic Coding Help

by  |  earlier

0 LIKES UnLike

I am making a program to suprise a very special girl and its been like 3 months i have even touch visual basic and my mind forgot alot of the codes and my idea for the program is just to simply have a command button to open a file in my documents how wuld such a thing be done??

lets say the file is "C:\Users\??\Documents\Poem

how wuld you do it and also how wuld you correctly find the file name??

from command promt?

 Tags:

   Report

3 ANSWERS


  1. May be you can contact a VB developer at website like http://definitivelab.com/ .


  2. shell "thpathofwinword.exe filename.docx"

  3. Well, you can try creating a batch file to open it.

    Word Document:

    start "word.exe C:\Users\??\Documents\Poem.doc"

    Or a txt file:

    start "notepad.exe C:\Users\??\Documents\Poem.doc"

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.