how do you get the directory witch the program is instaled in ?
and put it in code e.g.

textbox1.text = (******get directory code*******)

Hello scrypt3r...

i don't know witch program directory u want to know, the other program or your program?

if your program, try this code:

MessageBox.Show(My.Computer.FileSystem.CurrentDirectory)

If it's your program, then you could also try :

textbox1.text = My.Application.Info.DirectoryPath

This would get the directory of the EXE of your program.

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.