Results 1 to 3 of 3

Thread: open file with double click

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Posts
    259

    open file with double click

    Hi friends,

    If i link a extension to a program i made in vb and double click on it. how can i program my application that he reads that file?

    thanks,

  2. #2
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    "how can i program my application that he reads that file?"

    you would need to do the showing the data part yourself, but if you got your program to open after they double clicked it, just use the Command() function to get the filename:

    private sub form_load()
    msgbox Command
    end sub

  3. #3
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    Use Command

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width