Hello,

I have strange problem. I compiled DLL in VB with PrintSomething function
like:

Printer.ScaleMode = vbTwips

Dim oPic As stdole.IPictureDisp
Set oPic = LoadPicture("C:\PICTURE.BMP")
Printer.PaintPicture oPic, 565, 565, 2255, 900

Printer.Font = "Humanst521 Lt BT"
Printer.FontSize = 8
Printer.FontItalic = False
Printer.FontBold = False

Printer.CurrentY = 525

Printer.CurrentX = 2970
Printer.Print "TEST"
Printer.EndDoc

then i call it from ASP:

Dim oTools
Set oTools = Server.CreateObject("TOOLS.clsWebTools")
oTools.PrintSomething

IT Prints word "TEST" but don't print this bitmap.
Web i copy same code to VB EXE application and
run this function, both will be printed.

No errors, just white space in place where must be bitmap?

Someone have any idea?

Tarmo