Are you getting any errors when running your VB executable using the
$PROCESS$? If so what is the error?

Joe D'Souza
  -----Original Message-----
  From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Mark Latta
  Sent: Tuesday, October 16, 2007 4:21 PM
  To: [email protected]
  Subject: Re: $PROCESS$ Set Fields (Using Visual Basic or Batch File)


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

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: 10/16/2007
2:14 PM


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

Reply via email to