what is the code to be put in your program such that your program could show its location?

What d'you mean by your program showing its location.?
please elaborate..

Try This

Textbox.Text=Application.StartupPath

this should get the path

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.