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.

Possibility of transfering variable value from one EXE to other EXE.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-16-2008, 09:10 AM
Senior Member
 
Join Date: Mar 2008
Location: Dhaka, Bangladesh
Posts: 164
Default Possibility of transfering variable value from one EXE to other EXE.

Hi,

I have divided an application into two EXE and want to transfer a variable value from the first EXE to the second EXE. The EXE runs sequentially. Is it possible to do so? I tried using the "Shell" command, may be with incorrect syntax.

In the program I used the same global identifier named "gv" to transfer the variable value from EXE to other.

Attached are what I tried.

regards,
Attached Files
File Type: sbp prg1.sbp (1.9 KB, 10 views)
Reply With Quote
  #2 (permalink)  
Old 10-16-2008, 09:33 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can only use Shell when one process launches the other one.
It is a little bit more complicated if both processes already run.
See this example: http://www.basic4ppc.com/forum/code-...k-library.html
Reply With Quote
  #3 (permalink)  
Old 10-16-2008, 02:30 PM
Basic4ppc Veteran
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 295
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Erel View Post
You can only use Shell when one process launches the other one.
It is a little bit more complicated if both processes already run.
See this example: http://www.basic4ppc.com/forum/code-...k-library.html
Hmm... I didn't know you had an example already... I build the same thing from scrach..

Good way to learn though
Reply With Quote
  #4 (permalink)  
Old 10-16-2008, 02:38 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

Read post #3 here for another "Shell" type idea http://www.basic4ppc.com/forum/basic...g-modules.html
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
passing a module name as a variable Cableguy Questions (Windows Mobile) 4 10-24-2008 09:47 AM
Possibility of "Close event" of DataTimePicker mozaharul Questions (Windows Mobile) 2 10-15-2008 06:06 AM
Dim variable c% as Double colin9876 Basic4ppc Wishlist 8 05-28-2008 01:26 PM
Table Filter variable with apostrophe JamesC Questions (Windows Mobile) 5 04-04-2008 02:55 PM
LoadCSV from a variable nsidney Questions (Windows Mobile) 7 01-30-2008 01:29 AM


All times are GMT. The time now is 02:44 AM.


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