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
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/