1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to open a specific file with vb?

Discussion in 'Visual Basic 6' started by henhen10, Jul 20, 2013.

  1. henhen10

    henhen10 Regular Member

    Joined:
    Nov 18, 2010
    Messages:
    411
    Likes Received:
    83
    Occupation:
    a student
    Location:
    israel
    I am willing to make a vb exe file which will open another file when you click a button or something.
    how can I do this?

    btw I am having VB 2010 and when I do build application I don't know where the exe is being saved.

    Thanks in advance for the helpers and sorry if this is the wrong section.

    Chen
     
  2. toyou

    toyou Newbie

    Joined:
    Jul 28, 2013
    Messages:
    6
    Likes Received:
    0
    just google : [h=1]Working with Files in Visual Basic[/h]
     
  3. pavan

    pavan Elite Member

    Joined:
    Mar 30, 2008
    Messages:
    1,603
    Likes Received:
    432
    exe is usually saved in your project folder
     
  4. flyingwebtech

    flyingwebtech Newbie

    Joined:
    Jul 12, 2014
    Messages:
    20
    Likes Received:
    0
    It depends on the what type of file you want to open but for the selection of the file you can use opendialog box control of vb
     
  5. chocolatecricket

    chocolatecricket Junior Member

    Joined:
    Mar 23, 2010
    Messages:
    100
    Likes Received:
    11
    The .vb file extension format can be opened using the following:
    Text Editors - The code is placed in the text editor and the file is saved with the .vb file extension. Some popular editors are listed below.

    • TextPad
    • Microsoft Word
    • Notepad
    • Abiword
    Browsers - the .vb file extension can be viewed and executed using the popular browsers listed below.
    Internet Explorer

    • Safari
    • Firefox
    • Chrome
    • Opera
    Web Development Software's

    • Visual Studio
    • Microsoft Expression Web
    • Dreamweaver
     
  6. autoapps

    autoapps Newbie

    Joined:
    Apr 19, 2015
    Messages:
    29
    Likes Received:
    4
    Nice thread. Very useful thread
     
  7. backlinkingseo

    backlinkingseo BANNED BANNED

    Joined:
    Mar 31, 2014
    Messages:
    87
    Likes Received:
    3
    If you are sure that your application (.exe) and (.txt) files are in the same folder, then just use the file name - do not put the path.