Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Pocket Pc Control in your Windows Program

Posted on 2007-10-08
12
Medium Priority
?
222 Views
Last Modified: 2013-11-17
I'm wondering if this is possible.  You have a dialog off of your windows form where you check to see if any devices are available and display them in a listbox.  You select the device, and you have a left and right arrow.  When you click on arrow, it brings data down from sql express to a sql compact on the device.  When you click the other arrow, it sends data back up from sql compact to sql express.  It is a pretty simple synchronization scenario so I'm thinking this might be the easiest way for the users to do it.  

My other possible options are ActiveSync, and Mobilink, but I don't know how to execute this scenario in these either.  I'm pretty ignorant on this.  The only thing I've did before is use active sync to send programs down to pocket pc that i've written, and then they talked to the database over wireless.  

Also, could I use this same model to send the cabs down so that I can do that through the program also.  

Tony
0
Comment
Question by:picsnet
  • 6
  • 6
12 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 20040312
Your best bet is either Bluetooth or WIFI where you can create a web service to control all of your needs.
0
 
LVL 1

Author Comment

by:picsnet
ID: 20040702
that isn't anywhere close to what the question is
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 20040738
According to your approach you can only have one device connected at a time.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:picsnet
ID: 20040765
but that isn't the bulk of the question... i'm wanting information about how to do stuff to a pocketpc from inside a windows program....... there is going to be no wireless connection.  i've seen people have windows programs that you open up and you can use the program to manipulate stuff on the pocket pc.... i just have no clue where to begin
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 20040807
then its limited to the one device connected via usb. Is that what you want? Yes you can do that if thats what you want.
0
 
LVL 1

Author Comment

by:picsnet
ID: 20040869
yes
0
 
LVL 1

Author Comment

by:picsnet
ID: 20040946
I'm not sure if its implied or not, but now since we've establed that is what I want to do.  

I still have no idea how to do it.  I can't eve figure out the keywords I need to google it and get anywhere close to what I'm looking for.  I know I'm probably missing the main buzz word.

Tony
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 20040985
You will need a Client\Server app for your specs.

Using this example it should cover most of the Client\Server specs.

http://msdn2.microsoft.com/en-us/library/Aa446559.aspx
0
 
LVL 1

Author Comment

by:picsnet
ID: 20041192
Well, I looked at those examples.  They are ok, but I'm not sure if either applies to what I want to do.  

The first thing I'm wanting to know is how people build those little things that let you click on a shortcut on your desktop, and it installs the cab to the pocket pc.  I like those type of installers, but I don't know how to do that.  

The second is the thing I'm trying to do is to sync a sql express database that is on the server with a sql compact database on the client.  It is with the government, so wireless isn't permitted.  The pocket pc just needs an internet connection that is not wireless.  I don't think they have ethernet ports... I don't have one with me at the moment.  I think they can get a connection when they are plugged into a desktop though...

I may be using this thing called mobilink for this, but it would be nice to just have it in their windows program, but I don't know.  

I hate to do all that tcp stuff.  I'd just like to be able to get an internet connection from the desktop, and do a query that copies that database into sql compact, and then a query to suck what is out of compact back into sql.  

I'm not sure if this is possible or not.  Am I going to have to get a datareader and pass it through tcp down to the pocket pc and back up, or even a step further and pass it as business objects or something.  
0
 
LVL 48

Accepted Solution

by:
Mikal613 earned 2000 total points
ID: 20041260
0
 
LVL 1

Author Comment

by:picsnet
ID: 20041321
thanks, i think that is pretty much exactly what i need..... the only thing i need to find out now is whether i have to redesign the tables in sql compact to match what is in sql express, or if i can bring that down automatically somehow
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 20041363
I bleieve There is an Export\Import option.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month11 days, 10 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question