Page 1 of 1

Some VB Questions

Posted: Tue Jun 07, 2005 11:42 am
by marcmarteleira
1) Can someone post a code to save XML files
2) Can someone post a code to open XML files
3) Can some hurry? :P

Posted: Tue Jun 07, 2005 12:07 pm
by Kirk
Can't you just open XML files in notepad?

Posted: Tue Jun 07, 2005 12:13 pm
by marcmarteleira
Yes but I am making a special tag maker.
I am having trouble with this part:
Private Sub Command1_Click()
xmltxt.Text = "<!--Halo Map Tools: Metadata Structure File--><Results><Map>Blood Gulch</Map>"<Tag>paewmetiejbo</Tag><Filename>weapons\"+""""+txtname+"""" "+"\"+""""+txtname+"""" "
End Sub
<Tag>paewmetiejbo</Tag>, It keeps saying cyntax error and shows </Tag>, I had it working before, can anyone help me out here?

Posted: Tue Jun 07, 2005 7:18 pm
by marcmarteleira
**bump**

Posted: Tue Jun 07, 2005 7:51 pm
by Jefff
marcmarteleira wrote:Yes but I am making a special tag maker.
I am having trouble with this part:
Private Sub Command1_Click()
xmltxt.Text = "<!--Halo Map Tools: Metadata Structure File--><Results><Map>Blood Gulch</Map><Tag>paewmetiejbo</Tag><Filename>weapons"+""""+txtname+"""" "+""+""""+txtname+"""" "
End Sub
<Tag>paewmetiejbo</Tag>, It keeps saying cyntax error and shows </Tag>, I had it working before, can anyone help me out here?
Try removing the " between </Map> and <Tag>

Posted: Fri Jun 10, 2005 3:36 am
by kaptainkommie
Jeff's solution will definately fix the problem.