Vantage menu item for PDF document

Compiling shouldn't be necessary. Vantage will compile a selected
menu item on-the-fly. Just drop the code in a text file, and give
it .w or .p extension. Place in vantage\ud directory and attach to
menu.

Lonnie


--- In vantage@y..., Ed Kulbacki <efkcon01@y...> wrote:
> What Progress tools/utilities would I use to both
> create and then compile the program?
>
> Where would I locate them on my system (which
> sub-directory)and start them up?
>
> Ed
>
> --- beury@h... wrote:
> > I have several external programs running from the
> > Vantage Main Menu.
> > It makes things much easier for the end users to use
> > the Vantage
> > Menu. You guys are on the right track except that
> > you need to create
> > a small compiled Progress program to call on the
> > external program
> > from Vantage. The Progress code that I use is:
> >
> > /* UDCR0001.p */
> > /* Call to Customer Sales Analysis Report */
> > dos SILENT
> > W:\VANTAGE\USERFORM\Crystal\custsa\custsa.exe
> >
> > This is a Progress program to call a compiled
> > Crystal report but it
> > can be modified to call any dos/windows program.
> > Once this code is
> > compiled you can place it on the Vantage menu by
> > using "Menu
> > Structure Maintenance". It is the compiled Progress
> > program that
> > will call the external dos/windows program using the
> >
> > syntax "ud/udcr0001.w" (without the quotes). Notice
> > that I have used
> > udcr0001 for the program name. If you don't use
> > this naming
> > convention then sometimes Vantage will choose the
> > wrong icon for the
> > menu item (I found this out the hard way).
> >
> > P.S. I told the moderators about a year ago that I
> > would never post
> > to this list again. They were very critical of my
> > opinion of the
> > Vantage 5.0 release and scolded me like a child. My
> > Vantage
> > representative Chad Wydella also asked me not to say
> > anything bad
> > about Vantage in this newsgroup. I would like to
> > take this
> > opportunity to say that sometimes the truth hurts
> > and that this is
> > still a free country. If anyone else has similar
> > problems with big
> > brother please post it to this newgroup so that we
> > are all aware of
> > it.
> >
> > -----Original Message-----
> > Message: 19
> > Date: Fri, 17 Aug 2001 16:55:06 -0500
> > From: Todd Caughey <caugheyt@h...>
> > Subject: RE: Re: Vantage menu item for PDF document
> >
> > Thanks for all the discussion on this. When you
> > folks get it down to
> > something simple enough for the average person I'd
> > love to try it. I
> > had no
> > idea it was not something really commonly done.
> > Thanks again for the
> > efforts.
> >
> > -Todd C.
> >
> > -----Original Message-----
> > From: Mark Charamut
> > [mailto:mrprogress@C...]
> > Sent: Friday, August 17, 2001 4:30 PM
> > To: vantage@y...
> > Subject: RE: [Vantage] Re: Vantage menu item for PDF
> > document
> >
> >
> > Lonnie,
> > You probably have to run adobe from a call to
> > ShellExecuteA in
> > the
> > WinAPI. Many programs that only run within windows
> > will not function
> > with an
> > os-command call. Ideally, you would query the
> > registry to find the
> > actual
> > program associated with the extension and than pass
> > the program
> > location and
> > any command line switches to ShellExecuteA.
> >
> > Mark Charamut
> >
> > President
> > Caesar Development Services, LLC
> > Epicor Authorized Independent Solution Provider
> > mcharamut@c...
> > www.caesardev.com
> > (860) 667-3540
> >
> >
> >
> > > -----Original Message-----
> > > From: Lonnie Drew [mailto:lonniedrew@c...]
> > > Sent: Friday, August 17, 2001 5:27 PM
> > > To: vantage@y...
> > > Subject: [Vantage] Re: Vantage menu item for PDF
> > document
> > >
> > >
> > > This is weird.. I tried all below, including
> > using NO-WAIT
> > > parameter not SILENT, no luck. What are we
> > missing?
> > >
> > > --- In vantage@y..., Thad Jacobs <tjacobs@k...>
> > wrote:
> > > > this might work:
> > > >
> > > > os-command silent value("acrord32.exe
> > > v:\TheDirectory\ThePDFFileName.pdf").
> > > >
> > > > if not, then you may have to go with
> > > >
> > > > os-command silent value("C:\Program
> > Files\Adobe\Acrobat
> > > > 4.0\Reader\AcroRd32.exe
> > v:\TheDirectory\ThePDFFileName.pdf").
> > > >
> > > > but all users using the program would have to
> > have Acrobat reader
> > > installed
> > > > in c:\program files\
> > >
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo!
Messenger
> http://phonecard.yahoo.com/
I would like to create a menu link to a PDF procedures manual. Is there any
way to do this? I would rather not have to create a "favorites" item on
every PC. Also, this needs to be accessable from Data Collection PCs so is
there a special security group or setting that needs to be used?

Thanks,
-Todd Caughey
Harvey Vogel Mfg. Co.


[Non-text portions of this message have been removed]
Here's one idea.. create a text file called say udPDF.w with command
line..

os-command silent value("v:\TheDirectory\ThePDFFileName.pdf").

Add to menu - should work.


Lonnie


--- In vantage@y..., Todd Caughey <caugheyt@h...> wrote:
> I would like to create a menu link to a PDF procedures manual. Is
there any
> way to do this? I would rather not have to create a "favorites"
item on
> every PC. Also, this needs to be accessable from Data Collection
PCs so is
> there a special security group or setting that needs to be used?
>
> Thanks,
> -Todd Caughey
> Harvey Vogel Mfg. Co.
>
>
> [Non-text portions of this message have been removed]
Just tried it myself --- didn't work. If I come up with the correct
command I'll post it...

Lonnie

--- In vantage@y..., "Lonnie Drew" <lonniedrew@c...> wrote:
> Here's one idea.. create a text file called say udPDF.w with
command
> line..
>
> os-command silent value("v:\TheDirectory\ThePDFFileName.pdf").
>
> Add to menu - should work.
>
>
> Lonnie
>
>
> --- In vantage@y..., Todd Caughey <caugheyt@h...> wrote:
> > I would like to create a menu link to a PDF procedures manual.
Is
> there any
> > way to do this? I would rather not have to create a "favorites"
> item on
> > every PC. Also, this needs to be accessable from Data Collection
> PCs so is
> > there a special security group or setting that needs to be used?
> >
> > Thanks,
> > -Todd Caughey
> > Harvey Vogel Mfg. Co.
> >
> >
> > [Non-text portions of this message have been removed]
this might work:

os-command silent value("acrord32.exe v:\TheDirectory\ThePDFFileName.pdf").

if not, then you may have to go with

os-command silent value("C:\Program Files\Adobe\Acrobat
4.0\Reader\AcroRd32.exe v:\TheDirectory\ThePDFFileName.pdf").

but all users using the program would have to have Acrobat reader installed
in c:\program files\

-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, August 17, 2001 3:31 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Vantage menu item for PDF document


Just tried it myself --- didn't work. If I come up with the correct
command I'll post it...

Lonnie

--- In vantage@y..., "Lonnie Drew" <lonniedrew@c...> wrote:
> Here's one idea.. create a text file called say udPDF.w with
command
> line..
>
> os-command silent value("v:\TheDirectory\ThePDFFileName.pdf").
>
> Add to menu - should work.
>
>
> Lonnie
>
>
> --- In vantage@y..., Todd Caughey <caugheyt@h...> wrote:
> > I would like to create a menu link to a PDF procedures manual.
Is
> there any
> > way to do this? I would rather not have to create a "favorites"
> item on
> > every PC. Also, this needs to be accessable from Data Collection
> PCs so is
> > there a special security group or setting that needs to be used?
> >
> > Thanks,
> > -Todd Caughey
> > Harvey Vogel Mfg. Co.
> >
> >
> > [Non-text portions of this message have been removed]



Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
This is weird.. I tried all below, including using NO-WAIT
parameter not SILENT, no luck. What are we missing?

--- In vantage@y..., Thad Jacobs <tjacobs@k...> wrote:
> this might work:
>
> os-command silent value("acrord32.exe
v:\TheDirectory\ThePDFFileName.pdf").
>
> if not, then you may have to go with
>
> os-command silent value("C:\Program Files\Adobe\Acrobat
> 4.0\Reader\AcroRd32.exe v:\TheDirectory\ThePDFFileName.pdf").
>
> but all users using the program would have to have Acrobat reader
installed
> in c:\program files\
Lonnie,
You probably have to run adobe from a call to ShellExecuteA in the
WinAPI. Many programs that only run within windows will not function with an
os-command call. Ideally, you would query the registry to find the actual
program associated with the extension and than pass the program location and
any command line switches to ShellExecuteA.

Mark Charamut

President
Caesar Development Services, LLC
Epicor Authorized Independent Solution Provider
mcharamut@...
www.caesardev.com
(860) 667-3540



> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@...]
> Sent: Friday, August 17, 2001 5:27 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Vantage menu item for PDF document
>
>
> This is weird.. I tried all below, including using NO-WAIT
> parameter not SILENT, no luck. What are we missing?
>
> --- In vantage@y..., Thad Jacobs <tjacobs@k...> wrote:
> > this might work:
> >
> > os-command silent value("acrord32.exe
> v:\TheDirectory\ThePDFFileName.pdf").
> >
> > if not, then you may have to go with
> >
> > os-command silent value("C:\Program Files\Adobe\Acrobat
> > 4.0\Reader\AcroRd32.exe v:\TheDirectory\ThePDFFileName.pdf").
> >
> > but all users using the program would have to have Acrobat reader
> installed
> > in c:\program files\
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Secure all your Web servers now: Get your FREE Guide and
> learn to: DEPLOY THE LATEST ENCRYPTION,
> DELIVER TRANSPARENT PROTECTION, and More!
> http://us.click.yahoo.com/VihfLB/nT7CAA/yigFAA/PhFolB/TM
> --------------------------------------------------------------
> -------~->
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:
> You must have already linked your email address to a yahoo id
> to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report
> Builder and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Thanks for all the discussion on this. When you folks get it down to
something simple enough for the average person I'd love to try it. I had no
idea it was not something really commonly done. Thanks again for the
efforts.

-Todd C.

-----Original Message-----
From: Mark Charamut [mailto:mrprogress@...]
Sent: Friday, August 17, 2001 4:30 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Vantage menu item for PDF document


Lonnie,
You probably have to run adobe from a call to ShellExecuteA in the
WinAPI. Many programs that only run within windows will not function with an
os-command call. Ideally, you would query the registry to find the actual
program associated with the extension and than pass the program location and
any command line switches to ShellExecuteA.

Mark Charamut

President
Caesar Development Services, LLC
Epicor Authorized Independent Solution Provider
mcharamut@...
www.caesardev.com
(860) 667-3540



> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@...]
> Sent: Friday, August 17, 2001 5:27 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Vantage menu item for PDF document
>
>
> This is weird.. I tried all below, including using NO-WAIT
> parameter not SILENT, no luck. What are we missing?
>
> --- In vantage@y..., Thad Jacobs <tjacobs@k...> wrote:
> > this might work:
> >
> > os-command silent value("acrord32.exe
> v:\TheDirectory\ThePDFFileName.pdf").
> >
> > if not, then you may have to go with
> >
> > os-command silent value("C:\Program Files\Adobe\Acrobat
> > 4.0\Reader\AcroRd32.exe v:\TheDirectory\ThePDFFileName.pdf").
> >
> > but all users using the program would have to have Acrobat reader
> installed
> > in c:\program files\
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Secure all your Web servers now: Get your FREE Guide and
> learn to: DEPLOY THE LATEST ENCRYPTION,
> DELIVER TRANSPARENT PROTECTION, and More!
> http://us.click.yahoo.com/VihfLB/nT7CAA/yigFAA/PhFolB/TM
<http://us.click.yahoo.com/VihfLB/nT7CAA/yigFAA/PhFolB/TM>
> --------------------------------------------------------------
> -------~->
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:
> You must have already linked your email address to a yahoo id
> to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report
> Builder and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
> (2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
<http://docs.yahoo.com/info/terms/>


Yahoo! Groups Sponsor

<http://rd.yahoo.com/M=210949.1523302.3121208.1269402/D=egroupweb/S=17050071
83:HM/A=763786/R=0/*http://altfarm.mediaplex.com/ad/ck/1177-4458-1039-1?mpt=
998084153>

<http://us.adserver.yahoo.com/l?M=210949.1523302.3121208.1269402/D=egroupmai
l/S=1705007183:HM/A=763786/rand=942978095>

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/.>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<http://groups.yahoo.com/group/vantage/messages>
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
<http://groups.yahoo.com/group/vantage/links>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]
I have several external programs running from the Vantage Main Menu.
It makes things much easier for the end users to use the Vantage
Menu. You guys are on the right track except that you need to create
a small compiled Progress program to call on the external program
from Vantage. The Progress code that I use is:

/* UDCR0001.p */
/* Call to Customer Sales Analysis Report */
dos SILENT W:\VANTAGE\USERFORM\Crystal\custsa\custsa.exe

This is a Progress program to call a compiled Crystal report but it
can be modified to call any dos/windows program. Once this code is
compiled you can place it on the Vantage menu by using "Menu
Structure Maintenance". It is the compiled Progress program that
will call the external dos/windows program using the
syntax "ud/udcr0001.w" (without the quotes). Notice that I have used
udcr0001 for the program name. If you don't use this naming
convention then sometimes Vantage will choose the wrong icon for the
menu item (I found this out the hard way).

P.S. I told the moderators about a year ago that I would never post
to this list again. They were very critical of my opinion of the
Vantage 5.0 release and scolded me like a child. My Vantage
representative Chad Wydella also asked me not to say anything bad
about Vantage in this newsgroup. I would like to take this
opportunity to say that sometimes the truth hurts and that this is
still a free country. If anyone else has similar problems with big
brother please post it to this newgroup so that we are all aware of
it.

-----Original Message-----
Message: 19
Date: Fri, 17 Aug 2001 16:55:06 -0500
From: Todd Caughey <caugheyt@...>
Subject: RE: Re: Vantage menu item for PDF document

Thanks for all the discussion on this. When you folks get it down to
something simple enough for the average person I'd love to try it. I
had no
idea it was not something really commonly done. Thanks again for the
efforts.

-Todd C.

-----Original Message-----
From: Mark Charamut [mailto:mrprogress@...]
Sent: Friday, August 17, 2001 4:30 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Vantage menu item for PDF document


Lonnie,
You probably have to run adobe from a call to ShellExecuteA in
the
WinAPI. Many programs that only run within windows will not function
with an
os-command call. Ideally, you would query the registry to find the
actual
program associated with the extension and than pass the program
location and
any command line switches to ShellExecuteA.

Mark Charamut

President
Caesar Development Services, LLC
Epicor Authorized Independent Solution Provider
mcharamut@...
www.caesardev.com
(860) 667-3540



> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@...]
> Sent: Friday, August 17, 2001 5:27 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Vantage menu item for PDF document
>
>
> This is weird.. I tried all below, including using NO-WAIT
> parameter not SILENT, no luck. What are we missing?
>
> --- In vantage@y..., Thad Jacobs <tjacobs@k...> wrote:
> > this might work:
> >
> > os-command silent value("acrord32.exe
> v:\TheDirectory\ThePDFFileName.pdf").
> >
> > if not, then you may have to go with
> >
> > os-command silent value("C:\Program Files\Adobe\Acrobat
> > 4.0\Reader\AcroRd32.exe v:\TheDirectory\ThePDFFileName.pdf").
> >
> > but all users using the program would have to have Acrobat reader
> installed
> > in c:\program files\
>
What Progress tools/utilities would I use to both
create and then compile the program?

Where would I locate them on my system (which
sub-directory)and start them up?

Ed

--- beury@... wrote:
> I have several external programs running from the
> Vantage Main Menu.
> It makes things much easier for the end users to use
> the Vantage
> Menu. You guys are on the right track except that
> you need to create
> a small compiled Progress program to call on the
> external program
> from Vantage. The Progress code that I use is:
>
> /* UDCR0001.p */
> /* Call to Customer Sales Analysis Report */
> dos SILENT
> W:\VANTAGE\USERFORM\Crystal\custsa\custsa.exe
>
> This is a Progress program to call a compiled
> Crystal report but it
> can be modified to call any dos/windows program.
> Once this code is
> compiled you can place it on the Vantage menu by
> using "Menu
> Structure Maintenance". It is the compiled Progress
> program that
> will call the external dos/windows program using the
>
> syntax "ud/udcr0001.w" (without the quotes). Notice
> that I have used
> udcr0001 for the program name. If you don't use
> this naming
> convention then sometimes Vantage will choose the
> wrong icon for the
> menu item (I found this out the hard way).
>
> P.S. I told the moderators about a year ago that I
> would never post
> to this list again. They were very critical of my
> opinion of the
> Vantage 5.0 release and scolded me like a child. My
> Vantage
> representative Chad Wydella also asked me not to say
> anything bad
> about Vantage in this newsgroup. I would like to
> take this
> opportunity to say that sometimes the truth hurts
> and that this is
> still a free country. If anyone else has similar
> problems with big
> brother please post it to this newgroup so that we
> are all aware of
> it.
>
> -----Original Message-----
> Message: 19
> Date: Fri, 17 Aug 2001 16:55:06 -0500
> From: Todd Caughey <caugheyt@...>
> Subject: RE: Re: Vantage menu item for PDF document
>
> Thanks for all the discussion on this. When you
> folks get it down to
> something simple enough for the average person I'd
> love to try it. I
> had no
> idea it was not something really commonly done.
> Thanks again for the
> efforts.
>
> -Todd C.
>
> -----Original Message-----
> From: Mark Charamut
> [mailto:mrprogress@...]
> Sent: Friday, August 17, 2001 4:30 PM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] Re: Vantage menu item for PDF
> document
>
>
> Lonnie,
> You probably have to run adobe from a call to
> ShellExecuteA in
> the
> WinAPI. Many programs that only run within windows
> will not function
> with an
> os-command call. Ideally, you would query the
> registry to find the
> actual
> program associated with the extension and than pass
> the program
> location and
> any command line switches to ShellExecuteA.
>
> Mark Charamut
>
> President
> Caesar Development Services, LLC
> Epicor Authorized Independent Solution Provider
> mcharamut@...
> www.caesardev.com
> (860) 667-3540
>
>
>
> > -----Original Message-----
> > From: Lonnie Drew [mailto:lonniedrew@...]
> > Sent: Friday, August 17, 2001 5:27 PM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Re: Vantage menu item for PDF
> document
> >
> >
> > This is weird.. I tried all below, including
> using NO-WAIT
> > parameter not SILENT, no luck. What are we
> missing?
> >
> > --- In vantage@y..., Thad Jacobs <tjacobs@k...>
> wrote:
> > > this might work:
> > >
> > > os-command silent value("acrord32.exe
> > v:\TheDirectory\ThePDFFileName.pdf").
> > >
> > > if not, then you may have to go with
> > >
> > > os-command silent value("C:\Program
> Files\Adobe\Acrobat
> > > 4.0\Reader\AcroRd32.exe
> v:\TheDirectory\ThePDFFileName.pdf").
> > >
> > > but all users using the program would have to
> have Acrobat reader
> > installed
> > > in c:\program files\
> >
>
>
>


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/