Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

vb.net - wbxml converter

Posted on 2013-01-24
4
Medium Priority
?
431 Views
Last Modified: 2013-02-07
hello there,
I downloaded a c# source demo for converting xml>wbxml or wbxml>xml.
when I start the app it looks like everything is fine until i try to convert..
can someone tell me whats wrong with my project?
I have included a zip file with source.. let me know, thanks
WBXmlConvert.zip
0
Comment
Question by:XK8ER
  • 2
  • 2
4 Comments
 
LVL 84

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 total points
ID: 38817913
Is you question why is doc a null object when called

 Dim input As String = textBox2.Text.Trim()
       doc.LoadXml(input)
        textBox1.Text = byteArrayToString(doc.GetBytes())
0
 
LVL 1

Author Comment

by:XK8ER
ID: 38817918
nothing happens when I try to encode or decode.. my question is why?
0
 
LVL 84

Expert Comment

by:David Johnson, CD, MVP
ID: 38818152
I ran your code in a debugger and got an exception on the line in question that I pointed out.
0
 
LVL 1

Author Comment

by:XK8ER
ID: 38820320
okay so what needs to be changed?
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question