Jump to content

regevli

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Israel

About regevli

regevli's Achievements

0

Reputation

  1. hello i have this web application ment to be used by the local user only, i have iis installed on the local computer , now im trying to print excel wrksheet using th folowing code: function print_report(file) dim excel Set excel = CreateObject("Excel.Application") excel.application.visible= False excel.workbooks.open file,3,False excel.application.activeprinter="psc1100 on Ne00:" excel.application.sheets(1).printout excel.quit end function when i used it in one computer it worked fine but when i copied the program to another computer (using iis and all) i get an error like "cant set activeprinter in the application collection" whats the problem ? is there any other way to print excel file using asp ? thanks
×
×
  • Create New...