Solved

VB6 Port to CE

Posted on 2006-11-03
7
321 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
ID: 17871558
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
ID: 17871960
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
ID: 17873998
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
ID: 17875406
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBS file using code from 2nd file (txt or vbs) 4 36
vb6 connector to SQL Server 2 37
Hide vba in gp 7 93
Advice in Xamarin 21 78
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

813 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

14 Experts available now in Live!

Get 1:1 Help Now