Solved

vb.net - wbxml converter

Posted on 2013-01-24
4
415 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 80

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 80

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

829 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