|
-
Sep 7th, 2007, 06:36 AM
#1
Thread Starter
Member
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
-
Sep 7th, 2007, 07:21 AM
#2
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 .
-
Sep 7th, 2007, 08:02 AM
#3
Frenzied Member
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.
-
Sep 7th, 2007, 09:32 AM
#4
Thread Starter
Member
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
-
Sep 7th, 2007, 09:35 AM
#5
Frenzied Member
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
-
Sep 7th, 2007, 11:18 AM
#6
Thread Starter
Member
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...
-
Sep 7th, 2007, 12:02 PM
#7
Frenzied Member
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
-
Sep 9th, 2007, 06:25 PM
#8
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|