aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1331

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1331  Can you build a Program Launcher using iziBasic ?

18/12/2005 @ 20:25
by Will_3

Anonymous



How can you use iziBasic to...
- launch another program...
- and then when it is done...
- return to the iziBasic program?

This is more or less what a Palm "Launcher" does and I understand there are some 3rd party launchers out there.

So, how would one go about building a "Launcher" using iziBasic?

What iziBasic statements would launch the other Application?

How would you assure that program control returned to your iziBasic program launcher when the other Application was done?

thanks for any comments.
  Post an answer  Top

[]   


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 1
--------
19/12/2005 @ 00:55
by Ktimaster

Anonymous

visitor
Take a look at this page... It was written using about 95% iziBasic and 5% Pascal... It is a launcher that has an extreamly Crisp and Modern look. The author khertan is an active user of iziBasic and this forum. However this is NOT an opensource Peoject... Much like vziBasic (Which was also written with iziBasic).
http://aldweb.com/thread.php?lng=en&pg=7445&fid=5&cat=80
Write to Ktimaster   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 2
--------
19/12/2005 @ 02:15
by Will_3

Anonymous

visitor
Ktimaster,

Thanks for the reference but I really need to learn how do this...

I'm not trying to create a general purpose launcher... this is for a special application.

So, if you or anyone else has any code snippits to share that would get me started down the right path that would be great.

thanks.
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 3
--------
19/12/2005 @ 04:06
by Ktimaster

Anonymous

visitor
Are you wanting to make a launcher to run a list of Specific Programs? If thats so... I think I can assist you with that
Write to Ktimaster   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 4
--------
19/12/2005 @ 04:22
by Will_3

Anonymous

visitor
Well, the Palm will be running our program... and occasionally it will want to run or call another application(s)

So we need to know how to call up another application... sorta like a launcher does... and when it ends return program control to our application... until we need to re-call the same program or another program.

Do you have some code sinppits that may give us an education and a quick start?

thanks.
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 5
--------
19/12/2005 @ 13:16
by aldweb

Anonymous

visitor
Hello Will,

To launch a 3rd party program from within your iziBasic application, you may want to use the RUN statement.

To come back from the 3rd party program to your application is up to this 3rd party program to launch your application using some similar statement to iziBasic's RUN statement.
Or, you may trick the system and ask it to launch your application whenever it just came back from some or any 3rd party application (like launchers do), but this will require more "low level" (meaning, accessing Palm OS APIs) coding, using PP for instance.

Cheers,
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 6
--------
19/12/2005 @ 13:37
by Will_3

Anonymous

visitor
Aldweb,

That sounds like what we need to do...

1 - Didn't I read that iziBasic and PP work together to some degree?

2 - To access the Palm OS APIs with PP must I get the PP compiler or will iziBasic do limited PP compiling?

thanks for the help.

  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 7
--------
19/12/2005 @ 14:33
by aldweb

Anonymous

visitor
1 - Yes. iziBasic can launch some PP code modules (so called "PP applets", see the user manual...), sending some information (string format) to the PP module and retrieving some information (as string too) when the PP module exits and execution is returned to the iziBasic program.

2 - You must get the PP compiler (freeware), here: http://www.ppcompiler.org/

There are examples of how to deal with the "PP applets" in the iziBasic ZIP package.

Cheers,
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 8
--------
19/12/2005 @ 17:54
by Ktimaster

Anonymous

visitor
And when I am done with my High-Level Scripting language that will allow low-level programming... You will use it with the same CALLPP$­­( command that you use for PP
Write to Ktimaster   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 9
--------
21/12/2005 @ 18:38
by aldweb

Anonymous

visitor
Ktimaster,

I can hardly wait to give a try to your very promising tool...

Cheers,
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n 10
--------
21/12/2005 @ 20:15
by Khertan

Anonymous

visitor
Hi ...

There are two way to do what you want ...

- The first one is to launch application (in pp) with a SysAppLaunch, Your application is not closed and the launched application run in front ... so when the launched application ends ... your application are in front.

- The second is to register your application as the default launcher... but in this case ... the default palm launcher will not be avaible to the user and if it crash ... it s crash ...

to do this under pp :
PrefSetPreference(prefLauncherAppCreator, 'Your');

Replace Your by your application launcher creator ...
Write to Khertan   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^