Customer ship to browser problem

Have you changed your fonts back to FixedSys in the INI file? Here is a posting I kept that was very helpfull.

Thanks
Jeremy Leonard
IT Manager
K-T Corporation




Jessee,
We are on 6.0. During one conversation with Tech support they managed
to annoy all our users by asking me to modify my mfgsys.ini file with
the following settings.
font23=MS Sans Serif,size=10
font24=Courier New,size=10
We had the opportunity to see fonts as you are now I believe. We did
not like it and had to switch it back to our default settings to keep
the system usable. Those settings (just in case you find your fonts are
set as above) are:
font23=FixedSys
font24=FixedSys
I would say try it at your own risk, but it would seem it could not get
much worse.
Good luck,
Let us know if this works. Also if it does, submit an enhancement
request. I would be happy to jump on that one before we make the jump.
Thanks,
Aaron Hoyt
Hittite Microwave Corporation
Looking to the Progress geniuses out there in Vantage land. I am trying
to call a windows program from a .p procedure that I have written in
relation to a Business Activity Query. I am trying to use Epicor's
lib\ShellExec.r program to call the windows program.
First, does someone know of an easier way to do this?
Second, if not, does anyone know the correct parameter to pass to this
.r to get the call to work?
Any input is appreciated.

Aaron Hoyt
Hittite Microwave Corporation
Aaron,

This may help. I just tested following procedure to open WordPad and
it worked.

Good luck,
Lonnie


DEF VAR viReturnCode AS INT NO-UNDO.

PROCEDURE ShellExecuteA EXTERNAL "shell32.dll":U:
/* Handle to parent window */
DEFINE INPUT PARAMETER plHWND AS LONG NO-UNDO.
/* Operation to perform: open, print */
DEFINE INPUT PARAMETER pcOperation AS CHARACTER NO-UNDO.
/* Document or executable name */
DEFINE INPUT PARAMETER pcFile AS CHARACTER NO-UNDO.
/* Command line parameters to executable in File */
DEFINE INPUT PARAMETER pcParameters AS CHARACTER NO-UNDO.
/* Default directory */
DEFINE INPUT PARAMETER pcDirectory AS CHARACTER NO-UNDO.
/* whether shown when opened:
0 hidden, 1 normal, minimized 2, maximized 3,
0 if File is a document */
DEFINE INPUT PARAMETER plShowCmd AS LONG NO-UNDO.
/* Return Code: less than or equal to 32 */
DEFINE RETURN PARAMETER plInstance AS LONG NO-UNDO.
END.

/* Now enable the interface and wait for the exit condition. */
/* (NOTE: handle ERROR and END-KEY so cleanup code will always fire.
*/
MAIN-BLOCK:
DO ON ERROR UNDO MAIN-BLOCK, LEAVE MAIN-BLOCK:
/* ON END-KEY UNDO MAIN-BLOCK, LEAVE MAIN-BLOCK: */
RUN ShellExecuteA
(0,
"open",
"c:\program files\windows NT\accessories\wordpad.exe",
"",
"",
1,
OUTPUT viReturnCode).

/* IF NOT THIS-PROCEDURE:PERSISTENT THEN
WAIT-FOR CLOSE OF THIS-PROCEDURE.*/
END.


--- In vantage@yahoogroups.com, "Aaron Hoyt" <hoyt@h...> wrote:
> Looking to the Progress geniuses out there in Vantage land. I am
trying
> to call a windows program from a .p procedure that I have written in
> relation to a Business Activity Query. I am trying to use Epicor's
> lib\ShellExec.r program to call the windows program.
> First, does someone know of an easier way to do this?
> Second, if not, does anyone know the correct parameter to pass to
this
> .r to get the call to work?
> Any input is appreciated.
>
> Aaron Hoyt
> Hittite Microwave Corporation
DOS SILENT program name.

can't get much simpler.

-----Original Message-----
From: Aaron Hoyt [mailto:hoyt@...]
Sent: Friday, May 14, 2004 12:09 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Progress Procedure


Looking to the Progress geniuses out there in Vantage land. I am trying
to call a windows program from a .p procedure that I have written in
relation to a Business Activity Query. I am trying to use Epicor's
lib\ShellExec.r program to call the windows program.
First, does someone know of an easier way to do this?
Second, if not, does anyone know the correct parameter to pass to this
.r to get the call to work?
Any input is appreciated.

Aaron Hoyt
Hittite Microwave Corporation
It really depends on what program you're calling. For example, I
tried running "c:\program files\windows NT\accessories\wordpad.exe"
with the DOS statement, and error message ...
" 'c:\program' is not a DOS command"
..appeared.

Not so simple is it.

ShellExecuteA also provides more flexibility.

--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT program name.
>
> can't get much simpler.
>
> -----Original Message-----
> From: Aaron Hoyt [mailto:hoyt@h...]
> Sent: Friday, May 14, 2004 12:09 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Progress Procedure
>
>
> Looking to the Progress geniuses out there in Vantage land. I am
trying
> to call a windows program from a .p procedure that I have written in
> relation to a Business Activity Query. I am trying to use Epicor's
> lib\ShellExec.r program to call the windows program.
> First, does someone know of an easier way to do this?
> Second, if not, does anyone know the correct parameter to pass to
this
> .r to get the call to work?
> Any input is appreciated.
>
> Aaron Hoyt
> Hittite Microwave Corporation
DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
NT\accessories\wordpad.exe".
DOS SILENT VALUE (p).

or

DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"

yes it is that simple.

-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, May 14, 2004 12:46 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Progress Procedure


It really depends on what program you're calling. For example, I
tried running "c:\program files\windows NT\accessories\wordpad.exe"
with the DOS statement, and error message ...
" 'c:\program' is not a DOS command"
..appeared.

Not so simple is it.

ShellExecuteA also provides more flexibility.

--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT program name.
>
> can't get much simpler.
>
> -----Original Message-----
> From: Aaron Hoyt [mailto:hoyt@h...]
> Sent: Friday, May 14, 2004 12:09 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Progress Procedure
>
>
> Looking to the Progress geniuses out there in Vantage land. I am
trying
> to call a windows program from a .p procedure that I have written in
> relation to a Business Activity Query. I am trying to use Epicor's
> lib\ShellExec.r program to call the windows program.
> First, does someone know of an easier way to do this?
> Second, if not, does anyone know the correct parameter to pass to
this
> .r to get the call to work?
> Any input is appreciated.
>
> Aaron Hoyt
> Hittite Microwave Corporation




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
Yahoo! Groups Links
I tried the first suggestion...

DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"

... and still received the DOS error.

The second suggestion...

DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"

... still yielded a DOS error message "not a recognized command or
program" ...................?????


What do you think Michael?


--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> NT\accessories\wordpad.exe".
> DOS SILENT VALUE (p).
>
> or
>
> DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
>
> yes it is that simple.
>
> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@c...]
> Sent: Friday, May 14, 2004 12:46 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Progress Procedure
>
>
> It really depends on what program you're calling. For example, I
> tried running "c:\program files\windows NT\accessories\wordpad.exe"
> with the DOS statement, and error message ...
> " 'c:\program' is not a DOS command"
> ..appeared.
>
> Not so simple is it.
>
> ShellExecuteA also provides more flexibility.
>
> --- In vantage@yahoogroups.com, "Podlin, Michael"
> <michael.podlin@v...> wrote:
> > DOS SILENT program name.
> >
> > can't get much simpler.
> >
> > -----Original Message-----
> > From: Aaron Hoyt [mailto:hoyt@h...]
> > Sent: Friday, May 14, 2004 12:09 PM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Progress Procedure
> >
> >
> > Looking to the Progress geniuses out there in Vantage land. I am
> trying
> > to call a windows program from a .p procedure that I have written
in
> > relation to a Business Activity Query. I am trying to use
Epicor's
> > lib\ShellExec.r program to call the windows program.
> > First, does someone know of an easier way to do this?
> > Second, if not, does anyone know the correct parameter to pass to
> this
> > .r to get the call to work?
> > Any input is appreciated.
> >
> > Aaron Hoyt
> > Hittite Microwave Corporation
>
>
>
>
> 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
> Yahoo! Groups Links
Oops, I meant to say.......


> I tried the first suggestion...
>
> DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> NT\accessories\wordpad.exe".
> DOS SILENT VALUE (p).
>
> ... and still received the DOS error.
>
> The second suggestion...
>
> DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
>
> ... still yielded a DOS error message "not a recognized command or
> program" ...................?????
>
>
> What do you think Michael?
>
>
> --- In vantage@yahoogroups.com, "Podlin, Michael"
> <michael.podlin@v...> wrote:
> > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > NT\accessories\wordpad.exe".
> > DOS SILENT VALUE (p).
> >
> > or
> >
> > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> >
> > yes it is that simple.
> >
> > -----Original Message-----
> > From: Lonnie Drew [mailto:lonniedrew@c...]
> > Sent: Friday, May 14, 2004 12:46 PM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Re: Progress Procedure
> >
> >
> > It really depends on what program you're calling. For example, I
> > tried running "c:\program files\windows
NT\accessories\wordpad.exe"
> > with the DOS statement, and error message ...
> > " 'c:\program' is not a DOS command"
> > ..appeared.
> >
> > Not so simple is it.
> >
> > ShellExecuteA also provides more flexibility.
> >
> > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > <michael.podlin@v...> wrote:
> > > DOS SILENT program name.
> > >
> > > can't get much simpler.
> > >
> > > -----Original Message-----
> > > From: Aaron Hoyt [mailto:hoyt@h...]
> > > Sent: Friday, May 14, 2004 12:09 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Progress Procedure
> > >
> > >
> > > Looking to the Progress geniuses out there in Vantage land. I
am
> > trying
> > > to call a windows program from a .p procedure that I have
written
> in
> > > relation to a Business Activity Query. I am trying to use
> Epicor's
> > > lib\ShellExec.r program to call the windows program.
> > > First, does someone know of an easier way to do this?
> > > Second, if not, does anyone know the correct parameter to pass
to
> > this
> > > .r to get the call to work?
> > > Any input is appreciated.
> > >
> > > Aaron Hoyt
> > > Hittite Microwave Corporation
> >
> >
> >
> >
> > 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
> > Yahoo! Groups Links
I think the difference is with Lonnies method you have a "handle" to
wordpad so you can manipulate wordpad via code. With Michael's approach
you are just shelling out the executable and you would have to locate it
using some more code if you wanted to manipulate it programmatically.

Both of these approaches are assuming the executable is installed at a
known location. With multiple OS's in our facility I would like to see
a simple way to handle this.

Jeff Lewis

-----Original Message-----
From: Podlin, Michael [mailto:michael.podlin@...]
Sent: Friday, May 14, 2004 12:58 PM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Re: Progress Procedure


DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
NT\accessories\wordpad.exe".
DOS SILENT VALUE (p).

or

DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"

yes it is that simple.

-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, May 14, 2004 12:46 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Progress Procedure


It really depends on what program you're calling. For example,
I
tried running "c:\program files\windows
NT\accessories\wordpad.exe"
with the DOS statement, and error message ...
" 'c:\program' is not a DOS command"
..appeared.

Not so simple is it.

ShellExecuteA also provides more flexibility.

--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT program name.
>
> can't get much simpler.
>
> -----Original Message-----
> From: Aaron Hoyt [mailto:hoyt@h...]
> Sent: Friday, May 14, 2004 12:09 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Progress Procedure
>
>
> Looking to the Progress geniuses out there in Vantage land. I
am
trying
> to call a windows program from a .p procedure that I have
written in
> relation to a Business Activity Query. I am trying to use
Epicor's
> lib\ShellExec.r program to call the windows program.
> First, does someone know of an easier way to do this?
> Second, if not, does anyone know the correct parameter to pass
to
this
> .r to get the call to work?
> Any input is appreciated.
>
> Aaron Hoyt
> Hittite Microwave Corporation




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
Yahoo! Groups Links








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



Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://rd.yahoo.com/SIG=129v52u07/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705007183:HM/EXP=1084643938/A=2128215/R=0/SIG=10se96mf6/*http://
companion.yahoo.com>

<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=376401611>


_____

Yahoo! Groups Links


* To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/

* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>

* 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 think I've tried the Progress "DOS statement" in the past to launch
Windows programs with no luck. Testing with WordPad seems to back
that up. A DOS program or batch file would probably run though.

It goes back to what type of program you want to launch.

