OpenNETCF problem

G

glenn

I know this group is not for this but have gotten more answers here than
anywhere else so figured I'd ask...

I have a new Dell Axim x50v and I have an application designed for the PDA
that runs on every PDA I've installed it on. However, when running it on
this unit I receive the following error message:

TypeLoadException
Could not load type
OpenNETCF.Drawing.ContentAlignment
from assembly OpenNETCF.Drawing...

Do you have any ideas what might be causing this?

Thanks,

glenn
 
T

Tim Wilson

At what point are you getting this exception? Have you hooked up your Dell
Axim x50v device, deployed through VS.Net, and stepped through with the
debugger to see what line is causing this?
 
G

glenn

It receives error before any user interface items ever display... its pretty
quick...

And for the other question, I did not even know I could do that as I"m new
to this compact Framework stuff. Where can I find info on how to do that
and I'll do it and see where its dying...

thanks,

glenn
 
T

Tim Wilson

To debug, connect your device to your development machine through
ActiveSync, load the solution for the application in VS.Net 2003, ensure
that your configuration is set to "Debug" (you should see this on the tool
bar), set a breakpoint on the InitializeComponent call in the main form
constructor, and then run the application and step through each line to see
where the exception is thrown.
 
G

glenn

Thanks,

I do not have the device in my physical possesion at the moment as a
customer has it and I was remoting into his machine from my office. So
running the debug directly will not be possible until this weekend when I am
with him at a trade show but if anyone has any suggestions in the mean time
I'm all ears...

Thanks,

glenn
 
T

Tim Wilson

Post back when you get a chance. You may want to uninstall and reinstall the
SDF (V1.2) on the device and see if that helps. But it may be a deeper issue
in this case.
 
G

glenn

Yes, we've already done that a number of times. I'll get back with you on
Friday when i get the device in my hands... Thanks anyway...

glenn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top