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,108 of 10,840    |
|    kchengso to Steen Gellett    |
|    Re: Printer Devicename - Can Change to U    |
|    24 Dec 04 17:38:57    |
   
   XPost: comp.lang.basic.visual.misc   
   From: kchengso@hotmail.com   
      
   I forgot to mention that Printer.Devicename is a read-only property in VB.   
   Therefore   
   Printer.Devicename = UCase (Printer.Devicename) is not a valid statement and   
   results in syntax error.   
      
      
   "Steen Gellett" wrote in message   
   news:41cbe1a3$0$230$edfadb0f@dread12.news.tele.dk...   
   >   
   > "kchengso" skrev i en meddelelse   
   > news:41cbaf17$1@news.starhub.net.sg...   
   > > One of my printers in my printer.devicename call returns in lower case.   
   Is   
   > > it possible for me to change it to upper case? I am also wondering how,   
   in   
   > > the first place, this particular printer devicename is coded in lower   
   > > case?   
   > > Is there a way to change it back using VB6?   
   > > Thanks   
   >   
   > A=UCase("Testing") ' A=TESTING   
   >   
   > A=LCase("Testing") ' A=testing   
   >   
   > UCase = uppercase   
   > LCase = lowercase   
   >   
   >   
   >   
   > >   
   > >   
   >   
   >   
      
   --- 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