scrypt3r -4 Junior Poster 17 Years Ago how do you get the directory witch the program is instaled in ? and put it in code e.g. textbox1.text = (******get directory code*******) vb.net 0 0 Share YHUBZ 0 Newbie Poster 17 Years Ago 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) 0 0 Share mazel 0 Newbie Poster 17 Years Ago If it's your program, then you could also try : Copy to Clipboardtextbox1.text = My.Application.Info.DirectoryPath This would get the directory of the EXE of your program. 0 0 Share Share Facebook Twitter LinkedIn Reply to this topic 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. Sign Up — It's Free!
YHUBZ 0 Newbie Poster 17 Years Ago 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) 0 0 Share
mazel 0 Newbie Poster 17 Years Ago If it's your program, then you could also try : Copy to Clipboardtextbox1.text = My.Application.Info.DirectoryPath This would get the directory of the EXE of your program. 0 0 Share