473,508 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remote DB connecting and simple newb walkthroughs in WinMobile 6 SDK

31 New Member
I realize how I'm going about this is somewhat odd. I have to construct a program for windows mobile that only sends a couple queries to a remote MySQL server and hopefully gets some success/fail returns.
(I've got VS2008 pro and the winmobile SDKs)

The 2 problems I have:
1) I'm very well versed in C++, and I know a little C#. I managed to compile some simple winmobile programs, but I'd be more comfortable grabbing a couple of walkthroughs or easy how-tos for relative beginners on creating winmobile apps, because I know zero in-depth. I can't seem to find ANY how-tos though. I found some videoconferences on MSDN, but that was it.

2) I know this sounds preemptive, but it's just my way of learning. I also can't find a good resource that explains connecting remotely to a server. Since this is the biggest function of the program, I'd love to find a site or page that addresses any potential issues with connectivity and how to do it. I found a little on MSDN, but it didn't help a whole lot.

If anyone could direct me to any links or any other resources I would very much appreciate it.
Oct 29 '08 #1
4 1846
markmcgookin
648 Recognized Expert Contributor
Hi,

First off, don't worry about not being able too fnd stuff, you have to dig around for ages to find anything on MSDN.

I think what you are looking for is some kind of proxy stub where you have a function on your device that goes and gets a small amount of data, then the user does something that might require more data dependant on a selection, so your app then querys for that data etc....

I happen to use Nokia Intellisync to handle this kind of operation myself, but unless you want to set up a server and install intellisync mobile suite (no you don't) you need another option.

EntitySpaces have something like this you can find them here www.entityspaces.net which makes life a lot easier.

Mark
Oct 30 '08 #2
Cyprus106
31 New Member
Well I'm wondering two things: first off, I'm really looking for links for walkthroughs / how-to's that give at least SOME in-depth VC examples for winmobile.

Second, is there no native component that can connect to a remote DB? If there is, is there any sort of walkthrough or sample project or how-to that gives a little insight?

Thanks!
Oct 30 '08 #3
markmcgookin
648 Recognized Expert Contributor
Well I'm wondering two things: first off, I'm really looking for links for walkthroughs / how-to's that give at least SOME in-depth VC examples for winmobile.

Second, is there no native component that can connect to a remote DB? If there is, is there any sort of walkthrough or sample project or how-to that gives a little insight?

Thanks!
Hey,

Tolga Birdal has posted this on the codeproject.

Is that what you are looking for? This is something that a lot of experienced developers can struggle with. Remote Data Objects aren't really "newb" territory, please keep us informed of your progress so we/you can help others, and feel free to ask back if you have any more issues/questions.

Hope that helps,

Mark
Oct 31 '08 #4
Cyprus106
31 New Member
For future reference or searchers...

In the end, I followed my first inclination and simply wrote a php script and placed it on my remote server that caught POST data and uploaded it to the server. This was actually much faster (not to mention much more secure, since you're not letting just anyone hop on to your server). For the mobile side, I used WebRequests to access the php page remotely, and put the post data in a byte array. Then I simply got the datastream response and the php page, which echoed a number corresponding to a status (i.e. -1 fail 0 pass, etc.) There's quite a lot of examples & data out there on WebRequest.

Technically, all I actually did was create a really simple web service.
Nov 5 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1591
by: Gita George | last post by:
What is the best way to control, from a VB .NET program, another apllication, for example a Windows service, written also in VB .NET, that has no user interface. The purpose is to create an user...
5
2369
by: bill | last post by:
I am having difficulties connecting to a remote Sql server database in VB.net. Lets say my remote server is found at 255.255.255.255 and its name is MyServer. The database is called MyDatabase....
9
2687
by: RvGrah | last post by:
After much hair-pulling, I've finally found the answer to a problem that many are fighting with, difficulty connecting from Sql 2005 Server Management or VS2005 to a remote Sql Server running Sql...
3
5725
by: Me LK | last post by:
I did a search but could not find an aswer that worked so here it goes. I just did an upgrade from 2003 to vs 2005 express. I am using a remote sql server 2000. I specifically upgrade to make...
1
1213
by: =?Utf-8?B?UmVkZHk=?= | last post by:
When I create an websit in VS2005 and run it then it is running on the port and it is connecting to remote sqlserver. But when I create Virtual directory in IIS and try to run my website it is not...
1
9202
by: malooga | last post by:
Hello, I'm having a problem connecting to DB2 on a remote iSeries host from a Linux server, both of which reside on my company's internal network. I'm using the IBM Linux Client V9.1. When I try...
0
1983
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
5
3529
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
3
2202
by: Cyprus106 | last post by:
I'm doing some geolocative work and do not, as of yet, have a map that I'm using in winmobile 6 SDK. I'd like to sync a map with some points up in the winmobile app. I'm wondering who knows where I...
0
7118
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5625
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.