Alpha Video Training
Results 1 to 4 of 4

Thread: running another application from xbasic button

  1. #1
    Member
    Real Name
    ed taylor
    Join Date
    May 2000
    Location
    calgary alberta canada
    Posts
    552

    Default running another application from xbasic button

    hi:

    i want to open a communications program "C:\PROWIN2\PW2.EXE" from a button on a form. could someone please point me to where this would be in the manual? i tried file.open("C:\PROWIN2\PW2.EXE") and get an "invalid arguement number" error.

    thanks in advance,

    ed

  2. #2
    "Certified" Alphaholic
    Real Name
    Tom Cone Jr
    Join Date
    Apr 2000
    Location
    Florida
    Posts
    23,313

    Default RE: running another application from xbasic button

    Ed,

    sys_open()

    -- tom

  3. #3
    Volunteer Moderator drgarytraub's Avatar
    Real Name
    Dr. Gary Traub
    Join Date
    May 2000
    Location
    Boca Raton, FL
    Posts
    2,784

    Default RE: running another application from xbasic button

    Hi Ed,

    Try this:

    dim filename as c
    filename="C:\PROWIN2\PW2.EXE"
    sys_shell(filename,1)

    Gary

  4. #4
    Member
    Real Name
    ed taylor
    Join Date
    May 2000
    Location
    calgary alberta canada
    Posts
    552

    Default RE: running another application from xbasic button

    hi:

    a big thank you tom and gary!

    best regards,

    ed

Similar Threads

  1. A5 Email client under button in Application
    By mronck in forum Alpha Five Version 5
    Replies: 2
    Last Post: 08-17-2004, 08:31 AM
  2. Running Operations From Xbasic
    By Steve Andrews in forum Alpha Five Version 5
    Replies: 8
    Last Post: 07-16-2004, 08:53 AM
  3. Running Actions from a Button
    By GregOnline in forum Alpha Five Version 4
    Replies: 4
    Last Post: 05-28-2002, 09:04 AM
  4. Xbasic run in editor -v- Xbasic run from button
    By Colin Goss in forum Alpha Five Version 4
    Replies: 7
    Last Post: 01-11-2002, 06:59 AM
  5. xbasic syntax for running operations?
    By William Perry in forum Alpha Five Version 4
    Replies: 2
    Last Post: 04-25-2000, 05:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •