Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Save to file each item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Save to file each item

 Post Reply Post Reply
Author
Message
XpatTech View Drop Down
Groupie
Groupie
Avatar

Joined: 26 November 2007
Location: United Kingdom
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote XpatTech Quote  Post ReplyReply Direct Link To This Post Topic: Save to file each item
    Posted: 20 April 2010 at 12:40pm
What i need to do is iterate through each category and save out each item within each category.


Layout of PropertyGrid...

Server
..........Server
..........Username
..........Password
..........Path to file
Custom
..........Name Custom Command1
..........Name Custom Command2
..........Name Custom Command3
..........Name Custom Command4
Configuration
..........Name Config1
..........Name Config2
..........Name Config3
..........Name Config4

All i need to print are the child/items which follow the .......... to a text file/string or array.

Its just the iterating through thats giving me a headache.




Product: Xtreme SuitePro (ActiveX) version 12.0.2
     Platform: Windows Vista Ultimate (32bit) - SP 1
     Language: Visual Basic 6.0
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 20 April 2010 at 2:52pm
Hi,
 
I attached sample how you can easely iterate (recursive) through categories.
 
 
Hope this helps
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
XpatTech View Drop Down
Groupie
Groupie
Avatar

Joined: 26 November 2007
Location: United Kingdom
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote XpatTech Quote  Post ReplyReply Direct Link To This Post Posted: 20 April 2010 at 3:21pm
Aaron, that was so close to what i needed that even i figured it out. Took about 2 min to get exactly what i wanted.
Your code was brill, thank you very much.


Product: Xtreme SuitePro (ActiveX) version 12.0.2
     Platform: Windows Vista Ultimate (32bit) - SP 1
     Language: Visual Basic 6.0
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.