Home > Archive > Clarion > March 2004 > Acrobat called from Clarion 6.0
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Acrobat called from Clarion 6.0
|
|
| Mark Kromm 2004-03-26, 11:01 pm |
| I am in over my head here...
How do you setup an external call to a program on a client machine? I don't
need to pass any parameters between the two, just "Program", "File to Open"
(file to open is a variable stored in the database)
My example will be Acrobat...
If I hard code the "path\acrobat.exe filename" in an imbed it works fine,
however I do not know which version of Acrobat is being used on the client,
and therefore I can not specify a hard coded path.
Windows knows how to find the program thru the RUN button, is there a way to
access those resources?
Thanks in advance,
/\/\ark
| |
| Kingsley Klosson 2004-03-26, 11:01 pm |
| Use ShellExecute. The easiest way I know of is by using the Free Internet
Link template. Use it to call the filename implicitly and it will launch
the file using it's default application. I forgot where to get that
template but if you can't find it email me.
"Mark Kromm" <mkromm@fcc-eng.com> wrote in message
news:PxH1c.6$vQ4.2735@news.abs.net...
> I am in over my head here...
>
> How do you setup an external call to a program on a client machine? I
don't
> need to pass any parameters between the two, just "Program", "File to
Open"
> (file to open is a variable stored in the database)
>
> My example will be Acrobat...
>
> If I hard code the "path\acrobat.exe filename" in an imbed it works fine,
> however I do not know which version of Acrobat is being used on the
client,
> and therefore I can not specify a hard coded path.
>
> Windows knows how to find the program thru the RUN button, is there a way
to
> access those resources?
>
> Thanks in advance,
> /\/\ark
>
>
| |
| Mark Kromm 2004-03-26, 11:01 pm |
| This worked, Thank you.
"Kingsley Klosson" <kklosson@earthlink.net> wrote in message
news:iVH1c.32632$hm4.10195@newsread3.news.atl.earthlink.net...
> Use ShellExecute. The easiest way I know of is by using the Free Internet
> Link template. Use it to call the filename implicitly and it will launch
> the file using it's default application. I forgot where to get that
> template but if you can't find it email me.
>
> "Mark Kromm" <mkromm@fcc-eng.com> wrote in message
> news:PxH1c.6$vQ4.2735@news.abs.net...
> don't
> Open"
fine,[color=darkred]
> client,
way[color=darkred]
> to
>
>
| |
| David Troxell - Encourager Software 2004-03-26, 11:01 pm |
| In article <iVH1c.32632$hm4.10195@newsread3.news.atl.earthlink.net>,
kklosson@earthlink.net says...
> Use ShellExecute. The easiest way I know of is by using the Free Internet
> Link template. Use it to call the filename implicitly and it will launch
> the file using it's default application. I forgot where to get that
> template but if you can't find it email me.
You can use freeware or commercial SHELLEXECUTE API templates to do
this.
My recommendation!
HyperActive - Although this is a commercial Clarion add-on, currently,
you can apply for free ClarionShop catalog, and free copy of CapeSoft
HyperActive, AND also you are entered in the Big Prize Giveaway.
Vendor Name - ClarionShop Catalog, Contact - Bruce Johnson
Primary ID - Clarion Accessories - Order Catalog
Internet Link - http://www.clarionshop.com/catorder.asp?promo=C6News
Freeware SHELLEXECUTE templates
Product Description - Internet Link Template,
MFG - POSitive Software Company
Internet Link - http://www.clarioncentral.com/freestuff.htm
Product Description - PowerRUN, MFG - Berthume Software
Internet Link - http://www.berthume.com/powerrun.htm
Vendor Name - Sterling Data Freeware Source, Contact - Mike McLoughlin
Primary ID - Hosted By Sterling Data
Email Address - mailto:mike@sterlingdata.com
Internet Link - http://www.sterlingdata.com/lib.htm
Product Description - SHELLEX.ZIP 10K
Template to run external apps using ShellExecute
Commercial Add-on SHELLEXECUTE template
Product Description - HyperActive, MFG - CapeSoft
Internet Link - http://www.capesoft.com/accessories/hypersp.htm
HyperActive is SHELLEXECUTE on steroids! HIGHLY recommended
David
>
> "Mark Kromm" <mkromm@fcc-eng.com> wrote in message
> news:PxH1c.6$vQ4.2735@news.abs.net...
> don't
> Open"
> client,
> to
>
>
>
--
From David Troxell - Product Scope 32 PRO - Encourager Software
Email - mailto:DavidT@encouragersoftware.com
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/
|
|
|
|
|