Michael,

Perfect!  That solved the problem relating to the batch file.  Now I
just need to get it working with my executable VB program.

 

- Mark

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Durrant, Michael M. - ITSD
Sent: Tuesday, October 16, 2007 1:58 PM
To: [email protected]
Subject: Re: $PROCESS$ Set Fields (Using Visual Basic or Batch File)

 

Mark,

    It's printing ALL output from your bat file.  Include the following
line at the top of your file and you should get the desired result:

 

    @echo off

 

    This suppresses all of the prompt info you'd normally see.

 

Michael

 

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Latta
Sent: Tuesday, October 16, 2007 1:07 PM
To: [email protected]
Subject: $PROCESS$ Set Fields (Using Visual Basic or Batch File)

** 

Listers,

 

Has anyone successfully used the $PROCESS$ Set Fields action with the
output of a Visual Basic 2005 executable file?  I get the dreaded ARERR
1603 error.  I could use a code snippet to see how the exit status code
and return value need to be coded.

 

I could also use a quick sample of a batch file that produces an output
that I can capture with the $PROCESS$ Set Fields action.

 

Here is what I tried:

 

batch.bat:

echo hello

 

Set Fields action:

$PROCESS$ C:\temp\batch.bat

 

Field Value:

D:\Program Files\AR System\User>echo hello 

hello

 

Why do I get the first line "D:\Program Files..." and how do I avoid it
without a REPLACE kluge?

 

Thanks in advance.

 

- Mark

__20060125_______________________This posting was submitted with HTML in
it___ The information contained in this email may be privileged,
confidential or otherwise protected from disclosure.  All persons are
advised that they may face penalties under state and federal law for
sharing this information with unauthorized individuals.  If you received
this email in error, please reply to the sender that you have received
this information in error.  Also, please delete this email after
replying to the sender. 

__20060125_______________________This posting was submitted with HTML in
it___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to