Solved

vb.net - wbxml converter

Posted on 2013-01-24
4
407 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 78

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 78

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now