Solved

VB6 Port to CE

Posted on 2006-11-03
7
309 Views
Last Modified: 2010-04-30
I need to port a VB6 app over to windows CE.  Currently, we run the app under W2000 and XP.  We are migrating to an embedded version running on Windows CE.    How difficult is this (I have zero experience with CE) - ie how much recoding? 10%, 90%?  The app is a basic GUI and file I/O stuff.

The app currently relies on a DLL for some RS232 I/0.  Can CE run Windows 2000/XP DLLs?  Or can we also look forward to recoding the DLL?

Thanks.




0
Comment
Question by:adorenbaum
  • 2
7 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 63 total points
Comment Utility
It can be pretty difficult considering the differences in code.  Any Windows ocxs/dlls that you rely upon are not going to be available to you on CE.  So, yes, you would need to recode your RS232 dll.

It may actually be easier to port your code to a .NET Windows application, and then port that over to a .NET Smart Device application.
0
 

Author Comment

by:adorenbaum
Comment Utility
How would a  .NET Smart Device port help us.  What OS does a  .NET Smart Device sit on?  XP embedded (XPe)?
0
 
LVL 28

Expert Comment

by:AzraSound
Comment Utility
I believe the .NET Smart Device Extensions support even the older PocketPc OSes...not completely sure though.

The only reason I suggested it is because there are utilities that are supposed to convert old VB6 programs to VB.NET syntax.  They're not perfect, but they may be sufficient enough to save you time from doing a complete rewrite.  Then, once its into its VB.NET form, it is in much better position to move to the SDE environment since they utilize the same development environment and language.  Old eVB is basically VBScript, plus if you use any APIs, all those must be ported to the handheld API, if there is even a similar one.
0
 
LVL 10

Assisted Solution

by:sakuya_su
sakuya_su earned 62 total points
Comment Utility
yes emebedded visual basic(eVB) is rather limiting, depending on what your application uses(ie what controls you have on the form etc), the minimum you will need to allow for is 50-80% recode. infact just about anything outside of algorithms and functions (Excluding those that uses API) needs to be recoded
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now