Batch File

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Essam
    New Member
    • Jun 2007
    • 1

    Batch File

    Hi,
    i am a beginner, and i would like to know " how to create a batch file or exe file to open a certain file ( not an application ) from the Access form via the buttons???

    Thanks
  • JConsulting
    Recognized Expert Contributor
    • Apr 2007
    • 603

    #2
    Originally posted by Essam
    Hi,
    i am a beginner, and i would like to know " how to create a batch file or exe file to open a certain file ( not an application ) from the Access form via the buttons???

    Thanks
    Code:
    private sub YourButton_Click()
    
    Followhyperlink "C:\Yourfile.doc"
    
    end sub

    Comment

    Working...