Results 1 to 8 of 8

Thread: This is stupid

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2007
    Location
    Nottingham
    Posts
    53

    This is stupid

    Ok, so this is stupid... I'm failing miserably! There's all this information arond that isn't accurate or conflicts with something somebody else said and I'm just banging my head off the wall.

    So I have a HUGE favor to ask of anybody who has 10 min spare. Can somebody write me a small program in mobile 5, all I need is a little app that has a textbox on the screen and a button. When that button is clicked I need whatever value is in the text box to be copied to a local database. I'm not getting a grip on this at all...

    Once I can see an example of this I should be able to start making some progress. At the moment I'm just not getting anywhere!

    Thankyou

  2. #2
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: This is stupid

    Writing this type of application for Windows Mobile should be like writing an app for Pocket PC. See if this video doesn't walk you through it for the most part.....

    Building Mobile Apps: No Pocket PC Required!
    http://www.internet.com/video/667

    <edit> Oops - I read your post too fast. Didn't see the database part. This video won't help with that.... Sorry. I'm looking to have someone create a mobile video that shows how to do a simple database on mobile. If anyone is interested in creating that video, let me know in a PM .

  3. #3
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: This is stupid

    Hi,
    as pointed out before, possibly, there is a load of samples at http://samples.gotdotnet.com/quickst...pactFramework/

    Shows you how programatically create a new SqlCe database, and insert a record into it - sounds exactly what you are looking for, in conjunction with Brads' pointer above

    Pete
    Last edited by petevick; Sep 7th, 2007 at 08:07 AM.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  4. #4

    Thread Starter
    Member
    Join Date
    Aug 2007
    Location
    Nottingham
    Posts
    53

    Re: This is stupid

    Thanks guys, I don't know what it is about this code... I can't make head nor tail of it! I've got the book "The Definative Guide to the .Net Compact Framework" by Larry Roof which has examples in it, I STILL can't get the stupid thing to work! I'll read of that site again Petevick, I did look the last time... Honest =P I've been working in the warehouse today... So I'll check it out on the weekend and see if it's any clearer!

    Thanks again guys

  5. #5
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: This is stupid

    Hi,
    The book you have is for CF1, but it shouldn't really matter.

    how much have you worked with the full framework?

    The CF is just a stripped down version, but most of the principles still apply

    Take the database sample that does an insert, and create a project from it on your system, and get it working - then take it from there



    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  6. #6

    Thread Starter
    Member
    Join Date
    Aug 2007
    Location
    Nottingham
    Posts
    53

    Re: This is stupid

    CF1? I didn't realise there was a CF2... lol, I've played around with ASP.net but that's about it... I've been learning to program in C++ at Uni. We did a little bit of Java last year but nothing really with VB or the .net framework...

  7. #7
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: This is stupid

    Hi,
    in which case, the advice to your other question (http://www.vbforums.com/showthread.php?t=487200) applies even more.

    You need to design before attempting to code. With no real .Net experience, you are just going to go round in circles.

    Start with the samples you were pointed at, and the Video from Brad, and then take it from there.

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

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

    Re: This is stupid

    How about posting some of the code that is not working? Perhaps we could guide you from there.
    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