home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,114 of 10,840   
   Raoul Watson to kchengso   
   Re: Printer Devicename - Can Change to U   
   26 Dec 04 20:03:53   
   
   XPost: comp.lang.basic.visual.misc   
   From: WatsonR@IntelligenCIA.com   
      
   "kchengso"  wrote in message   
   news:41ccc145$1@news.starhub.net.sg...   
   > Thanks for comments from Steen, Jan and Mike.   
   > I am able to follow what Steen suggested to change the returned value of   
   > Printer.Devicename. However, my intention is to change the   
   > Printer.Devicename itself to Upper Case and to write it back into the   
   Window   
   > Registry, so that the next time I call it, the returned value of the   
   > Printer.Devicename will be in Upper Case instead of lower case.   
   > This might seem trivial but it is made difficult as Printer.Devicename is   
   a   
   > read only property.   
   > Appreciate your help.   
   >   
   This is indeed a registry setting under current version\Windows\Device. For   
   example, on W2K, this is at   
   HKEY_CURRENT_USER\Software\Microsoft\Windows   
   NT\CurrentVersion\Windows\Device   
   Just watch the rest of it, for example, the spooler and the port is also   
   recorded.   
   I strongly recommend *against* dinkin' around with this..   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca