|
-
Sep 23rd, 2014, 03:22 AM
#1
Re: Anyway of adding a file to my program and saving it inside of it
Erm, thats not going to work! Its seems you do have some misconceptions.
What your asking is not possible, Variables are in memory FULL STOP. As soon as your program stops running you lose your variable values unless you save them to a file.
Those Settings files,
Application Settings are Read Only
The User Settings the ones which you can write to, the ones you seem to be mistaking for Variables, they are stored in a separate file normally under -
%USERPROFILE%\Application Data\<Company Name>\<appdomainname>_<eid>_<hash>\<verison>\user.config.
If you are trying to store stuff in the settings and are under the impression that these will automatically move with your program then you are mistaken, they are not part of the program, they are in a separate file!!!
Variables are in run-time Memory only, setting you want to persist you have to save to a file.
What you should be looking at is a Cloud solution.
This way you could move your program around or login from different places and access your files from where ever without having to copy the files to each PC as the files live in the Cloud.
Please Mark your Thread "Resolved",  if the query is solved & Rate those who have helped you
-
Sep 23rd, 2014, 09:02 AM
#2
Thread Starter
Junior Member
Re: Anyway of adding a file to my program and saving it inside of it
Ik they aren't variables. But they act in the exact way. So how about you drop the ******* subject. You have some misconceptions too.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|