Running the Application on the Emulator

G

Guest

I want to run an application .NET compact framework ) on the emulator. I did
everything that the link
http://msdn.microsoft.com/mobility/...artDeviceProjects.asp#grfvsdcommandlinelaunch
says. I was able to copy the cab file and pasted it in the Emulator. But,
when I run the application(.exe) on the emulator, I got this "Cannot find
the application (Or one of its components). Make sure the path and filename
are correct and all the required libraries are available ". When I deploy the
same application ( the same cab file into the actual device) it works. Could
any please help me to have the application run on the emulator ?

Thanks!!
MT
 
G

Guest

Hi,

I forgot to mention that I don't want to use the ActiveSync with the
emulator. Please let me know if anybody has any suggestions.

-MT
 
G

Guest

Hi MT!!

Try running your application from the Visual Studio (debug mode). That
usually installs all the libraries and little extra stuff that your program
requires.

Please note that most of the times you'll need to start your
application twice since typically the first time fails due to connection
issues (there are a bunch of articles about this, and in a nutshell it is a
time-out thing in the communications layer due to the emulator's speed).

If debugging is not an option, make sure you first install the .NET cab
(and the SQLCE cab if applicable).

Good Luck!!!

Tarh Ik
 
G

Guest

Hi Tark,

I tried everything like installing the cab. Noting worked out. I am
getting the same message. Running the application from the visual studio
(debug mode) is straight forward. That's waht I did for testing the
application. But now I want to have my application run on the emulator
independent from Visual Studio, like how we install the application in the
device and run. The same tim eI don't want to ue the active Sync, since If
we want to use the Active Sync , we should have two serial ports in our
system. But I have only one.

Thanks for the reply.

-MT
 
G

Guest

Hi, there,

I'm having the same problem as you have. I wonder if you have got the anser
yet ot not.
Basically, I'm trying to launch an application with the emulator without
using the .NET VS.
The purpose of this is to do the demonstration or training.

I've been able to launch the emulator and install the application from the
deployment site.
I've seen the application icon appeared after the installation. But when I
click the icon, it
says "Cannot find the application (Or one of its components). Make sure the
path and filename are correct and all the required libraries are available."

Could you please let me know if you have resolved your issue?
Regards,
Robert
 

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