Results 1 to 12 of 12

Thread: [2008] vb.net 2008 on hand held comp.

  1. #1

    Thread Starter
    Hyperactive Member kuldevbhasin's Avatar
    Join Date
    Mar 2008
    Location
    Mumbai, India
    Posts
    493

    [2008] vb.net 2008 on hand held comp.

    hi guys.
    i am using vb.net 2008 and would like to know that what changes i would have to make if i want to use it on a hand held computer ? i am not a big expert in vb but have learnt a lot from this forum.

    pls. guide me
    thankx a lot..

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: [2008] vb.net 2008 on hand held comp.

    You will be using the .NET Compact Framework (CF) to write for mobile devices. The CF has most, but not all, of the features you find in the full .NET version, which can present a few challenges for you. The major issue, though, is the small screen. You will have pretty nearly all the tools you are used to, and most of the controls, but you have to rethink all interfaces based on the size of the screen and the input options. If you are writing for a touch screen device, then you would want to use buttons, that are as large as possible, and minimize the requirement to enter text directly. You probably ought to consider using many panels on a form, and swapping panels into and out of the view area rather than switching forms. The reason for this is that switching forms takes much longer on a mobile device, which makes for a painful interface. Swapping panels into the view area takes almost no time.

    Those are the biggest issues.
    My usual boring signature: Nothing

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2008] vb.net 2008 on hand held comp.

    Shaggy Hiker didn't mention this explicitly and I'm not sure whether you're aware or not but you must create a specific type of project to begin with to create an application for a mobile device. You can't just edit an existing Windows Forms project, or certainly not simply anyway. As far as I'm aware, VB Express doesn't support mobile development so you'll need to be using a full version of VS.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [2008] vb.net 2008 on hand held comp.

    When you say "hand held comp" are you referring to a PDA / Windows Mobile device (which is what Shaggy Hiker and jmcilhinney were referring to) or a Netbook which is a small, mini laptop that can run Windows?

    If you meant a Windows Mobile device then they're correct, you have to use a special Windows Mobile project. While jmcilhinney states you need the full version of VS to develop mobile applications (which is true if you want to use the IDE), you can do it without it and compile via the command line but it's a real PITA.

    If you were referring to a netbook then just treat it like any other computer; you don't need to do anything else.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  5. #5

    Thread Starter
    Hyperactive Member kuldevbhasin's Avatar
    Join Date
    Mar 2008
    Location
    Mumbai, India
    Posts
    493

    Re: [2008] vb.net 2008 on hand held comp.

    thankx for ur help. i dont know how to explain hand held comp. its the device that mand a salesman have spl. on gas station where they fill ur car and give u instant bill on the spot i dont think its a pda coz its a bit bigger than a pda. i will try and get a pic of the device and upload it for explanation. sorry for not being clear..
    i am using vb.net 2008 prof. edition
    thankx a lot for ur help.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2008] vb.net 2008 on hand held comp.

    Quote Originally Posted by kuldevbhasin
    thankx for ur help. i dont know how to explain hand held comp. its the device that mand a salesman have spl. on gas station where they fill ur car and give u instant bill on the spot i dont think its a pda coz its a bit bigger than a pda. i will try and get a pic of the device and upload it for explanation. sorry for not being clear..
    i am using vb.net 2008 prof. edition
    thankx a lot for ur help.
    All you need to determine is what operating system it's running. Is it XP or Vista? If so then you just create a standard Windows Forms app. Is it Windows Mobile? If so then you need to create a Smart Device app. The actual hardware is irrelevant. Only the OS matters because that what determines what version of the Framework gets installed.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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

    Re: [2008] vb.net 2008 on hand held comp.

    You might also see Windows CE, which falls into the Windows Mobile category, but has a few other characteristics.
    My usual boring signature: Nothing

  8. #8
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [2008] vb.net 2008 on hand held comp.

    Quote Originally Posted by Shaggy Hiker
    You might also see Windows CE, which falls into the Windows Mobile category, but has a few other characteristics.
    To expand on this, Windows Mobile is currently based on Windows CE (Windows CE 6 is the latest version but Windows Mobile 6.1 is based on Windows CE 5; confusing, heh?).

    As far as I know you can't do Windows CE development in Visual Studio but you can develop for Windows Mobile.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  9. #9
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2008] vb.net 2008 on hand held comp.

    Quote Originally Posted by kasracer
    As far as I know you can't do Windows CE development in Visual Studio but you can develop for Windows Mobile.
    Haven't checked VS 2005 but in VS 2008 creating a Smart Device project lets you target Pocket PC 2003, Windows CE, Windows Mobile 5.0 Pocket PC SDK and Windows Mobile 5.0 Smartphone SDK.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  10. #10
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [2008] vb.net 2008 on hand held comp.

    Quote Originally Posted by jmcilhinney
    Haven't checked VS 2005 but in VS 2008 creating a Smart Device project lets you target Pocket PC 2003, Windows CE, Windows Mobile 5.0 Pocket PC SDK and Windows Mobile 5.0 Smartphone SDK.
    Hmm... maybe I'm thinking of unmanaged applications? Not sure but that at least clears it up a little for me. Thanks.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  11. #11
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: [2008] vb.net 2008 on hand held comp.

    I was able to target Win CE 4.21 with vb 2003. It was a pda witn an integrated barcode scanner and none of that 'Mobile / Pocket' skins. The plain CE is much better, faster and looks like the real Windows with a desktop, start button, windows explorer etc.
    VB 2005, Win Xp Pro sp2

  12. #12

    Thread Starter
    Hyperactive Member kuldevbhasin's Avatar
    Join Date
    Mar 2008
    Location
    Mumbai, India
    Posts
    493

    Re: [2008] vb.net 2008 on hand held comp.

    thankx for being a great help. i am going to visit the devloper of the system in a couple of days. now i would b in a better position to ask him what all would b needed. i didnt even know what to ask. it was like i would have to fly a space craft when i dont know to drive a car. lol...thankx a lot u guys for being such a great help. as soon as i get the details i would get back to trouble u more....thankx a lot

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