|
-
Nov 29th, 2007, 04:30 PM
#1
Thread Starter
New Member
Visual Basic program not running on iPAQ, need help
I'm terribly frustrated with my program.
I've written it in Visual Basic using Microsoft Visual Studio 2005, and it looks fine. It compiles fine. It works fine. Using these instructions, I've made a CAB file usable on mobile devices (the "test subjects" are a pair of HP iPAQs, although I've tried it also on my friend's Windows Mobile-friendly device), and after upgrading to .NET Framework 2.0, it installs fine.
But it won't run.
What I mean is, I click on the icon in the Start menu, and it gives me the little sonar scope "I'm working on it" animation. Forever. Left alone, it will do nothing until it runs out of batteries. If clicked, the illusion that it's actually going to run is dispelled, and the animation abruptly ends. I tried running it while the "current applications" window was up, and it doesn't appear there. It just plays the little sonar animation, and as I already said, I'm terribly frustrated with it.
Is there something I'm missing? Is there a component or event or form that doesn't work on mobile devices? Is there something missing from .NET Framework 2.0 that doesn't like Visual Studio 2005? It's maddening, and by all rights this should have worked by now, but doesn't.
Getting the nitpicking out of the way:
Yes, there's enough memory to run it.
Yes, there's enough space to install it.
Yes, it installs correctly, without any (visible) errors.
I'm sorry if this seems terse, but deadlines and unresponsive hardware are not friends of mine. Can anyone help?
Thank you.
-
Nov 29th, 2007, 04:59 PM
#2
Thread Starter
New Member
Re: Visual Basic program not running on iPAQ, need help
Well, I can no longer say it does nothing when left alone. Giving it a quick test run on my iPAQ for old time's sake, I come across this error message after ~5 minutes of letting it sit:
File or assembly name 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089', or one of its dependencies, was not found.
Anyone care to shed some light on this?
-
Nov 29th, 2007, 05:14 PM
#3
Fanatic Member
Re: Visual Basic program not running on iPAQ, need help
is this an application you have developed or have you received a CAB file and are trying to install it?
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Nov 29th, 2007, 05:17 PM
#4
Re: Visual Basic program not running on iPAQ, need help
Did you develop this using an emulator?
Have you tried running it to the device from the IDE? If you do that you can debug it properly.
I've had some truly nasty deployment issues with Ipaq's - but currently have my PPC app running on about 40 of these devices quite nicely.
-
Nov 29th, 2007, 05:38 PM
#5
Thread Starter
New Member
Re: Visual Basic program not running on iPAQ, need help
 Originally Posted by Strider
is this an application you have developed or have you received a CAB file and are trying to install it?
I developed it myself, then turned it into a CAB file using the direction at the link above.
 Originally Posted by szlamany
Did you develop this using an emulator?
I had assumed that Visual Studio 2005's "Debug" mode was using an emulator of some kind; if I'm wrong, how can I do this?
 Originally Posted by szlamany
Have you tried running it to the device from the IDE? If you do that you can debug it properly.
I sure durn wish I knew how to do that. =) Maybe I've bitten off more than I can chew, here...
-
Nov 29th, 2007, 11:57 PM
#6
Frenzied Member
Re: Visual Basic program not running on iPAQ, need help
Hi,
connect the device, change your output in VS2005 to the device, and hit run - it will deploy and run on the device.
You sure you are not using any desktop dll's in this app?
-
Nov 30th, 2007, 05:08 AM
#7
Re: Visual Basic program not running on iPAQ, need help
When you created the project you must have told it that it was a mobile project (I don't have the IDE in front of me right now - so how that is worded might be a bit different).
At any rate - on the left side of one of the top-line tool bars is a drop down list that allows the IDE to run the app against either the device itself or an emulator. Do you see that drop down??
-
Nov 30th, 2007, 05:25 AM
#8
Thread Starter
New Member
Re: Visual Basic program not running on iPAQ, need help
Thanks, all.
Whew... This is going to take a lot of retooling, but at least it'll work!
-
Nov 30th, 2007, 07:17 PM
#9
Re: Visual Basic program not running on iPAQ, need help
Another reason I prefer to ALWAYS debug on hardware rather than the emulators.
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|