Welcome to the iTechForums.
If this is your first visit, be sure to check out the
FAQ by clicking the link above.
You may have to
register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
|
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 4
Members:
Number of Users Online:
Welcome to our newest member, |
|
 |

09-26-2009, 03:05 PM
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 1
|
|
Saving data entered in a form on a Visual Basic .exe?
Saving data entered in a form on a Visual Basic .exe? I have made a Wage Calculator on Visual Basic, which calculates wages of a certain person, and I am going to soon add a feature that lets you add new people and their wages (overtime and normal) to a list, but I don't know how I can make it able to save once the application is closed, hence making this useless.
Anyone know how I can save it in the .exe?
|

09-26-2009, 03:09 PM
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 1
|
|
If you want to save a/multiple textbox's text then click on the textbox on the design and at Properties go to Data under that, you will see (ApplicationSettings), click on it and click on (PropertyBinding), click on the button with the ... on it. A window pops up, go to Text and create a new application setting.
|

09-26-2009, 03:12 PM
|
|
Member
|
|
Join Date: Feb 2009
Posts: 66
|
|
You cannot save it within the exe itself because that is a binary file. If you try to modify the file it will be corrupted and may not execute. There are 2 approaches you can use.
1) save the information to a file in the current user's appdata folder
2) save the information into the registry, in the HK Current User\Software area under your application name.
You will have to save on close and read when the application loads.
|

02-01-2010, 04:02 PM
|
|
Junior Member
|
|
Join Date: Jan 2010
Posts: 26
|
|
you just add the text box to add new entries for wages. and modifying the coding as according to your requirement.
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
All times are GMT. The time now is 03:33 AM.