Results 1 to 7 of 7

Thread: Win CE 5.0

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    92

    Win CE 5.0

    Can I run VS 2005 VB .NET apps on handheld devices that run WIN CE 5.0?
    VS 2005 .net, SQL Server

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

    Re: Win CE 5.0

    Not the full VB.NET, you need to use the VB.NET CF (Compat Framework). It is a slightly stripped down version of the full set. Of course, the UI is so different that most of the design will change anyways.
    My usual boring signature: Nothing

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    92

    Re: Win CE 5.0

    Ok, but I can still develop the CF apps with VS 2005?
    VS 2005 .net, SQL Server

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

    Re: Win CE 5.0

    Absolutely.
    My usual boring signature: Nothing

  5. #5
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Win CE 5.0

    Slightly stripped down?

    Ok - I guess you can say that

    Many, many methods are removed in the CF - you need to code around them manually. The VS Help file indicates with a "mobile" icon what methods are available to the CF.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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

    Re: Win CE 5.0

    The more I work with it, the less stripped down it appears, though you do have to be creative in how you think about controls. Behind the scenes, I have yet to find something I couldn't live without...

    ..hmmm....that's not right, it's not that I didn't find things I wasn't looking for...I found things I was looking for....no...that's not it either.....oh to Hack with it, I got it done.

    The key to controls in the CF, in my opinion, is that much of the functionality from the full version has been removed, so you have to be a bit creative in layering controls on controls to get the features you want. For example, if you want a button with a different color, you could subclass Control, or you could simply use a panel with a label on it instead. The panel would respond to click events and you can paint the backcolor, while you can paint the forecolor of the label (but not the backcolor of the lable, nor does the lable respond to click events as it does in the full version).

    You can make remarkably complex controls in this fashion. One of my controls has three layers of simple controls stacked onto it in some places, and only two in other places.
    My usual boring signature: Nothing

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    92

    Re: Win CE 5.0

    Thanks for the responses guys. I am not totally in the dark, I have written a handful of CF apps in VS 2003 to run on WIN CE 4.2 .NET. But the new devices my customers are ordering will have WIN CE 5.0. I am just trying to cover my bases that when they show up and I am asked to develop on them, I don't get a shocker that you can't do that with WIN CE 5.0.
    Sounds like I should be fine.
    Steve
    VS 2005 .net, SQL Server

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