Solved

vb.net - wbxml converter

Posted on 2013-01-24
4
417 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How our DevOps Teams Maximize Uptime

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

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 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