CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2001
    Location
    CO
    Posts
    7

    Printing an image from IIS app

    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

  2. #2
    Join Date
    Nov 2000
    Location
    Chicago
    Posts
    51

    Re: Printing an image from IIS app

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured