Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Acrobat called from Clarion 6.0
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



Report this thread to moderator Post Follow-up to this message
Old Post
Mark Kromm
03-27-04 04:01 AM


Re: Acrobat called from Clarion 6.0
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
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Kingsley Klosson
03-27-04 04:01 AM


Re: Acrobat called from Clarion 6.0
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, 
> client, 
way
> to 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Mark Kromm
03-27-04 04:01 AM


Re: Acrobat called from Clarion 6.0
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/

Report this thread to moderator Post Follow-up to this message
Old Post
David Troxell - Encourager Software
03-27-04 04:01 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 01:11 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.