|
-
Mar 22nd, 2006, 08:53 AM
#1
Thread Starter
Member
[RESOLVED] Save data??????
Don't know if this is the right place to ask, but I have a coding problem.
I'm developing a program that starts some installationfiles. In the settings form I want the user to be able to edit the path of the installfiles. What's the right way to make the app dynamic?
1. Don't know if xml is an option in VB Express 2005? If so, how?
2. Tried to add a database to the app but it doesn't even recognize sql server 2005. Must be a config problem but don't know how to correct it.
3. Or maybe as simple as saving the info in a txt file?
Thanks in advance...
Visual Basic 2005 Express
SQL Server 2005 Express
WinXP Pro
-
Mar 22nd, 2006, 08:57 AM
#2
Addicted Member
Re: Save data??????
You could simply let the user choose the path and store that path
in a resource file.
The user could either edit the resource file without the need for the code to
be re-compiled or your program could save the changes in the resource file.
Using Framework 1.1, VB.Net 2003 unless I
state otherwise 
-
Mar 22nd, 2006, 09:13 AM
#3
Thread Starter
Member
Re: Save data??????
 Originally Posted by bgard68
You could simply let the user choose the path and store that path
in a resource file.
The user could either edit the resource file without the need for the code to
be re-compiled or your program could save the changes in the resource file.
I'd rather have a edit option form i the app. As easy as possible for the user. It must be dynamic in that sense! U know, like everyday programs we use and can edit some options within the app.
Visual Basic 2005 Express
SQL Server 2005 Express
WinXP Pro
-
Mar 23rd, 2006, 02:23 AM
#4
Thread Starter
Member
Re: Save data??????
Nobody?
Visual Basic 2005 Express
SQL Server 2005 Express
WinXP Pro
-
Mar 23rd, 2006, 02:28 AM
#5
Re: Save data??????
You can use application settings. Create a setting in the Settings tab of the Project properties and then access it via My.Settings.
-
Mar 23rd, 2006, 02:32 AM
#6
Thread Starter
Member
Re: Save data??????
If you are so kind, can you further explain how to do that. Never heard of creating a "setting" object. Maybe a link to how this works? Would really appreciate it.
Visual Basic 2005 Express
SQL Server 2005 Express
WinXP Pro
-
Mar 23rd, 2006, 02:45 AM
#7
Thread Starter
Member
Visual Basic 2005 Express
SQL Server 2005 Express
WinXP Pro
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
|