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,109 of 10,840   
   Jan Hyde to All   
   Re: Printer Devicename - Can Change to U   
   24 Dec 04 10:12:36   
   
   XPost: comp.lang.basic.visual.misc   
   From: StellaDrinker@REMOVE.ME.uboot.com   
      
   "kchengso" 's wild thoughts were   
   released on Fri, 24 Dec 2004 17:38:57 +0800 bearing the   
   following fruit:   
      
   >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 was just pointing out that once you have the printer   
   name, you can do what you like with it.   
      
   Why are you bothered about the case anyway?   
      
   J   
      
      
   >   
   >"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   
   >>   
   >>   
   >>   
   >> >   
   >> >   
   >>   
   >>   
   >   
      
      
   Jan Hyde (VB MVP)   
      
   --   
   “Deck the halls with Buddy Holly” (Richard Lederer)   
      
   [Abolish the TV License - http://www.tvlicensing.biz/]   
      
   --- 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