Results 1 to 10 of 10

Thread: *RESOLVED* how to put path of application in a variable?

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2004
    Posts
    16

    Question *RESOLVED* how to put path of application in a variable?

    This is probably a noob question, but i'm still new to vb so please excuse me.

    I'm creating just a simple application with just one form with some buttons to open different excel files. My form is thus 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 know how i can put the path (of the program) into a variable? i've tried application.path but that just gives me the path to the office folder.
    Thanks in advance!

    Cheers,
    Arie
    Last edited by arie ribbens; Jan 15th, 2004 at 01:44 PM.

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