Page 1 of 1

Shell return codes

Posted: 2014-11-14T07:51:59-07:00
by stevenb46
I'm using:

Code: Select all

str_convFirst = "convert -density 960 -units PixelsPerInch -colorspace sRGB g54w08.eps -flatten -scale 10% -weight Bolder g54w08.png"
l_try = Shell(str_convFirst, vbHide) 'run line to generate png
in VB6

It completes, and renders a file. I'm getting back 6600 for l_try, what does this mean?

How do I know it completed or if it failed? Anyway to determine that based on return value?

Using Windows 7 - 64bit
IM 6.8.9 Q16

Re: Shell return codes

Posted: 2014-11-14T07:54:34-07:00
by stevenb46
Sorry, using VB6

Re: Shell return codes

Posted: 2014-11-14T10:56:08-07:00
by snibgo
Your questions are about Visual Basic. Sorry, I don't know the answers. Microsoft documentation would seem the obvious place to go, eg http://msdn.microsoft.com/en-us/library ... 60%29.aspx