|
-
Mar 31st, 2010, 11:22 PM
#1
Thread Starter
New Member
importing xml file into TreeView window
I am working on a project that opens xml files into a TreeView window. I am able to import xml files into my window by using the following code...
Private Sub Form_Load()
Dim sFile As String
sFile = App.Path
If Right(sFile, 1) <> "\" Then sFile = sFile & "\"
sFile = sFile & "menu.xml"
XMLOnTreeView TreeView1, sFile
End Sub
The problem I'm having is that I need the name of the xml file to be a variable so that I can use an OpenFile from my menu to import any xml file that the user would like. Any assistance would be very appreciated. thanks,
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
|