Some VB Questions

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
marcmarteleira





Posts: 137
Joined: Sun Jan 30, 2005 7:32 am
Location: Mississauga

Some VB Questions

Post 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
Signature exceeded 500x120 pixels.
Kirk




Socialist Snitch! Mad Hatter

Posts: 6031
Joined: Wed Jan 21, 2004 10:54 pm
Location: Alaska

Post by Kirk »

Can't you just open XML files in notepad?
Image
marcmarteleira





Posts: 137
Joined: Sun Jan 30, 2005 7:32 am
Location: Mississauga

Post 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?
Signature exceeded 500x120 pixels.
marcmarteleira





Posts: 137
Joined: Sun Jan 30, 2005 7:32 am
Location: Mississauga

Post by marcmarteleira »

**bump**
Signature exceeded 500x120 pixels.
Jefff




Socialist Miner Logistician Snitch!
Critic Droplet

Posts: 244
Joined: Sun Oct 24, 2004 5:59 pm

Post 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>
kaptainkommie




Wordewatician 500

Posts: 732
Joined: Wed Nov 26, 2003 11:59 pm
Location: Raleigh, NC, USA

Post by kaptainkommie »

Jeff's solution will definately fix the problem.
Post Reply