473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Windows CE .NET

Hi,

I wrote an VB.NET application for the .NET 3.0 framework. Now I want to try it on a Windows CE client. How do I get the .NET framework for Windows CE 5.0, since .NET 3.0 doesn't support CE? Is it possible? Is .NET for CE free like the others?

Thanks,
Matt
Apr 4 '08 #1
10 3151
Plater
7,872 Expert 4TB
Windows CE uses something called the "Compact Framework"(CF). Currently I *believe* it is only up to 2.0 (roughly the same as .NET2.0). You can download it from microsoft for free.
If you have a Windows CE device, you will need to make sure it has a version of CF on it. If it does not have CF on it, you are probably out of luck since it needs to be built into the image.
You will also generally need the SDK for the Windows CE device, these would be provided (probably not for free) from the manufacturer.
If you had a board from CompuLab that ran on an Arm, you would probably have an SDK that says like "Compulab PXA27x Dev Platform: ARMV4I_Release".
You would need to pick that when creating a new project.
Apr 4 '08 #2
Thanks for your reply. So I found the .NET CF for CE. I downloaded 3.5 and pushed down the NETCFv35.wce.armv4.cab to the CE client. I installed it and it looks like it installed fine. But when I startup my app I get a "File or Assembly name Microsoft.Visual Basic version = 8.0.0.0" and so on "Not found". Any ideas?
Apr 7 '08 #3
Plater
7,872 Expert 4TB
VB 8.0.0 = .net2.0 (or possibly CF2.0).
Did you create/compile your project as a "smart device" project?
Apr 7 '08 #4
Thanks.

I tried 2.0, but got the same error.

My application is a straight windows app that uses a .dll that I created. Is there a compile flag or option I can turn on or do I have to create a new "smart device" project?
Apr 7 '08 #5
Plater
7,872 Expert 4TB
Hmm. I have a little bar up top of my visual studio where i pick what to compile as.
Pretty sure you need to start a new project (and copy/paste in) to use the different device compilations.
Apr 8 '08 #6
Ok. So I created a new project for windows CE and copied my code over. I now have CF 3.5. But many of the .NET 3.0 methods that I used are either named differently or are not available in the CF 3.5. Is there an easy way to convert this code that I created with .NET 3.0 to use the CF 3.5, are am I just out of luck? Is there maybe a newer version of CF that will support these methods of 3.0? I understand that many methods used in .NET 3.0 aren't needed for CF because they are only intended for PC use, but many of these methods that I get errors on I would think we be supported?

For instance....
Dim socketStream As SslStream

Is SSL not supported with CF?

There are many others
Apr 8 '08 #7
Plater
7,872 Expert 4TB
I would guess no. MSDN will show you what functions/properties/methods/classes/etc are supported in CF by showing a picture of palmpilot-y phone.
There is almost nothing on crypto-related stuff in CF that I have seen. I find it's better to start in CF and build up. Almost all of what you do is directly supported in regular .NET that way.
Apr 8 '08 #8
That's what I suspected. Thanks again for your help
Apr 9 '08 #9
How about a DLL written in VB6. Will that have any problems the Windows CE platform? Are there special steps to get that to work?
Apr 29 '08 #10
Plater
7,872 Expert 4TB
That I am unsure of. I am pretty sure you have a smaller set of Win32_APIs to work with and the VB6 DLL will be machine code so in all likelyhood it will not work. (Like running a windows binary on a linux system).
Could try it though?
Apr 30 '08 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
7
by: lvpaul | last post by:
Hallo ! I am using IIS-Windows-Authentication in my intranet (web.config <authentication mode="Windows" /> <identity impersonate="true" /> How can I get the users (client) IP-Address ? I...
7
by: Tyler Foreman | last post by:
Hello, I have a strange problem that occurs every so often in my application. It usually takes place when I hide one form and activate another. What happens is I get the following exception:...
1
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
0
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server -...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
2
by: sambo251 | last post by:
After running a few updates I get this very annoying "Windows Installer" error #1706 that will ne go away! It keeps saying that it cannot find the file "instantsharedevices.msi", that it is on...
1
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.