Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004

    Unanswered: (vb6) put path of application in a var. ?

    My form is not much more than a gateway to different .xls files. The users clicks a button and the according .xls file needs to open. The problem is that the .exe file (which opens the form) can be anywhere on the users pc, so i need to know the path so i can make the link to the .xls files.
    Does anyone knows how i can put the path (of the program) into a variable?
    Thanks in advance!


  2. #2
    Join Date
    Jul 2003
    Amsterdam, Nederland

    Cool Try this

    Dim MyVar as Var 'or string

    MyVar = app.path

Posting Permissions

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