Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


using shell()


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-25-2007, 05:11 PM
Knows the basics
 
Join Date: May 2007
Posts: 85
Default using shell()

Hi,

How to use Arguments in
Syntax: Shell (Program File, Arguments)
Can I use Arguments in the Program File?
Are there some examples?

Put Claude Belgium
Reply With Quote
  #2 (permalink)  
Old 12-26-2007, 05:22 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,956
Default

Example - Opens Internet Explorer with Basic4ppc site:
Code:
Shell("iexplore.exe","http://www.basic4ppc.com")
Note that if you have spaces in your arguments you should add quotes:
Code:
Shell("iexplore.exe",chr(34) & "http://www.basic4ppc.com" & chr(34))
Reply With Quote
  #3 (permalink)  
Old 12-26-2007, 08:41 AM
Knows the basics
 
Join Date: May 2007
Posts: 85
Default

Hi Erel,

Thanks
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
shell and email BjornF Questions & Help Needed 4 07-03-2008 10:19 AM
Shell command J12345T Questions & Help Needed 2 06-08-2008 09:49 AM
Shell and wait Erel Code Samples & Tips 0 03-26-2008 03:14 PM
Shell Wizarda2z Questions & Help Needed 3 08-05-2007 07:56 AM
Shell tvrman Questions & Help Needed 3 07-30-2007 01:20 PM


All times are GMT. The time now is 07:48 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0