Click to See Complete Forum and Search --> : Printing an image from IIS app


Schmoop
October 22nd, 2001, 12:16 PM
I have an IIS application that recognizes an IP address, then based on that address, prints an invoice to the desired printer. When run in debug mode everything prints out as planned, however when accessed on the server through the internet everything BUT the image prints. Here is the code as is now. Any ideas, please help. Perhaps a permissions problem??

Dim X As New StdPicture

Set X = LoadPicture(strAppPath & "\images\X.gif")

Printer.PaintPicture X, 0.75, 0.5, 2.35, 0.75, , , , , vbSrcCopy

Rory

TB_Guy_2000
October 22nd, 2001, 01:49 PM
I had a similar problem when trying to create a gif file. I could make it work in beta land, but the users could not. It was a permission error. I had to set the permissions of the dll and the folder (i believe).

TB_Guy_2000