Re: How to start a process on the desktop from the Pocket PC?



Ok, so nobody responded to my original post probably b/c this has been
posted several times in this group. So I did a little digging and I
found some very helpful posts (which I have used) by many people
including: Chris Tacke, Peter Foot and others.

But...I still need some help.

This is what I need to do:

1) Synchronize the CE database when they place pocket pc in the
cradle.
2) Then AFTER the databses have been synched, I want to run a desktop
application to process the data in the SQL server database.

So what I did was...

1) Use the CERunAppAtEvent on the NOTIFICATION_EVENT_RS232_DETECTED to
fire off a pocket pc application that synchronizes the CE database to
the Desktop.
2) Then I used the Registry Based Notification (AutoStartOnConnect) to
register my desktop application with active sync to be fired off when
a connection is detected.

Both of these steps worked on there own but the problem is that the
synchronization of the CE Databse takes about 30 seconds - 1 minute
and the desktop application gets fired off b/f the databases haved
synched up.

How can I fix this? Did I miss a step?

Can I fire the desktop app from my pocket pc app using:
"CreateProcess("AppName", "", IntPtr.Zero, IntPtr.Zero, 0, 0,
IntPtr.Zero, IntPtr.Zero, si, pi)"? I tried that but it didn't work.
Do I need to register the app on the ppc?

Sorry if there is a simple solution. I am new to handhelds and using
the registry (and I guess .NET :) )

Oran


.



Relevant Pages

  • Re: How to start a process on the desktop from the Pocket PC?
    ... to auto-start a desktop app that creates a socket to the device app and then ... listens for a "Done" message on that socket. ... Synchronize the CE database when they place pocket pc in the ... Do I need to register the app on the ppc? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: 3 Security questions
    ... > This is in the CE database. ... You just need to register some other app to run ... > on an RS232 cable event. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Portable Database Choice
    ... I searched this group quite a bit looking for database alternatives and did find the options below from this search. ... I'm posting this in the hope it can be of use to other developers in a position similar to mine where I needed a low cost alternative to Pocket Access. ... One app requires synchronization between desktop and mobile device, the other requires a push of data from the desktop to mobile. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Accepting Bids on Web application programming Development contract
    ... Real Estate Multipliable Listing Service Web application. ... customer as pkzip or tar ... Register function common specs ... time you search the real estate record database for the ...
    (freebsd-questions)
  • Re: Portable Database Choice
    ... > database alternatives and did find the options below from this search. ... One app requires ... > push of data from the desktop to mobile. ... > Both of these apps used Pocket Access on the device with Peter Foot's ...
    (microsoft.public.dotnet.framework.compactframework)