Opening file in vb

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gauravalc
    New Member
    • Mar 2008
    • 2

    Opening file in vb

    I am newbie in VB. I have access database in which i stored paths of the file. Now I want to open the file which are have the respective path using VB command button. A form comes which shows paths in a record and a command button. On clicking the button i should be able to open the file having the path shown in the textbo of the form.

    -The files paths stored in the database field may be text, doc ,ppt, pdf, xls.
    -The textbox name is "text2" and it is getting data from location field of database named "filedispla y".
    -Command button name is "command1"
    Last edited by gauravalc; Mar 19 '08, 04:59 AM. Reason: spelling mistake
  • PianoMan64
    Recognized Expert Contributor
    • Jan 2008
    • 374

    #2
    When you say VB, are you meaning VBA in MS Access or Microsoft Visual Basic .net (VB.NET)?

    Please clearify, because they are different languages all together, but are simular.

    Joe P.

    Comment

    • gauravalc
      New Member
      • Mar 2008
      • 2

      #3
      Originally posted by PianoMan64
      When you say VB, are you meaning VBA in MS Access or Microsoft Visual Basic .net (VB.NET)?

      Please clearify, because they are different languages all together, but are simular.

      Joe P.
      I am using MS Access VBA.....

      Comment

      Working...