Results 1 to 7 of 7

Thread: My first VB.Net Mobile Application

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2005
    Posts
    11

    My first VB.Net Mobile Application

    I am looking for a tutorial, webcast or good book on developing VB.net applications for the Pocket PC. I am especially interested in using Pocket PC version of SQL Server and syncing the data with SQL Server. I am new to programming and have ben teaching myself VB.Net Windows Applications.

    Any assistance will be appreciated.

    Dan

  2. #2
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: My first VB.Net Mobile Application

    two places to check out for that is devbuzz and opennetcf

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,043

    Re: My first VB.Net Mobile Application

    Two books I have are:

    SQL Server CE Database Development with the .NET Compact Framework by Rob Tiffany.

    Also, The Definitive Guide to the .NET Compact Framework by Larry Roof and Dan Fergus.

    The first one does a fairly good job of talking about SQL Server CE (as one might expect), and I tend to go to it as a SQL syntax reference. The second one wanders over many different topics. I have used it for several topics, some of which it covers in greater detail than others.

    Basically though, the .NET CF is much like the regular .NET, with the major differences being in how you design a program to work on a PDA. The first book goes into a fair amount of style issues, and makes one really useful suggestion for PDA programming: Forms suck! They are too slow to load on a PDA for a good interface. The solution, as described in the book, is to put all of your screens into panel controls, and swap panels in and out of view. This works really well, and has the appearance of forms without the load cost of forms. For that alone, the book was worth it....but now you know, so you need some other reason to buy it.
    My usual boring signature: Nothing

  4. #4
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: My first VB.Net Mobile Application

    i have found the best way to use forms is to have a controller class which creates an instance(Singleton Pattern) of each form while the splash screen is being displayed. then pass in a reference of this controller class to each form. now you will have no loading time assosicated with swapping forms.

  5. #5
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,043

    Re: My first VB.Net Mobile Application

    That should work ok most of the time, but I wonder about it. The OS can unload resources as needed, and I would be afraid that the user would switch to other programs, and once they switched back my forms would be unloaded.

    On the other hand, the form that I have (with all the panels on it) would be larger.
    My usual boring signature: Nothing

  6. #6
    Member
    Join Date
    Feb 2005
    Posts
    62

    Re: My first VB.Net Mobile Application

    i am also developing my first mobile pc application. when i try to deploy it using the emulator, its working fine, but when i select the device (instead of emulator) in the debug dialog, its not working. its showing "system.objectdisposedexception" in the "initializecomponent" event.
    what's the proble.

  7. #7
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,043

    Re: My first VB.Net Mobile Application

    Can we assume that ActiveSynch is running properly and that the device is plugged in?
    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