Alpha Video Training
Results 1 to 5 of 5

Thread: is there a built command/function to replace this user Function?

  1. #1
    Member Graham Wickens's Avatar
    Real Name
    Graham Wickens
    Join Date
    Apr 2000
    Location
    Gloucestershire, UK
    Posts
    753

    Default is there a built command/function to replace this user Function?

    FUNCTION get_EC_info AS C (Reg AS C)
    declare shell32 ShellExecuteA LLCCLLL
    web_address = "http://www.es-aero.info/rnac/search.php?buscar="-substr(reg,4,3)-"&campo=register&orden=&primary=1&secondary=101&lng=eng"
    ShellExecuteA(0,"open",web_address,0,0,1)
    END FUNCTION

    i.e. calling a web page
    --
    Support your local Search and Rescue Unit, Get Lost!

    www.westrowops.co.uk

  2. #2
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default sys_open() ?

    Quote Originally Posted by Graham Wickens
    FUNCTION get_EC_info AS C (Reg AS C)
    declare shell32 ShellExecuteA LLCCLLL
    web_address = "http://www.es-aero.info/rnac/search.php?buscar="-substr(reg,4,3)-"&campo=register&orden=&primary=1&secondary=101&lng=eng"
    ShellExecuteA(0,"open",web_address,0,0,1)
    END FUNCTION

    i.e. calling a web page
    Not sure what "calling a web page" does.

  3. #3
    Member Graham Wickens's Avatar
    Real Name
    Graham Wickens
    Join Date
    Apr 2000
    Location
    Gloucestershire, UK
    Posts
    753

    Default

    this function loads a webpage by the URL called by this function and displays it in IE.
    --
    Support your local Search and Rescue Unit, Get Lost!

    www.westrowops.co.uk

  4. #4
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default

    Quote Originally Posted by Graham Wickens
    this function loads a webpage by the URL called by this function and displays it in IE.
    sys_open("http://www.es-aero.info/rnac") will open the indicated page. I don't have variable value in -substr(reg,4,3)- to test any further.

    sys_open("http://www.es-aero.info/rnac/search.php?buscar="-substr(reg,4,3)-"&campo=register&orden=&primary=1&secondary=101&lng=eng")

    should be what you want.

  5. #5
    Member Graham Wickens's Avatar
    Real Name
    Graham Wickens
    Join Date
    Apr 2000
    Location
    Gloucestershire, UK
    Posts
    753

    Default

    Thanks Stan, does the job nicely! :))
    --
    Support your local Search and Rescue Unit, Get Lost!

    www.westrowops.co.uk

Similar Threads

  1. Find & Replace function
    By John Cunradi in forum Alpha Five Version 5
    Replies: 2
    Last Post: 02-28-2005, 09:45 AM
  2. UDF - User Define Function
    By Kerry Jackson in forum Alpha Five Version 5
    Replies: 4
    Last Post: 07-21-2004, 08:58 AM
  3. Replace Function in Alha5v5
    By Daniel Bennett in forum Alpha Five Version 5
    Replies: 2
    Last Post: 09-02-2003, 06:58 AM
  4. vin user function
    By Mikki Tavernit in forum Alpha Five Version 4
    Replies: 5
    Last Post: 01-10-2002, 05:11 PM
  5. looking at a user defined function
    By David Longcor in forum Alpha Five Version 4
    Replies: 3
    Last Post: 01-29-2001, 07:03 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
  •