Results 1 to 6 of 6

Thread: VB Application in pocket PC

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2004
    Posts
    151

    VB Application in pocket PC

    Hi,

    I have created a program in windows form, if I want to use the program in my pocket PC, what should I do?

    Thanks,

    NewBie

  2. #2
    Frenzied Member ntg's Avatar
    Join Date
    Sep 2004
    Posts
    1,449
    Hi,

    You need to start a smart device application (assuming VS.Net 2003) and port your code in that project.

    Cheers,
    NTG
    "Feel the force...read the source..."
    Utilities: POPFileDebugViewProcess ExplorerWiresharkKeePassUltraVNCPic2Ascii
    .Net tools & open source: DotNetNukelog4NetCLRProfiler
    My open source projects: Thales SimulatorEFT CalculatorSystem Info ReporterVSS2SVNIBAN Functions
    Customer quote: "If the server has a RAID array, why should we bother with backups?"
    Programmer quote: "I never comment my code. Something that is hard to write should be impossible to comprehend."
    Ignorant quote: "I have no respect for universities, as they teach not practicle stuff, and charge money for"

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2004
    Posts
    151
    Hi,


    I have application which is not in smart device application , when I attached the project into this smart drive application, it returns a lot of errors, example, some coding does not support in smart drive application, is it any solution that you could provide?

    Thanks,
    NewBie

  4. #4
    Frenzied Member ntg's Avatar
    Join Date
    Sep 2004
    Posts
    1,449
    That was to be expected. Simply creating a smart dev app and attaching your existing app won't cut it, you need to re-engineer your original app into a new smart dev app. It's only natural that parts of the original functionality isn't supported if you're coding for a Pocket PC - you simply have to re-engineer.

    Cheers,
    NTG
    "Feel the force...read the source..."
    Utilities: POPFileDebugViewProcess ExplorerWiresharkKeePassUltraVNCPic2Ascii
    .Net tools & open source: DotNetNukelog4NetCLRProfiler
    My open source projects: Thales SimulatorEFT CalculatorSystem Info ReporterVSS2SVNIBAN Functions
    Customer quote: "If the server has a RAID array, why should we bother with backups?"
    Programmer quote: "I never comment my code. Something that is hard to write should be impossible to comprehend."
    Ignorant quote: "I have no respect for universities, as they teach not practicle stuff, and charge money for"

  5. #5
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036
    Hi

    The Pocket PC applications are based on the .Net Compact Framework.

    Regards
    Jorge
    "The dark side clouds everything. Impossible to see the future is."

  6. #6
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106
    Don't expect to be able to simply port programs into PocketPC or WindowsCE platforms, especially if the program has forms. The size of the screen alone pretty much insures that such a port would either look or feel like crap.

    I've been doing a fair amount of this during the last summer. When I started out, I tried to make the PDA version look like the desktop version. That was a BAD idea. The screen is much smaller, the input is almost entirely click driven (and it should be!), and the aspect is greatly different. Also, the compact framework is just that: compact. There is much that has been removed (and a few things that look like they are still there, they just don't work).

    Writing for the PDA is not like writing for a desktop, and you shouldn't think of it that way. Porting probably acts as a particularly misleading crutch. Write new!
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width