Need to change to xml....help

  • 13 years ago

    Not sure how to do this can anyone help....

     Here is a bit of sample code that i need changed to xml, if anyone can help me with this i can figure the rest out.  Thanks

     

    Dim cmdline As String()

    cmdline = Split(Command$, ",")

    Dim server, db, user, password, printer, report As String

    server = cmdline(0)

    db = cmdline(1)

    user = cmdline(2)

    password = cmdline(3)

    printer = cmdline(4)

    report = cmdline(5)

    Me.ConfigureCrystalPackingSlip(server, db, user, password, printer, report)

     

  • 13 years ago

    Please help me out.....This is the code i have in my vb.net application....i just need it in XML instead...probably very easy just need to see it done on this chunk of code and i can handle the rest in my project.....please advise very important.....

  • 13 years ago

    At the moment, you're saving your values into variables. Can you not just construct your XML as a string? 

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Java is to JavaScript what Car is to Carpet.” - Chris Heilmann