|
-
Nov 28th, 2000, 11:13 AM
#1
Thread Starter
Addicted Member
Is there a way to save the contents of a form, example,
if the user create a control at runtime, then i want to save those controls to load them later, is there a way to do it?
Thanks in advance!
-
Nov 28th, 2000, 11:25 AM
#2
Frenzied Member
open any form.frm in notepad, it will give you an idea!
-
Nov 28th, 2000, 11:42 AM
#3
Hyperactive Member
If I understood your question you want to keep track of how many controls you have loaded during runtime and reload them the next time you run the app . You can save some strings that contain the name , loacation , and other information in a file or the registry . add read it during the next time you run the app .
Visual Basic 6 SP4 on win98se
QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!
-
Nov 28th, 2000, 11:59 AM
#4
Fanatic Member
This code shows you how to loop trough all the controls in a form.
Code:
'loop trough all controls
For Each Control In Controls
'print some info about the control to the debug window
Debug.Print Control.Name 'the name
Next
-
Nov 28th, 2000, 12:29 PM
#5
Thread Starter
Addicted Member
Thanks!!
Thanks a lot, you guys rock!!!
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
|