Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / May 2008

Tip: Looking for answers? Try searching our database.

Windows CE 5.0 .NET Framework

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tmoraes - 23 May 2008 16:55 GMT
Anybody Could help me?

I try to run one aplication with Visual Visual Studio 2005 with .NET Compact
Framework 2.0 forms application for Windows CE 5.0, but when i run my program
in my device, my device say : This application requires a newer version of
the Microsoft .NET Compact Framework than version installed on this device.

Anybody could tell me How i can do to see my version of .NET Framework in my
device in Windows CE 5.0, and what can i do to run my apllication in my
device?

I try to run a simple apllication (Hello World).
Paul G. Tobey [eMVP] - 23 May 2008 17:04 GMT
Your program was built against .NET CF 2.0 Service Pack X (1 or 2), not 2.0,
it would appear.  You can use 'cgacutil' on the device to see what version
of the framework is there.  If the .NET CF 2.0 is on the device and your
program requires 2.0SP2, say, you must have 2.0SP2 or later installed on the
device.

Paul T.

> Anybody Could help me?
>
[quoted text clipped - 12 lines]
>
> I try to run a simple apllication (Hello World).
tmoraes - 23 May 2008 18:17 GMT
ok thanks!!!!
My device uses Microsoft .NET Compact Framework 1.0.
I did one prgram in Visual Studio 2005 with a superior version that my device.
I don´t know what Service Pack  my program uses. I don´t know whow can i see
it.
I´m sorry it´s because i´m started now in this programs and i´m confuse in
some problems about thot things.
Do you know how i change this .NET Framework in Visual Studio?

> Your program was built against .NET CF 2.0 Service Pack X (1 or 2), not 2.0,
> it would appear.  You can use 'cgacutil' on the device to see what version
[quoted text clipped - 20 lines]
> >
> > I try to run a simple apllication (Hello World).
Paul G. Tobey [eMVP] - 23 May 2008 18:30 GMT
Well, you can edit the project file.  There's been some recent traffic on
this topic, which you can find by searching the archives using GoogleGroups.
There's a thread called Downgrade to CF 2.0 that has some information about
it.

http://groups.google.com/group/microsoft.public.dotnet.framework.compactframewor
k/topics


It's easy to go from 1.0 targeting to 2.0 targeting (there's a menu option),
but, of course, going backward is not as easy (and may not work, since you
might be using features of the 2.0 framework that don't exist in 1.0).  Of
course, you could change the version of the .NET CF in your device, too.

Paul T.

> ok thanks!!!!
> My device uses Microsoft .NET Compact Framework 1.0.
[quoted text clipped - 36 lines]
>> >
>> > I try to run a simple apllication (Hello World).
tmoraes - 23 May 2008 18:44 GMT
Do you know what can i do to change my .NET Compact Framework in my device, i
think that change my .NET CF is more better.

> ok thanks!!!!
> My device uses Microsoft .NET Compact Framework 1.0.
[quoted text clipped - 29 lines]
> > >
> > > I try to run a simple apllication (Hello World).
Paul G. Tobey [eMVP] - 23 May 2008 18:51 GMT
Huh?  Install the new framework, of course.  If you are the device builder,
change the OS configuration and build a new one.  If not, get the
redistributable .NET CF package of whatever version you want to use from
www.microsoft.com/downloads and install it (or, better, ask the device
vendor what to do).

Paul T.

> Do you know what can i do to change my .NET Compact Framework in my
> device, i
[quoted text clipped - 43 lines]
>> > >
>> > > I try to run a simple apllication (Hello World).
tmoraes - 23 May 2008 20:11 GMT
all right now everything is fine.
Problem solved!!!
Thanks!!!

Do you know anything command to list what devices are connected in my system
in my device?
for example what COM port my GPS system is connected.

regards...
Thanks
Thiago

> Huh?  Install the new framework, of course.  If you are the device builder,
> change the OS configuration and build a new one.  If not, get the
[quoted text clipped - 51 lines]
> >> > >
> >> > > I try to run a simple apllication (Hello World).
Paul G. Tobey [eMVP] - 23 May 2008 20:37 GMT
If you think about that question, how would a serial port know what it's
connected to?  That is, how would it distinguish between being connected to
a PC running HyperTerminal and being connected to a GPS?  No, unless it's
using the GPS intermediate driver and that can tell you.

Paul T.

> all right now everything is fine.
> Problem solved!!!
[quoted text clipped - 73 lines]
>> >> > >
>> >> > > I try to run a simple apllication (Hello World).
tmoraes - 23 May 2008 21:57 GMT
I have one board with GPS and this board uses Windows CE 5.0, and i need to
know what COM port my device is connected, you know?

Paul, i installed 2.0 .NET CF, but when i turn off my system, a older
version return to my system, i think that when i install the new version the
program don´t install in flash memory. What can i do about this?

Thanks.

> If you think about that question, how would a serial port know what it's
> connected to?  That is, how would it distinguish between being connected to
[quoted text clipped - 80 lines]
> >> >> > >
> >> >> > > I try to run a simple apllication (Hello World).
Paul G. Tobey [eMVP] - 27 May 2008 16:49 GMT
I understand, but there's no way to tell, unless there's something like the
GPS intermediate driver, which is configured by the user or the device
vendor, and therefore knows which port has GPS on it.  So, my suggestion
would be to ask the user of your program what port has GPS on it, either
every time, or during an initial configuration phase.

Presumably that's true.  This is a device/OEM issue.  If the device is not
designed with persistent storage/registry, you can't fix it; the device OEM
has to do that.  Contact them to find out what you should do.

Paul T.

>I have one board with GPS and this board uses Windows CE 5.0, and i need to
> know what COM port my device is connected, you know?
[quoted text clipped - 99 lines]
>> >> >> > >
>> >> >> > > I try to run a simple apllication (Hello World).

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.