How can I get the path at run time of the VB program file that the code is run from?

You can use App.Path

How can I get the path at run time of the VB program file that the code is run from?

Use:

APP.PATH

Thank you both. I have been going round in circles for such a simple problem...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.