Jump to content
Xtreme .Net Talk

pmarius

Members
  • Posts

    3
  • Joined

  • Last visited

pmarius's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Ohh my God I'm so stupid, I could have noticed that before (to use RegistryPrinter.InstalledPrinters). -- Imagine that I used PrinterSettings.InstalledPrinters where I got only the name and when I instantiated an object from RegistryPrinters class I didn't know what parameters to give.That's why I had difficulty in how to call from outside, to get a registry value ! -- Your code is marvelous and now it works !!!!!!!!!!!!!! You almost saved my "life" because I had been working on it for 2 days and till you gave the answer I didn't manage with it ! - Thank you very much ! Bye Pop Marius from Hungary
  2. Thank you for your early reply ! Thank you ver ymuch But I still need your help ! -- you use : using mshtml !!!!!! my question is what dll do I have to import(add references) . In which dll do I find this namespace ? -- You wrote internal RegistryPrinter(string name, string value) { this.name = name; this.value = value; } I can give my printer's name but it's quite difficult to get the printer's registry(value). Could you show me how did you manage to call this RegistryPrinter class ! -- Tnaks in advance
  3. Hi everybody! - Does anyone have any idea how could I set the default printer from my C# code ? -- I would like to reach the same result as I would set the default printer from Control Panel/Printer ! -- What classes should I use? -- Thanks in advance for replies
×
×
  • Create New...