|
-
Jul 2nd, 2007, 09:22 AM
#1
Thread Starter
New Member
Save structure to XML file - URGENT PLEASE
Hello,
i've got this structure :
Public Structure infor
Public tx As Integer 'Coordinate Top X
Public ty As Integer 'Coordinate Top Y
Public bx As Integer 'Coordinate Bottom X
Public by As Integer 'Coordinate Bottom Y
End Structure
And this variables :
Dim cuttings(50, 1000) As infor ' the cuttings in each sheet. no more than 50 sheets and no more than 1000 cuttings in each sheet
Dim pieces(50, 1000) As infor ' the pieces in each sheet
Dim wastes(50, 1000) As infor 'the wastes in each sheet
Dim no_wastes(50) As Integer 'number of wastes in each sheet
Dim no_pieces(50) As Integer ' number of rectangles in each sheet
Dim no_cuttings(50) As Integer ' number of cuttings in each sheet
And i need to save this info to a xml file to view it later... i can have from 1 to 50 pieces... how can i do it?
Someone can help me?
It kinda urgent please...
Last edited by helderpinto79; Jul 2nd, 2007 at 10:19 AM.
-
Jul 2nd, 2007, 10:54 AM
#2
Re: Save structure to XML file - URGENT PLEASE
personally I would make a class for this, then in the class you can provide a method for saving and reading the xml file of your saved data
-
Jul 20th, 2010, 08:18 AM
#3
Member
Re: Save structure to XML file - URGENT PLEASE
Hope this will help you
vb Code:
Dim xml = <?xml version="1.0" encoding="utf-8"?> <SVR_Config> <Config_code><%= "Enter any text here" %></Config_code> </SVR_Config> xml.Save ("C:\FileName.xml")
-
Jul 20th, 2010, 08:39 AM
#4
Re: Save structure to XML file - URGENT PLEASE
Moved From The CodeBank
(Thanks tg! )
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
|