using shell()

Discussion in 'Questions (Windows Mobile)' started by Put Claude, Dec 25, 2007.

  1. Put Claude

    Put Claude Active Member Licensed User

    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
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    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))
     
  3. Put Claude

    Put Claude Active Member Licensed User

    Hi Erel,

    Thanks
     
Loading...