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
File.Copy("adress",
adem87
0
Newbie Poster
Recommended Answers
Jump to Postif 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
Mitja Bonca
557
Nearly a Posting Maven
arunkumars
14
Junior Poster
Mitja Bonca
557
Nearly a Posting Maven
NetJunkie
29
Junior Poster
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.