Click to See Complete Forum and Search --> : Need Help
wiadus
Mar 18th, 2007, 09:18 PM
I made an VB.Net with sql db app for someone and now he is asking me to convert it, so that he can use it on his windows mobile 5.0 divice and infact I have no clue in mobile development, even how to start the problem, so I would be most grateful if any of you could help me. I have the following install on my pc.
VS.net 2005
SQL server 2005 express edition
SQL server 2005 compact edition
Windows mobile 5.0 SDK
Windows Activesync 4.5
Morever I would like to know if is possible to debug the app to see how it is, like windows app.
jmcilhinney
Mar 18th, 2007, 09:31 PM
Just create a new project, select a mobile app as the type and start developing, just as you did before. If everything you've used is available in the Compact Framework then you can create the app exactly as you did before. Otherwise you will have to find alternatives and workarounds for the functionality that isn't supported.
IamMacro
Mar 19th, 2007, 04:17 AM
I asked this question before , but im developping an application for Pocket PC2003 ,CF2.0.. In Visual Studio , so with these settings im able to run this program on a PDa with Windows Mobile 5.0 ? I have to be sure. =x
edit : Im pretty sure it will work now , i downloaded the windows mobile 5.0 SDK from the microsoft website and my program is emulated by it without any problems.
wiadus
Mar 19th, 2007, 05:44 AM
Just create a new project, select a mobile app as the type and start developing, just as you did before. If everything you've used is available in the Compact Framework then you can create the app exactly as you did before. Otherwise you will have to find alternatives and workarounds for the functionality that isn't supported.
Thanks. Jim, i have try it by adding few buttons to a form thgough without any code i just wanted to see how it will look like but when I try to debug it a new dialogbox open and I chose windows mobile 5 pockect pc imulater and the next buttos were deploy or cancel so i click on deploy and had deploying error message, when i click continue the next error was the device is not connected. so I would be most gratteful if you could help me on how I could debug and see how the form would look like since IU have to debug and see how the programme is works. Moreover I would like to know if I could attach sql server 2000 db to sql server compact edition and how. thanks
petevick
Mar 19th, 2007, 08:37 AM
Hi,
what error message did you get trying to deploy.
You can access SqlServer 2000/2005 using the SqlClient namespace, and you can use SqlCE on the device using SqlServerCe namespace.
Article on the former here (http://www.devbuzz.com/content/zinc_sqlclient_remote_sql_server_pg1.asp) and the latter here (http://samples.gotdotnet.com/quickstart/CompactFramework/).
Pete
Shaggy Hiker
Mar 19th, 2007, 11:24 AM
Also, take a look around in the mobile dev forum here, to see some of the other issues you will want to be aware of when moving to a PDA environment. Using panels vs. Forms is one of the biggest issues, screen size is another.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.