Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Pass variables to programm

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-20-2008, 12:31 PM
MM2forever's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 103
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default Pass variables to programm

How can I pass a variable to a b4p programm?
I think i should do it over a command line parameter but the programm should be running all time and not just been launched and stopped everytime.

I also dont want to do it over registry or files who are checked constantly

Thanks for your help
__________________
Regards, Christian

Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 02:29 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

You could do this with the Network library. The running program implements a Server object and occasionally checks the Pending property. The program that wants to send the information implements a Client and connects to the server when required.

An example is here http://www.basic4ppc.com/forum/additional-libraries/1130-network-library.html
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 02:33 PM
MM2forever's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 103
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

That sounds great, I hope it works with my version!
__________________
Regards, Christian

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPcBank v1.00 Finanzmanager-Programm Filippo Share Your Creations 30 04-30-2009 09:00 PM
Pass Text into other application at current cursor position...? TWELVE Questions (Windows Mobile) 9 12-05-2008 10:52 AM
Programm in VGA + QVGA ? Paulsche German Forum 0 09-11-2008 02:09 PM
PPcBank v1.00 Finanzmanager-Programm Filippo German Forum 2 02-19-2008 07:56 PM
Dim-ing variables colin9876 Questions (Windows Mobile) 8 11-17-2007 05:47 PM


All times are GMT. The time now is 09:14 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0