![]() |
Property Grid ActiveX and database |
Post Reply ![]() |
Author | |
zwdhm ![]() Newbie ![]() Joined: 26 October 2004 Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() Posted: 28 October 2004 at 10:53pm |
I want to use data in database to initial Property Grid ActiveX. Can someone give me an example?
|
|
![]() |
|
zwdhm ![]() Newbie ![]() Joined: 26 October 2004 Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() |
Hello! SuperMario! Can you show me a small program? I want to use data in database to initial Property Grid ActiveX. |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Have you looked at the bind sample? I would load your data from
the database into some variables and bind them to propertygriditems
like the sample. What type of database are you using?
|
|
![]() |
|
zwdhm ![]() Newbie ![]() Joined: 26 October 2004 Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() |
Thank you! I have seen the example. I want to use database to save my setting, and load these setting to property grid when the program is launched next time. Can you give me some advice? I do not want to make it cost to much resources.
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
I don't think performace will be an issue. Are you using Access?
|
|
![]() |
|
zwdhm ![]() Newbie ![]() Joined: 26 October 2004 Status: Offline Points: 26 |
![]() ![]() ![]() ![]() ![]() |
I don't know whether I need to distribute something to support Access if I use it. Can I just use *.txt file to save my settings?
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
I suppose you could use any method you wanted to save your
settings. Just a matter of reading and writing to the text
file. What settings are you looking to save?
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |