Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 18th, 2005, 12:49 AM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need help with saving and loading...[RESOLVED]

I've just started to learning VB6, and I need a bit of help. So go easy on me.

I'm making this program and I need it to save all the inputted data on the form and then be able to reloaded it later in the order it was saved. One my form there is a mixture of TextBoxes, ComboBoxes, ListBoxes, and Flexgrids.

I've done all that I can or know, and I'm not sure how to proceed. I'm hoping some one can help, I learn best from example. Here's a link to download my code and form, so you can see what I'm trying to do. I commented the code the best I could.

I know how to save and load normal TextBoxes and ComboBoxes, it's the Listboxes, Flexgrid, and the Multiline TextBoxes that have me confused.

When looking at my source code keep these things in mind:

The ComboBoxes only need to save and load the selected data, not the whole list.

For the ComboBoxes with ListBoxes only the ListBox data needs to be saved & reload later.

For the Flexgrids only the created rows need to be save and reloaded.

The MultiLine TextBoxes need to keep there formatting when saving and reloading. It can't cram everything together when it reloads the file.

The saved file must be a text file.

If you see a better way of doing something please go ahead and change it. Just remember the saved file must be a text file, and the user needs to be able to name the file.

So if anyone can help me out I would be very grateful.

Thank You.

Dumpster Tom





Similar Threads
Thread Thread Starter Forum Replies Last Post
saving and loading pictures Shira Pro VB Databases 1 March 5th, 2009 05:17 AM
"The remote name could not be resolved" teddyk ASP.NET 2.0 Basics 0 October 28th, 2008 12:49 AM
EXCEL question saving a file saving the the first macupryk VS.NET 2002/2003 0 January 6th, 2005 05:33 PM
How To avoid the SAving of toolbars while saving Hari_Word Excel VBA 6 July 26th, 2004 12:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.