Can a PocketC application open other appliations

Discuss PocketC for CE (including Desktop Edition)

Postby Wilko on Mon Apr 30, 2001 9:28 pm

Is it possible to get a PocketC application to open up another appliation of the Palm-sizes PC such as the Note Taker, or an MP3 player. Also is it possible to get a PocketC application to jump straight to the "File, Send To, Infrared Recipient" in the Note Taker.
Thanks
James
Wilko
 
Posts: 2
Joined: Thu Apr 19, 2001 8:48 am

Postby guy on Tue May 01, 2001 6:07 am

Yes you can open another application, use the exec() function.

Getting the application to then do something is more difficult. You can do it if you have access to the complete Windows CE API, I don't think you can do it directly from PocketC. It's possible that you could do it with the keyevent() function, but I don't know at what level that operates. It depends on whether it's internal to the PocketC application.


Guy
Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom

Postby Justinespinosa on Tue May 01, 2001 6:23 am

To send file throw the IR port, you don't need to use notetaker.

do like this:
send:
exec("open","\\windows\\irsquirt.exe",full path to the file);
recieve:
exec("open","\\windows\\irsquirt.exe","");

J.Espinosa

OUTS Softwares
J.Espinosa

OUTS Softwares
Justinespinosa
 
Posts: 156
Joined: Wed Dec 06, 2000 2:30 pm
Location: Switzerland

Postby Wilko on Tue May 01, 2001 6:33 am

Thanks a lot
Wilko
 
Posts: 2
Joined: Thu Apr 19, 2001 8:48 am


Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 5 guests

cron