uhm i have a problem in vb.net can someone help me here please?

so here's the problem......

i created a software and its already installable but (uhm how can i say this im not good in english so its hard for me to tell my problem geez:$)

i have this code
My.Computer.FileSystem.WriteAllText("C:\Documents and settings\aaron\dota\log.txt", tbLog.Text, True)

so this code function is to save every text that i input in textbox in the location C:\Documents and settings\aaron\dota

so here's i want to do

whenever i install my program in other pc the location will also change

is that possible?:-/

Take a look at the properties of My.Computer.FileSystem and My.Computer.FileSystem.SpecialDirectories.

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.