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

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

Re: how do you get the directory witch the program is instaled in 80 80

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)

Re: how do you get the directory witch the program is instaled in 80 80

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.