Login
Search   Moderators Wanted: If you're interested please send your portfolio to info[at]itechforums.com
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,
Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2009, 03:05 PM
Neilyo That Blind KEK Neilyo That Blind KEK is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2  
Old 09-26-2009, 03:09 PM
master_of_cars11 master_of_cars11 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 09-26-2009, 03:12 PM
LoverOfWine LoverOfWine is offline
Member
 
Join Date: Feb 2009
Posts: 66
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-01-2010, 04:02 PM
seoasia seoasia is offline
Junior Member
 
Join Date: Jan 2010
Posts: 26
Default

you just add the text box to add new entries for wages. and modifying the coding as according to your requirement.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you know how to data mine in Visual Basic? violet Visual Basic 0 05-06-2008 06:00 PM
Visual Basic 6.0 disable control-alt-delete in simple form? VBc0d3rnoob Visual Basic 1 05-06-2008 05:00 PM
Visual Basic Data Types..? Harsh Visual Basic 3 05-06-2008 04:31 PM
how to moving between form in visual basic.net? nienosash Visual Basic 1 05-06-2008 01:44 PM
how can i sort data in visual basic 6.0? 081 rap Visual Basic 0 05-06-2008 09:33 AM

Your Ad Here

All times are GMT. The time now is 03:33 AM.