|
-
Nov 8th, 2008, 08:32 AM
#1
Thread Starter
Hyperactive Member
The writes/read the data from many objects to/from the file - it's very important
Hi All
I have: the form: here is 2 array of controls (lblNames(3) and lblCount(20)) as well as I have one combobox
Someone know, how I should wrote the data from many objects to a new the file and how I can such file read in the same form.
Please about the some example of code - thanks in advance for a some answers
I know, I know, my English is bad, sorry .....
-
Nov 8th, 2008, 08:42 AM
#2
Re: The writes/read the data from many objects to/from the file - it's very important
One solution is to use an INI file to store your data and later read from it.
You can loop through your control arrays and write the captions, then loop through your combo box and write the values. There is a FAQ on this forum for reading/writing INIs, including sample code.
http://www.vbforums.com/showthread.php?t=349993
-
Nov 8th, 2008, 08:45 PM
#3
PowerPoster
Re: The writes/read the data from many objects to/from the file - it's very important
Can you please post your source code on this thread, please kind sir?
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Nov 9th, 2008, 02:57 PM
#4
Thread Starter
Hyperactive Member
Re: The writes/read the data from many objects to/from the file - it's very important
ThEiMp
I'm sorry, I don't possess such code at present because I don't know how to make something like this (such code) - so.... .... I need a some help in this:
I greet
I know, I know, my English is bad, sorry .....
-
Nov 9th, 2008, 05:22 PM
#5
PowerPoster
Re: The writes/read the data from many objects to/from the file - it's very important
Okay then; You have to make a control array with those two controls. Only make the control array, loop twice in the For ..... Next loop.
I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...
|Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |
Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...
-
Nov 10th, 2008, 08:03 AM
#6
Thread Starter
Hyperactive Member
Re: The writes/read the data from many objects to/from the file - it's very important
Hi
I'm sorry ThEiMp about this I know.
I found in internet a several ways but still I don't understand several things. I noticed, that a some programmers it use API function (not all to this designed) e.g. they one it use GetPrivateProfileSection , GetPrivateProfileString, WritePrivateProfileSection and WritePrivateProfileString however other it use
GetPrivateProfileSection and GetPrivateProfileString only. Different it are create the own functions without API's.
Namely I'm this all a confused strongly. I don't know what really it's essential or fundamental in this. It lacks me also in this all, examples of writes and reading to/from many different objects.
I don't understand this all for very. I will learn willingly, but someone would me explain it?
I mean about fact such like this to do not complex code not wanted. In my opinion, code should to be a simple, effective and quick relatively.
So, still I need to help
Thanks for reply, thanks in advance
I know, I know, my English is bad, sorry .....
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
|