Application that has to the lease start ounce
Application that has to the lease start ounce
Application that has to the lease start ounce
Application that has to the lease start ounce
Application that has to the lease start ounce
Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce
Application that has to the lease start ounce Application that has to the lease start ounce
Application that has to the lease start ounce
Go Back  Xtreme Visual Basic Talk > > > Application that has to the lease start ounce


Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2009, 07:57 PM
andy38 andy38 is offline
Regular
 
Join Date: Sep 2005
Posts: 52
Default Application that has to the lease start ounce


H1, Using VB Net (2005, Access (2003) in Windows Forms, I have this app that Has many forms and one of those is a Setup Option Form, like the title say it is For setting up different options i.e tax option single tax or 2 taxes (Gst and Pst) Tax value, ect. Those parameters need to be set at the instalment but can be reset at any time after. Since this Setup Option Form is not the main form. I am
Wandering how do I set that up so ounce I have at least run the Setup Form it does not run the next time I start the app unless ask to and by the same token Knows to start the main program. Most of those parameters are already set in My.Settings but I still need to run at least ounce Setup Option this is where I block so if someone has knowing plz let me know will appreciate very much.
Reply With Quote
  #2  
Old 05-21-2009, 08:19 PM
webbone's Avatar
webbone webbone is offline
Hydrogen Powered

Administrator
* Expert *
 
Join Date: Jul 2003
Location: Sacramento, CA
Posts: 6,090
Default

If you have a file (i.e. .INI or data file, etc.) where you store these settings, you can have a flag in the file that indicates whether it has been updated or not - in the original distribution of your program the file will have the flag set indicating it hasn't been updated.

When your program runs, it needs to load the settings - part of that operation will be to check the flag to see if the file has been updated, and if it hasn't then you can open the setup form and update the file accordingly.

Be sure to remember to change the flag once you write the new settings to the file!
__________________
"With the appearance of the AddressOf operator, an entire industry has developed among authors illustrating how to do previously impossible tasks using Visual Basic. Another industry is rapidly developing among consultants helping users who have gotten into trouble attempting these tasks." -Dan Appleman
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Application that has to the lease start ounce
Application that has to the lease start ounce
Application that has to the lease start ounce Application that has to the lease start ounce
Application that has to the lease start ounce
Application that has to the lease start ounce
Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce Application that has to the lease start ounce
Application that has to the lease start ounce
Application that has to the lease start ounce
 
Application that has to the lease start ounce
Application that has to the lease start ounce
 
-->