Re: CometAnywhere Launch


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on July 08, 2010 at 11:56:23:

In Reply to: Re: CometAnywhere Launch posted by Barbara Brazil on July 08, 2010 at 09:20:18:

Took the 2 out. File copied sucessfully.

Same 2/0 error from launch.

A larger section of the code. Shows the difference between local and CometAnywhere Launches.

----------------------------------------------------------------------
LET ARCFILE$ = WBBILL$ + '.PDF'
LET ARCNAME$ = STRIP(ZPDFPATH$) + 'FY' + PDFFY$ + '\' + PDFSRCE$ + '\' + STRIP(ARCFILE$)

LET Stat$ = Sub(Dstat(ITERM$ EXCP=LPV20),21,1)
If Sub(Binary(Stat$),8,1) NE "1" Go LPV20 ! not Comet Anywhere?
LPV10:
LET CAWNAME$ = '$(CATEMP)/' + WBBILL$ + '.PDF'
LET FLAGS = 0 + 512 + 1024 + 2048 !!!!!2
Print (CopyFile = ARCNAME$, CAWNAME$, FLAGS)
INPUT (0) ''

PRINT (LAUNCH = CAWNAME$) ! CometAnywhere Launch
GOSUB GetResult
IF FuncError LE 32
LET MBMSG$ = 'Launch Error:' + STR(FuncError) + '/' + STR(FileError)
MSGBOX(MBMSG$)
ENDIF
GOTO LPV90
LPV20:
PRINT (LAUNCH = ARCNAME$) ! Local Launch
INPUT ""
GOTO LPV90
LPV90:
RETURN
-------------------------------------------------------------------------------


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]