--- In vantage@yahoogroups.com, "Jeff Lewis" <jeff@h...> wrote:
> I think the difference is with Lonnies method you have a "handle" to
> wordpad so you can manipulate wordpad via code. With Michael's
approach
> you are just shelling out the executable and you would have to
locate it
> using some more code if you wanted to manipulate it
programmatically.
>
> Both of these approaches are assuming the executable is installed
at a
> known location. With multiple OS's in our facility I would like to
see
> a simple way to handle this.
>
> Jeff Lewis
>
> -----Original Message-----
> From: Podlin, Michael [mailto:michael.podlin@v...]
> Sent: Friday, May 14, 2004 12:58 PM
> To: 'vantage@yahoogroups.com'
> Subject: RE: [Vantage] Re: Progress Procedure
>
>
> DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> NT\accessories\wordpad.exe".
> DOS SILENT VALUE (p).
>
> or
>
> DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
>
> yes it is that simple.
>
> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@c...]
> Sent: Friday, May 14, 2004 12:46 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Progress Procedure
>
>
> It really depends on what program you're calling. For
example,
> I
> tried running "c:\program files\windows
> NT\accessories\wordpad.exe"
> with the DOS statement, and error message ...
> " 'c:\program' is not a DOS command"
> ..appeared.
>
> Not so simple is it.
>
> ShellExecuteA also provides more flexibility.
>
> --- In vantage@yahoogroups.com, "Podlin, Michael"
> <michael.podlin@v...> wrote:
> > DOS SILENT program name.
> >
> > can't get much simpler.
> >
> > -----Original Message-----
> > From: Aaron Hoyt [mailto:hoyt@h...]
> > Sent: Friday, May 14, 2004 12:09 PM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Progress Procedure
> >
> >
> > Looking to the Progress geniuses out there in Vantage
land. I
> am
> trying
> > to call a windows program from a .p procedure that I have
> written in
> > relation to a Business Activity Query. I am trying to use
> Epicor's
> > lib\ShellExec.r program to call the windows program.
> > First, does someone know of an easier way to do this?
> > Second, if not, does anyone know the correct parameter to
pass
> to
> this
> > .r to get the call to work?
> > Any input is appreciated.
> >
> > Aaron Hoyt
> > Hittite Microwave Corporation
>
>
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> 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
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
> click here
>
<http://rd.yahoo.com/SIG=129v52u07/M=295196.4901138.6071305.3001176/D=
gr
>
oups/S=1705007183:HM/EXP=1084643938/A=2128215/R=0/SIG=10se96mf6/*http:
//
> companion.yahoo.com>
>
> <http://us.adserver.yahoo.com/l?
M=295196.4901138.6071305.3001176/D=group
> s/S=:HM/A=2128215/rand=376401611>
>
>
> _____
>
> Yahoo! Groups Links
>
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/vantage/
>
> * To unsubscribe from this group, send an email to:
> vantage-unsubscribe@yahoogroups.com
> <mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
> * 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]
DOS SILENT works the same as using the Windows Run Command window from your
start button. If you can run a program that way you can use it with the DOS
SILENT.

ASSIGN shell-line = "F:\vsi-exe\VSI-Traveler.exe /J=" +
fil-JobNo:SCREEN-VALUE + " /A=" + STRING(TravelerAssemblyNo) + " /O=" +
STRING(TravelerOperationNo) + " /T=" + SESSION:TEMP-DIRECTORY.
DOS SILENT VALUE (shell-line).

I know it works cause I've been using this format for years. Here is a
direct cut/paste from a routine to generate our Visual Basic traveler. Not
only am I launching the program but I'm passing 4 variable to it to in the
command line.

If you are receiving a "not a recognized command or program", my guess is
it's not typed correctly. If you use the 8.3 file name format, you need to
make sure its correct (and these sometimes change from workstation to
workstation). I prefer to use the long filename method and assign it to a
variable and then use the DOS SILENT VALUE(variable) format. As expected,
the spaces in the command line, windows requires them to be in quotes.
Changing the initial value to make the value contain the quotes (see below)
will pass the correct value to the command line. (I always try not to put
spaces in my directory structure, they are such a pain to deal with)

DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
NT\accessories\wordpad.exe"'.
DOS SILENT VALUE (p).


-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, May 14, 2004 1:13 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Progress Procedure


Oops, I meant to say.......


> I tried the first suggestion...
>
> DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> NT\accessories\wordpad.exe".
> DOS SILENT VALUE (p).
>
> ... and still received the DOS error.
>
> The second suggestion...
>
> DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
>
> ... still yielded a DOS error message "not a recognized command or
> program" ...................?????
>
>
> What do you think Michael?
>
>
> --- In vantage@yahoogroups.com, "Podlin, Michael"
> <michael.podlin@v...> wrote:
> > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > NT\accessories\wordpad.exe".
> > DOS SILENT VALUE (p).
> >
> > or
> >
> > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> >
> > yes it is that simple.
> >
> > -----Original Message-----
> > From: Lonnie Drew [mailto:lonniedrew@c...]
> > Sent: Friday, May 14, 2004 12:46 PM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Re: Progress Procedure
> >
> >
> > It really depends on what program you're calling. For example, I
> > tried running "c:\program files\windows
NT\accessories\wordpad.exe"
> > with the DOS statement, and error message ...
> > " 'c:\program' is not a DOS command"
> > ..appeared.
> >
> > Not so simple is it.
> >
> > ShellExecuteA also provides more flexibility.
> >
> > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > <michael.podlin@v...> wrote:
> > > DOS SILENT program name.
> > >
> > > can't get much simpler.
> > >
> > > -----Original Message-----
> > > From: Aaron Hoyt [mailto:hoyt@h...]
> > > Sent: Friday, May 14, 2004 12:09 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Progress Procedure
> > >
> > >
> > > Looking to the Progress geniuses out there in Vantage land. I
am
> > trying
> > > to call a windows program from a .p procedure that I have
written
> in
> > > relation to a Business Activity Query. I am trying to use
> Epicor's
> > > lib\ShellExec.r program to call the windows program.
> > > First, does someone know of an easier way to do this?
> > > Second, if not, does anyone know the correct parameter to pass
to
> > this
> > > .r to get the call to work?
> > > Any input is appreciated.
> > >
> > > Aaron Hoyt
> > > Hittite Microwave Corporation
> >
> >
> >
> >
> > 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
> > Yahoo! Groups Links




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
Yahoo! Groups Links
Very good. Seems encapsuling the string "c:\program files\windows
NT\accessories\wordpad.exe" in single quotes was necessary because of
the spaces.

I tried....

DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
NT\accessories\wordpad.exe"'.
DOS SILENT VALUE (p).

... and it worked.

On a side note....

OS-COMMAND NO-WAIT VALUE('"c:\program files\windows
nt\accessories\wordpad.exe"')

...worked also, as long as the single quotes are there.




--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT works the same as using the Windows Run Command window
from your
> start button. If you can run a program that way you can use it
with the DOS
> SILENT.
>
> ASSIGN shell-line = "F:\vsi-exe\VSI-Traveler.exe /J=" +
> fil-JobNo:SCREEN-VALUE + " /A=" + STRING(TravelerAssemblyNo)
+ " /O=" +
> STRING(TravelerOperationNo) + " /T=" + SESSION:TEMP-DIRECTORY.
> DOS SILENT VALUE (shell-line).
>
> I know it works cause I've been using this format for years. Here
is a
> direct cut/paste from a routine to generate our Visual Basic
traveler. Not
> only am I launching the program but I'm passing 4 variable to it to
in the
> command line.
>
> If you are receiving a "not a recognized command or program", my
guess is
> it's not typed correctly. If you use the 8.3 file name format, you
need to
> make sure its correct (and these sometimes change from workstation
to
> workstation). I prefer to use the long filename method and assign
it to a
> variable and then use the DOS SILENT VALUE(variable) format. As
expected,
> the spaces in the command line, windows requires them to be in
quotes.
> Changing the initial value to make the value contain the quotes
(see below)
> will pass the correct value to the command line. (I always try not
to put
> spaces in my directory structure, they are such a pain to deal with)
>
> DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
> NT\accessories\wordpad.exe"'.
> DOS SILENT VALUE (p).
>
>
> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@c...]
> Sent: Friday, May 14, 2004 1:13 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Progress Procedure
>
>
> Oops, I meant to say.......
>
>
> > I tried the first suggestion...
> >
> > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > NT\accessories\wordpad.exe".
> > DOS SILENT VALUE (p).
> >
> > ... and still received the DOS error.
> >
> > The second suggestion...
> >
> > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> >
> > ... still yielded a DOS error message "not a recognized command
or
> > program" ...................?????
> >
> >
> > What do you think Michael?
> >
> >
> > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > <michael.podlin@v...> wrote:
> > > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > > NT\accessories\wordpad.exe".
> > > DOS SILENT VALUE (p).
> > >
> > > or
> > >
> > > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> > >
> > > yes it is that simple.
> > >
> > > -----Original Message-----
> > > From: Lonnie Drew [mailto:lonniedrew@c...]
> > > Sent: Friday, May 14, 2004 12:46 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Re: Progress Procedure
> > >
> > >
> > > It really depends on what program you're calling. For example,
I
> > > tried running "c:\program files\windows
> NT\accessories\wordpad.exe"
> > > with the DOS statement, and error message ...
> > > " 'c:\program' is not a DOS command"
> > > ..appeared.
> > >
> > > Not so simple is it.
> > >
> > > ShellExecuteA also provides more flexibility.
> > >
> > > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > > <michael.podlin@v...> wrote:
> > > > DOS SILENT program name.
> > > >
> > > > can't get much simpler.
> > > >
> > > > -----Original Message-----
> > > > From: Aaron Hoyt [mailto:hoyt@h...]
> > > > Sent: Friday, May 14, 2004 12:09 PM
> > > > To: vantage@yahoogroups.com
> > > > Subject: [Vantage] Progress Procedure
> > > >
> > > >
> > > > Looking to the Progress geniuses out there in Vantage land.
I
> am
> > > trying
> > > > to call a windows program from a .p procedure that I have
> written
> > in
> > > > relation to a Business Activity Query. I am trying to use
> > Epicor's
> > > > lib\ShellExec.r program to call the windows program.
> > > > First, does someone know of an easier way to do this?
> > > > Second, if not, does anyone know the correct parameter to
pass
> to
> > > this
> > > > .r to get the call to work?
> > > > Any input is appreciated.
> > > >
> > > > Aaron Hoyt
> > > > Hittite Microwave Corporation
> > >
> > >
> > >
> > >
> > > 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
> > > Yahoo! Groups Links
>
>
>
>
> 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
> Yahoo! Groups Links
We use:



DEFINE VARIABLE ProgName AS CHARACTER NO-UNDO.
DEFINE VARIABLE ProgOption AS CHARACTER NO-UNDO.
DEFINE VARIABLE hInstanceNum AS INTEGER NO-UNDO.

ASSIGN ProgName = 'msaccess.exe'
ProgOption = 'v:\mfgsys\ud\as400\access\as400.mde'.

RUN v:\mfgsys\lib\ShellExec.r (INPUT ProgName,INPUT ProgOption, OUTPUT hInstanceNum).



Thanks
Jeremy Leonard
IT Manager
K-T Corporation
With multiple OS and multiple file/program names it is not an easy method.
I try to keep all programs that need to be launched from other applications
(like Vantage) stored on the server in a shared directory that everyone has
mapped. This eliminates the headache of trying to find the program or the
associated program to a specific file extension.

When dealing with file extensions you would need to use the API call to
FindExecutable Lib "shell32".

If you know the exact program executable you can use the API call
SearchTreeForFile Lib "imagehlp" to get the location of the program.

Both of these methods work very well, but they are not a "simple way to
handle this".

-----Original Message-----
From: Jeff Lewis [mailto:jeff@...]
Sent: Friday, May 14, 2004 1:18 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Progress Procedure


I think the difference is with Lonnies method you have a "handle" to
wordpad so you can manipulate wordpad via code. With Michael's approach
you are just shelling out the executable and you would have to locate it
using some more code if you wanted to manipulate it programmatically.

Both of these approaches are assuming the executable is installed at a
known location. With multiple OS's in our facility I would like to see
a simple way to handle this.

Jeff Lewis

-----Original Message-----
From: Podlin, Michael [mailto:michael.podlin@...]
Sent: Friday, May 14, 2004 12:58 PM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Re: Progress Procedure


DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
NT\accessories\wordpad.exe".
DOS SILENT VALUE (p).

or

DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"

yes it is that simple.

-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, May 14, 2004 12:46 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Progress Procedure


It really depends on what program you're calling. For example,
I
tried running "c:\program files\windows
NT\accessories\wordpad.exe"
with the DOS statement, and error message ...
" 'c:\program' is not a DOS command"
..appeared.

Not so simple is it.

ShellExecuteA also provides more flexibility.

--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT program name.
>
> can't get much simpler.
>
> -----Original Message-----
> From: Aaron Hoyt [mailto:hoyt@h...]
> Sent: Friday, May 14, 2004 12:09 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Progress Procedure
>
>
> Looking to the Progress geniuses out there in Vantage land. I
am
trying
> to call a windows program from a .p procedure that I have
written in
> relation to a Business Activity Query. I am trying to use
Epicor's
> lib\ShellExec.r program to call the windows program.
> First, does someone know of an easier way to do this?
> Second, if not, does anyone know the correct parameter to pass
to
this
> .r to get the call to work?
> Any input is appreciated.
>
> Aaron Hoyt
> Hittite Microwave Corporation




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
Yahoo! Groups Links








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



Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://rd.yahoo.com/SIG=129v52u07/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705007183:HM/EXP=1084643938/A=2128215/R=0/SIG=10se96mf6/*http://
companion.yahoo.com>

<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=376401611>


_____

Yahoo! Groups Links


* To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/

* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>

* 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]




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
Yahoo! Groups Links
Lonnie, Michael,
Ok, I am still at a loss here. I have watched and tried each version of
the statements. Now that you both agree on a standard, I still can't
get it to work.
I can get it to open a program, but when I try to pass the option, it
won't do anything, not open the program nor give any error. What I am
trying to run is this.
"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"
I have tried:
OS-COMMAND NO-WAIT VALUE ('"C:\Program
Files\EuroPlus\NiceNet\Bin\nicenet.exe"
"V:\mfgsys61\USERFORM\reellbl.job"').
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"
"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"'
'"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"' +
'"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT "C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job".

The frustrating part is from the command line (XP cmd or Start Run):
"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"
Works just fine.
Any ideas? This is so close I can taste it, but I just can't get it to
start from within my .p.
I will be trying to pass a variable to it next, but I don't hold out
much hope.
Thank you for any additional thoughts.
Aaron Hoyt
Hittite Microwave

-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, May 14, 2004 3:26 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Progress Procedure


Very good. Seems encapsuling the string "c:\program files\windows
NT\accessories\wordpad.exe" in single quotes was necessary because of
the spaces.

I tried....

DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
NT\accessories\wordpad.exe"'.
DOS SILENT VALUE (p).

... and it worked.

On a side note....

OS-COMMAND NO-WAIT VALUE('"c:\program files\windows
nt\accessories\wordpad.exe"')

...worked also, as long as the single quotes are there.




--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT works the same as using the Windows Run Command window
from your
> start button. If you can run a program that way you can use it
with the DOS
> SILENT.
>
> ASSIGN shell-line = "F:\vsi-exe\VSI-Traveler.exe /J=" +
> fil-JobNo:SCREEN-VALUE + " /A=" + STRING(TravelerAssemblyNo)
+ " /O=" +
> STRING(TravelerOperationNo) + " /T=" + SESSION:TEMP-DIRECTORY.
> DOS SILENT VALUE (shell-line).
>
> I know it works cause I've been using this format for years. Here
is a
> direct cut/paste from a routine to generate our Visual Basic
traveler. Not
> only am I launching the program but I'm passing 4 variable to it to
in the
> command line.
>
> If you are receiving a "not a recognized command or program", my
guess is
> it's not typed correctly. If you use the 8.3 file name format, you
need to
> make sure its correct (and these sometimes change from workstation
to
> workstation). I prefer to use the long filename method and assign
it to a
> variable and then use the DOS SILENT VALUE(variable) format. As
expected,
> the spaces in the command line, windows requires them to be in
quotes.
> Changing the initial value to make the value contain the quotes
(see below)
> will pass the correct value to the command line. (I always try not
to put
> spaces in my directory structure, they are such a pain to deal with)
>
> DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
> NT\accessories\wordpad.exe"'.
> DOS SILENT VALUE (p).
>
>
> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@c...]
> Sent: Friday, May 14, 2004 1:13 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Progress Procedure
>
>
> Oops, I meant to say.......
>
>
> > I tried the first suggestion...
> >
> > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > NT\accessories\wordpad.exe".
> > DOS SILENT VALUE (p).
> >
> > ... and still received the DOS error.
> >
> > The second suggestion...
> >
> > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> >
> > ... still yielded a DOS error message "not a recognized command
or
> > program" ...................?????
> >
> >
> > What do you think Michael?
> >
> >
> > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > <michael.podlin@v...> wrote:
> > > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > > NT\accessories\wordpad.exe".
> > > DOS SILENT VALUE (p).
> > >
> > > or
> > >
> > > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> > >
> > > yes it is that simple.
> > >
> > > -----Original Message-----
> > > From: Lonnie Drew [mailto:lonniedrew@c...]
> > > Sent: Friday, May 14, 2004 12:46 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Re: Progress Procedure
> > >
> > >
> > > It really depends on what program you're calling. For example,
I
> > > tried running "c:\program files\windows
> NT\accessories\wordpad.exe"
> > > with the DOS statement, and error message ...
> > > " 'c:\program' is not a DOS command"
> > > ..appeared.
> > >
> > > Not so simple is it.
> > >
> > > ShellExecuteA also provides more flexibility.
> > >
> > > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > > <michael.podlin@v...> wrote:
> > > > DOS SILENT program name.
> > > >
> > > > can't get much simpler.
> > > >
> > > > -----Original Message-----
> > > > From: Aaron Hoyt [mailto:hoyt@h...]
> > > > Sent: Friday, May 14, 2004 12:09 PM
> > > > To: vantage@yahoogroups.com
> > > > Subject: [Vantage] Progress Procedure
> > > >
> > > >
> > > > Looking to the Progress geniuses out there in Vantage land.
I
> am
> > > trying
> > > > to call a windows program from a .p procedure that I have
> written
> > in
> > > > relation to a Business Activity Query. I am trying to use
> > Epicor's
> > > > lib\ShellExec.r program to call the windows program.
> > > > First, does someone know of an easier way to do this?
> > > > Second, if not, does anyone know the correct parameter to
pass
> to
> > > this
> > > > .r to get the call to work?
> > > > Any input is appreciated.
> > > >
> > > > Aaron Hoyt
> > > > Hittite Microwave Corporation
> > >
> > >
> > >
> > >
> > > 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
> > > Yahoo! Groups Links
>
>
>
>
> 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
> Yahoo! Groups Links



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


Yahoo! Groups Sponsor
ADVERTISEMENT






Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/

To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
You need the space in between the program and the option:

DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"
V:\mfgsys61\USERFORM\reellbl.job'.

The double quotes around the program itself are used to tell windows and the
space between Program and Files is actually part of the path. The best way
to test these things are with the windows RUN from the start button. If the
command line will run from this, it will run from the DOS SILENT.

-----Original Message-----
From: Aaron Hoyt [mailto:hoyt@...]
Sent: Monday, May 17, 2004 6:51 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Progress Procedure


Lonnie, Michael,
Ok, I am still at a loss here. I have watched and tried each version of
the statements. Now that you both agree on a standard, I still can't
get it to work.
I can get it to open a program, but when I try to pass the option, it
won't do anything, not open the program nor give any error. What I am
trying to run is this.
"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"
I have tried:
OS-COMMAND NO-WAIT VALUE ('"C:\Program
Files\EuroPlus\NiceNet\Bin\nicenet.exe"
"V:\mfgsys61\USERFORM\reellbl.job"').
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"
"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"'
'"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"' +
'"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT "C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job".

The frustrating part is from the command line (XP cmd or Start Run):
"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"
Works just fine.
Any ideas? This is so close I can taste it, but I just can't get it to
start from within my .p.
I will be trying to pass a variable to it next, but I don't hold out
much hope.
Thank you for any additional thoughts.
Aaron Hoyt
Hittite Microwave

-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, May 14, 2004 3:26 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Progress Procedure


Very good. Seems encapsuling the string "c:\program files\windows
NT\accessories\wordpad.exe" in single quotes was necessary because of
the spaces.

I tried....

DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
NT\accessories\wordpad.exe"'.
DOS SILENT VALUE (p).

... and it worked.

On a side note....

OS-COMMAND NO-WAIT VALUE('"c:\program files\windows
nt\accessories\wordpad.exe"')

...worked also, as long as the single quotes are there.




--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT works the same as using the Windows Run Command window
from your
> start button. If you can run a program that way you can use it
with the DOS
> SILENT.
>
> ASSIGN shell-line = "F:\vsi-exe\VSI-Traveler.exe /J=" +
> fil-JobNo:SCREEN-VALUE + " /A=" + STRING(TravelerAssemblyNo)
+ " /O=" +
> STRING(TravelerOperationNo) + " /T=" + SESSION:TEMP-DIRECTORY.
> DOS SILENT VALUE (shell-line).
>
> I know it works cause I've been using this format for years. Here
is a
> direct cut/paste from a routine to generate our Visual Basic
traveler. Not
> only am I launching the program but I'm passing 4 variable to it to
in the
> command line.
>
> If you are receiving a "not a recognized command or program", my
guess is
> it's not typed correctly. If you use the 8.3 file name format, you
need to
> make sure its correct (and these sometimes change from workstation
to
> workstation). I prefer to use the long filename method and assign
it to a
> variable and then use the DOS SILENT VALUE(variable) format. As
expected,
> the spaces in the command line, windows requires them to be in
quotes.
> Changing the initial value to make the value contain the quotes
(see below)
> will pass the correct value to the command line. (I always try not
to put
> spaces in my directory structure, they are such a pain to deal with)
>
> DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
> NT\accessories\wordpad.exe"'.
> DOS SILENT VALUE (p).
>
>
> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@c...]
> Sent: Friday, May 14, 2004 1:13 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Progress Procedure
>
>
> Oops, I meant to say.......
>
>
> > I tried the first suggestion...
> >
> > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > NT\accessories\wordpad.exe".
> > DOS SILENT VALUE (p).
> >
> > ... and still received the DOS error.
> >
> > The second suggestion...
> >
> > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> >
> > ... still yielded a DOS error message "not a recognized command
or
> > program" ...................?????
> >
> >
> > What do you think Michael?
> >
> >
> > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > <michael.podlin@v...> wrote:
> > > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > > NT\accessories\wordpad.exe".
> > > DOS SILENT VALUE (p).
> > >
> > > or
> > >
> > > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> > >
> > > yes it is that simple.
> > >
> > > -----Original Message-----
> > > From: Lonnie Drew [mailto:lonniedrew@c...]
> > > Sent: Friday, May 14, 2004 12:46 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Re: Progress Procedure
> > >
> > >
> > > It really depends on what program you're calling. For example,
I
> > > tried running "c:\program files\windows
> NT\accessories\wordpad.exe"
> > > with the DOS statement, and error message ...
> > > " 'c:\program' is not a DOS command"
> > > ..appeared.
> > >
> > > Not so simple is it.
> > >
> > > ShellExecuteA also provides more flexibility.
> > >
> > > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > > <michael.podlin@v...> wrote:
> > > > DOS SILENT program name.
> > > >
> > > > can't get much simpler.
> > > >
> > > > -----Original Message-----
> > > > From: Aaron Hoyt [mailto:hoyt@h...]
> > > > Sent: Friday, May 14, 2004 12:09 PM
> > > > To: vantage@yahoogroups.com
> > > > Subject: [Vantage] Progress Procedure
> > > >
> > > >
> > > > Looking to the Progress geniuses out there in Vantage land.
I
> am
> > > trying
> > > > to call a windows program from a .p procedure that I have
> written
> > in
> > > > relation to a Business Activity Query. I am trying to use
> > Epicor's
> > > > lib\ShellExec.r program to call the windows program.
> > > > First, does someone know of an easier way to do this?
> > > > Second, if not, does anyone know the correct parameter to
pass
> to
> > > this
> > > > .r to get the call to work?
> > > > Any input is appreciated.
> > > >
> > > > Aaron Hoyt
> > > > Hittite Microwave Corporation
> > >
> > >
> > >
> > >
> > > 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
> > > Yahoo! Groups Links
>
>
>
>
> 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
> Yahoo! Groups Links



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


Yahoo! Groups Sponsor
ADVERTISEMENT






Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/

To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


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
Yahoo! Groups Links
You can ignore my last message. I discovered with a little playing that
what I was sending was two separate items (the program and the option).
I finally tried...
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"
V:\mfgsys61\USERFORM\reellbl.job'.
And found that it works. Apparently the program having a space, does
not mean the option needs the quotes also.
Anyway, thanks to all who helped me with this.
Aaron Hoyt
Hittite Microwave


-----Original Message-----
From: Aaron Hoyt
Sent: Monday, May 17, 2004 7:51 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Progress Procedure


Lonnie, Michael,
Ok, I am still at a loss here. I have watched and tried each version of
the statements. Now that you both agree on a standard, I still can't
get it to work.
I can get it to open a program, but when I try to pass the option, it
won't do anything, not open the program nor give any error. What I am
trying to run is this.
"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"
I have tried:
OS-COMMAND NO-WAIT VALUE ('"C:\Program
Files\EuroPlus\NiceNet\Bin\nicenet.exe"
"V:\mfgsys61\USERFORM\reellbl.job"').
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"
"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"'
'"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"' +
'"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT "C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job".

The frustrating part is from the command line (XP cmd or Start Run):
"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"
Works just fine.
Any ideas? This is so close I can taste it, but I just can't get it to
start from within my .p.
I will be trying to pass a variable to it next, but I don't hold out
much hope.
Thank you for any additional thoughts.
Aaron Hoyt
Hittite Microwave

-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, May 14, 2004 3:26 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Progress Procedure


Very good. Seems encapsuling the string "c:\program files\windows
NT\accessories\wordpad.exe" in single quotes was necessary because of
the spaces.

I tried....

DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
NT\accessories\wordpad.exe"'.
DOS SILENT VALUE (p).

... and it worked.

On a side note....

OS-COMMAND NO-WAIT VALUE('"c:\program files\windows
nt\accessories\wordpad.exe"')

...worked also, as long as the single quotes are there.




--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT works the same as using the Windows Run Command window
from your
> start button. If you can run a program that way you can use it
with the DOS
> SILENT.
>
> ASSIGN shell-line = "F:\vsi-exe\VSI-Traveler.exe /J=" +
> fil-JobNo:SCREEN-VALUE + " /A=" + STRING(TravelerAssemblyNo)
+ " /O=" +
> STRING(TravelerOperationNo) + " /T=" + SESSION:TEMP-DIRECTORY.
> DOS SILENT VALUE (shell-line).
>
> I know it works cause I've been using this format for years. Here
is a
> direct cut/paste from a routine to generate our Visual Basic
traveler. Not
> only am I launching the program but I'm passing 4 variable to it to
in the
> command line.
>
> If you are receiving a "not a recognized command or program", my
guess is
> it's not typed correctly. If you use the 8.3 file name format, you
need to
> make sure its correct (and these sometimes change from workstation
to
> workstation). I prefer to use the long filename method and assign
it to a
> variable and then use the DOS SILENT VALUE(variable) format. As
expected,
> the spaces in the command line, windows requires them to be in
quotes.
> Changing the initial value to make the value contain the quotes
(see below)
> will pass the correct value to the command line. (I always try not
to put
> spaces in my directory structure, they are such a pain to deal with)
>
> DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
> NT\accessories\wordpad.exe"'.
> DOS SILENT VALUE (p).
>
>
> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@c...]
> Sent: Friday, May 14, 2004 1:13 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Progress Procedure
>
>
> Oops, I meant to say.......
>
>
> > I tried the first suggestion...
> >
> > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > NT\accessories\wordpad.exe".
> > DOS SILENT VALUE (p).
> >
> > ... and still received the DOS error.
> >
> > The second suggestion...
> >
> > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> >
> > ... still yielded a DOS error message "not a recognized command
or
> > program" ...................?????
> >
> >
> > What do you think Michael?
> >
> >
> > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > <michael.podlin@v...> wrote:
> > > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > > NT\accessories\wordpad.exe".
> > > DOS SILENT VALUE (p).
> > >
> > > or
> > >
> > > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> > >
> > > yes it is that simple.
> > >
> > > -----Original Message-----
> > > From: Lonnie Drew [mailto:lonniedrew@c...]
> > > Sent: Friday, May 14, 2004 12:46 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Re: Progress Procedure
> > >
> > >
> > > It really depends on what program you're calling. For example,
I
> > > tried running "c:\program files\windows
> NT\accessories\wordpad.exe"
> > > with the DOS statement, and error message ...
> > > " 'c:\program' is not a DOS command"
> > > ..appeared.
> > >
> > > Not so simple is it.
> > >
> > > ShellExecuteA also provides more flexibility.
> > >
> > > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > > <michael.podlin@v...> wrote:
> > > > DOS SILENT program name.
> > > >
> > > > can't get much simpler.
> > > >
> > > > -----Original Message-----
> > > > From: Aaron Hoyt [mailto:hoyt@h...]
> > > > Sent: Friday, May 14, 2004 12:09 PM
> > > > To: vantage@yahoogroups.com
> > > > Subject: [Vantage] Progress Procedure
> > > >
> > > >
> > > > Looking to the Progress geniuses out there in Vantage land.
I
> am
> > > trying
> > > > to call a windows program from a .p procedure that I have
> written
> > in
> > > > relation to a Business Activity Query. I am trying to use
> > Epicor's
> > > > lib\ShellExec.r program to call the windows program.
> > > > First, does someone know of an easier way to do this?
> > > > Second, if not, does anyone know the correct parameter to
pass
> to
> > > this
> > > > .r to get the call to work?
> > > > Any input is appreciated.
> > > >
> > > > Aaron Hoyt
> > > > Hittite Microwave Corporation
> > >
> > >
> > >
> > >
> > > 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
> > > Yahoo! Groups Links
>
>
>
>
> 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
> Yahoo! Groups Links



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


Yahoo! Groups Sponsor
ADVERTISEMENT






Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/

To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


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




Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/

To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Michael,
Funny as it sounds I was able to run it with the entire line enclosed in
quotes from the command line, that was what was throwing me off.
But I see below, you offer me the exact line that does work. Thank you
again for all your help.
Aaron

-----Original Message-----
From: Podlin, Michael [mailto:michael.podlin@...]
Sent: Monday, May 17, 2004 8:04 AM
To: 'vantage@yahoogroups.com'
Subject: RE: [Vantage] Re: Progress Procedure


You need the space in between the program and the option:

DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"
V:\mfgsys61\USERFORM\reellbl.job'.

The double quotes around the program itself are used to tell windows and
the
space between Program and Files is actually part of the path. The best
way
to test these things are with the windows RUN from the start button. If
the
command line will run from this, it will run from the DOS SILENT.

-----Original Message-----
From: Aaron Hoyt [mailto:hoyt@...]
Sent: Monday, May 17, 2004 6:51 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Progress Procedure


Lonnie, Michael,
Ok, I am still at a loss here. I have watched and tried each version of
the statements. Now that you both agree on a standard, I still can't
get it to work.
I can get it to open a program, but when I try to pass the option, it
won't do anything, not open the program nor give any error. What I am
trying to run is this.
"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"
I have tried:
OS-COMMAND NO-WAIT VALUE ('"C:\Program
Files\EuroPlus\NiceNet\Bin\nicenet.exe"
"V:\mfgsys61\USERFORM\reellbl.job"').
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"
"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"'
'"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT '"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe"' +
'"V:\mfgsys61\USERFORM\reellbl.job"'.
DOS SILENT "C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job".

The frustrating part is from the command line (XP cmd or Start Run):
"C:\Program Files\EuroPlus\NiceNet\Bin\nicenet.exe
V:\mfgsys61\USERFORM\reellbl.job"
Works just fine.
Any ideas? This is so close I can taste it, but I just can't get it to
start from within my .p.
I will be trying to pass a variable to it next, but I don't hold out
much hope.
Thank you for any additional thoughts.
Aaron Hoyt
Hittite Microwave

-----Original Message-----
From: Lonnie Drew [mailto:lonniedrew@...]
Sent: Friday, May 14, 2004 3:26 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Progress Procedure


Very good. Seems encapsuling the string "c:\program files\windows
NT\accessories\wordpad.exe" in single quotes was necessary because of
the spaces.

I tried....

DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
NT\accessories\wordpad.exe"'.
DOS SILENT VALUE (p).

... and it worked.

On a side note....

OS-COMMAND NO-WAIT VALUE('"c:\program files\windows
nt\accessories\wordpad.exe"')

...worked also, as long as the single quotes are there.




--- In vantage@yahoogroups.com, "Podlin, Michael"
<michael.podlin@v...> wrote:
> DOS SILENT works the same as using the Windows Run Command window
from your
> start button. If you can run a program that way you can use it
with the DOS
> SILENT.
>
> ASSIGN shell-line = "F:\vsi-exe\VSI-Traveler.exe /J=" +
> fil-JobNo:SCREEN-VALUE + " /A=" + STRING(TravelerAssemblyNo)
+ " /O=" +
> STRING(TravelerOperationNo) + " /T=" + SESSION:TEMP-DIRECTORY.
> DOS SILENT VALUE (shell-line).
>
> I know it works cause I've been using this format for years. Here
is a
> direct cut/paste from a routine to generate our Visual Basic
traveler. Not
> only am I launching the program but I'm passing 4 variable to it to
in the
> command line.
>
> If you are receiving a "not a recognized command or program", my
guess is
> it's not typed correctly. If you use the 8.3 file name format, you
need to
> make sure its correct (and these sometimes change from workstation
to
> workstation). I prefer to use the long filename method and assign
it to a
> variable and then use the DOS SILENT VALUE(variable) format. As
expected,
> the spaces in the command line, windows requires them to be in
quotes.
> Changing the initial value to make the value contain the quotes
(see below)
> will pass the correct value to the command line. (I always try not
to put
> spaces in my directory structure, they are such a pain to deal with)
>
> DEF VAR p AS CHARACTER INITIAL '"c:\program files\windows
> NT\accessories\wordpad.exe"'.
> DOS SILENT VALUE (p).
>
>
> -----Original Message-----
> From: Lonnie Drew [mailto:lonniedrew@c...]
> Sent: Friday, May 14, 2004 1:13 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Progress Procedure
>
>
> Oops, I meant to say.......
>
>
> > I tried the first suggestion...
> >
> > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > NT\accessories\wordpad.exe".
> > DOS SILENT VALUE (p).
> >
> > ... and still received the DOS error.
> >
> > The second suggestion...
> >
> > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> >
> > ... still yielded a DOS error message "not a recognized command
or
> > program" ...................?????
> >
> >
> > What do you think Michael?
> >
> >
> > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > <michael.podlin@v...> wrote:
> > > DEF VAR p AS CHARACTER INITIAL "c:\program files\windows
> > > NT\accessories\wordpad.exe".
> > > DOS SILENT VALUE (p).
> > >
> > > or
> > >
> > > DOS SILENT "c:\progra~1\window~1\access~1\wordpad.exe"
> > >
> > > yes it is that simple.
> > >
> > > -----Original Message-----
> > > From: Lonnie Drew [mailto:lonniedrew@c...]
> > > Sent: Friday, May 14, 2004 12:46 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Re: Progress Procedure
> > >
> > >
> > > It really depends on what program you're calling. For example,
I
> > > tried running "c:\program files\windows
> NT\accessories\wordpad.exe"
> > > with the DOS statement, and error message ...
> > > " 'c:\program' is not a DOS command"
> > > ..appeared.
> > >
> > > Not so simple is it.
> > >
> > > ShellExecuteA also provides more flexibility.
> > >
> > > --- In vantage@yahoogroups.com, "Podlin, Michael"
> > > <michael.podlin@v...> wrote:
> > > > DOS SILENT program name.
> > > >
> > > > can't get much simpler.
> > > >
> > > > -----Original Message-----
> > > > From: Aaron Hoyt [mailto:hoyt@h...]
> > > > Sent: Friday, May 14, 2004 12:09 PM
> > > > To: vantage@yahoogroups.com
> > > > Subject: [Vantage] Progress Procedure
> > > >
> > > >
> > > > Looking to the Progress geniuses out there in Vantage land.
I
> am
> > > trying
> > > > to call a windows program from a .p procedure that I have
> written
> > in
> > > > relation to a Business Activity Query. I am trying to use
> > Epicor's
> > > > lib\ShellExec.r program to call the windows program.
> > > > First, does someone know of an easier way to do this?
> > > > Second, if not, does anyone know the correct parameter to
pass
> to
> > > this
> > > > .r to get the call to work?
> > > > Any input is appreciated.
> > > >
> > > > Aaron Hoyt
> > > > Hittite Microwave Corporation
> > >
> > >
> > >
> > >
> > > 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
> > > Yahoo! Groups Links
>
>
>
>
> 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
> Yahoo! Groups Links



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


Yahoo! Groups Sponsor
ADVERTISEMENT






Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/

To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


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
Yahoo! Groups Links








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



Yahoo! Groups Sponsor

ADVERTISEMENT

<http://rd.yahoo.com/SIG=1293jnhea/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705007183:HM/EXP=1084881935/A=2128215/R=0/SIG=10se96mf6/*http://
companion.yahoo.com> click here

<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=468890440>


_____

Yahoo! Groups Links


* To visit your group on the web, go to:
http://groups.yahoo.com/group/vantage/


* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>


* 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]
We are going live next weekend with 6.1 and we just noticed a problem with
the Customer Ship to browser data. Could someone who has 6.1 installed
please tell me if your data is correct. When we open the ship to browser,
the data does not line up and the column headings do not match up with the
data. I am wondering if it our data or the program that is the problem.

Thank you
Colette Nunn
Director of Computer Services
East Moline Metal Products
1201 7th Street
East Moline, IL 61265
Phone: 309-752-1381
Fax: 309-752-1382
E-mail: cnunn@...


[Non-text portions of this message have been removed]