Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I tested it on our network at work -
Your method appears better - on our network the Script didn't return the proper port. I don't have any file or print sharing enabled although I may have installed part of it once as a test. -- Regards, Tom Ogilvy "keepitcool" wrote in message ... Never used the Wscript before. I have broadband connect to the net. But no network. And as a security and performance measure I have NOT installed File and Printer Sharing. Moreever I disabled quite e few services and I have a reasonably tight Firewall. All things combined.. The Wscript Network object in itself creates ok. EnumNetworkDrives works IF the WebClient service is not disabled. I need FileSharing installed. (which I did for testing) and enabled Printer sharing on 1 printer. A Dfiferent error on EnumPrinters: 5 Invalid procedure call or argument No Luck. keepITcool < email : keepitcool chello nl (with @ and .) < homepage: http://members.chello.nl/keepitcool "Tom Ogilvy" wrote: I am not on a network and no error for me. I am connected to the internet, so perhaps that is the difference, but I would think you are as well. I am happy with the conditional compilation the way it is. -- Regards, Tom Ogilvy keepitcool wrote in message ... Since I'n not on a network... ERROR -2147023674 Method 'EnumPrinterConnections' of object 'IWshNetwork2' failed |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
LABEL PRINTERS | Excel Discussion (Misc queries) | |||
Excel cannot find printers | Excel Discussion (Misc queries) | |||
List of available printers | New Users to Excel | |||
List of Printers | Excel Programming | |||
Enumerating a multi-dimensional array | Excel Programming |