[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [psusers] Calling a Windows API from a SQR.
- Subject: Re: [psusers] Calling a Windows API from a SQR.
- From: Manoj Gurjar <mgurjar@HOTMAIL.COM>
- Date: Tue, 8 Aug 2000 09:41:15 EDT
what is this ShellExecute() function? Do we have this
function in SQR?
>From: "Ivory, Wayne" <Wayne.Ivory@ILUKA.COM>
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Re: [psusers] Calling a Windows API from a SQR.
>Date: Mon, 7 Aug 2000 08:56:42 +0800
>
>Krishnan,
>
>I don't have the documentation in front of me, but I believe what the
>ShellExecute API does is open a document with the associated application.
>For example my SQR Tree utility (a Visual Basic program) contains the
>following line:
>
> r = ShellExecute(hwnd, "Open", "sqrtree.htm", "", App.Path,
>SW_SHOWNORMAL)
>
>This way whatever browser is installed on the local machine will execute.
>
>Hope this helps.
>
>Wayne Ivory
>Information Services
>Iluka Resources Limited
>
>-----Original Message-----
>From: Krishnan Sarangarajan [mailto:ksaranga@ruan.com]
>Sent: Friday, 4 August 2000 23:59
>To: SQR Users (E-mail); PS (E-mail)
>Subject: [psusers] Calling a Windows API from a SQR.
>
>
>Hello Fellow Users! I would like to use a Windows API function to determine
>the exact location of any web browsers available.
>
>For example, on my PC, IEXPLORE.EXE is located in
>"C:\Program Files\Plus!\Microsoft Internet".
>
>Currently, I am building a batch program within a SQR which is invoking the
>application. I am hard coding the path within my batch program. I can
>foresee a lot of problems with this approach.
>
>If I could call the Windows API that is used to look in the registry for
>the
>exact path, I could run this SQR on both a fat & thin client.
>
>My SQR version is 3.0.13.2. ANy help would be greatly appreciated.
>
>Sincerely,
>Krishnan
>
>Ruan Transportation Management Systems
>(515) 245-5655 [P]
>(515) 247-2065 [F]
>mailto:ksaranga@ruan.com
>
>
>--------------------------------------------------------------------<e|-
>Download iPlanet Web Server, FastTrack Edition 4.1 for FREE,
>and start publishing dynamic web pages today!
>http://click.egroups.com/1/7540/4/_/3164/_/965404758/
>--------------------------------------------------------------------|e>-
>
>To unsubscribe from this group send a blank message to
>psusers-unsubscribe@egroups.com or contact psusers-owner@egroups.com
>-------------------------------------------------------------------------
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com