Hi,

I am using the Printer object to print some text. The problem I am experiencing is that when running the webclass in source, the printing occurs, however, when running compiled, as a dll it fails to find any printers.

I attempted the same code in an activeX dll and the same thing happened. I then tried it in an exe and it worked in source and compiled. So, then I tried to use the Shell command to call the exe from the webclass and yet again it fails to work compiled.

I have tried using both the printer object and GetProfileString to get the printer, both fail.

I am using VB6 on Win2000 with a network printer.

Is this problem caused by the user/permissions of the DLL when running compiled? If so, is there a method of changing the user?

Has anyone any ideas regarding my problems with the printing, or the Shell command?

Any help would be most appreciated!

GL.