|
-
Jan 9th, 2017, 05:28 PM
#1
Thread Starter
New Member
Inside my DLL- get list of printers
I'm using Visual Studio 2015. I have a Visual Basic DLL.
Inside the DLL, I'm trying to get a list of printers.
I get an "Unspecified error " on
strComputer = "."
objWMIService = GetObject("winmgmts:\\ & strComputer & "\root\cimv2")
the "GetObject" is where I get the error.
Overview- I have a web page. I want the user to push a button. It calls
my DLL that is on the server and it submits a document to the print job.
The printing is done on the server, NOT the client printer.
Suggestions ?
TIA
Shall42
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|