Solved

vb.net - wbxml converter

Posted on 2013-01-24
4
412 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 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 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 79

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

772 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