PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Change windows default printer ... Urgent

Reply

Change windows default printer ... Urgent

 
Thread Tools Rate Thread
Old 01-06-2005, 01:58 PM   #1
=?Utf-8?B?TWFyY3VzIFZpbsOtY2l1cyBNLiBNb250ZXphbm8=
Guest
 
Posts: n/a
Default Change windows default printer ... Urgent


Hi People!

I'm trying to change the windows default printer using this code:

http://www.dotnet247.com/247reference/msgs/3/19179.aspx

but when I execute this code, the error: Method not existis or not
implemented.

ocorred in this line: mo.InvokeMethod("SetDefaultPrinter", inParams, null);

mo: ManagementObject


Does anyone know how can I solve that?

tnks a lot

Marcus VinÃ*cius M. Montezano
..Net Developer

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off