How to Convert Visual Basic 6 project include data forms (the basis by the wizard) to the Visual

How to Convert Visual Basic 6 project include data forms (the basis by the wizard) to the Visual Basic .Net 2005 Pocket PC ?

Please publish a SAMPLE.

[157 byte] By [DY] at [2007-12-16]
# 1

You mean Visual Studio 2005 Standard or higher (PPC development is not supported in the Express editions) and you mean a PPC2003 or higher (.NET Compact Framework 2.0 is not supported on earlier PPCs).

You are going to have to do a lot of manual work to get there so be prepared for it.

Open your VB6 project with Visual Studio 2005. The conversion wizard will take you part of the way but not all the way. You will be left with a whole bunch of warnings and errors. Nobody can fix them for you, you have to fix them yourself. Use the VB newsgroup or forum to get help on specific topics.
http://forums.microsoft.com/msdn/default.aspx?ForumGroupID=10
http://groups.google.com/group/microsoft.public.dotnet.vb.general

Once you get that compiling *and* running (depending on the size of your VB6 project this could take from days to months), then you must create a new Smart Device project and add the code files from your dot net desktop project to it and deal with a further bunch of errors (since now you are targeting the limited compact framework and not the full framework). Use these forums and the newsgroup to get help on that.
http://forums.microsoft.com/msdn/default.aspx?ForumGroupID=11
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework

Once you have the project compiling int he Smart Device Project, you now have to redesign your screens because of course they will not fit, plus cater for different user input methods and other platform specifics, summarised here:
http://www.danielmoth.com/Blog/2005/01/desktop-to-ppc-part.html

When you've done that, you can now debug the application on your PPC or the emulator and deal with any runtime errors.

So:
Rather than go through the pain above, I suggest you look at what your application does from an external/user's point of view, and start coding it from scratch in VS2005. It will probably take less time and result in cleaner code.

Good luck!

Cheers
Daniel

DanielMoth at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices General...