my address variable equal at address =C:\\prpgm\\prpgm\\program.accdb but its change every time and address doesnt work in file.copy what must ı write in parantesis that will be equal to address forc ever time
Jump to Post
if you set the variable as type of string, it cannot change, because string is immutable (that means it cannot be changed ones its been created).
For sure somewhere in your code you create a new string for this variable. Double Check your code.
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.