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 10,161 of 10,840   
   JohnSmith to All   
   Code Change From Visual Basic.net - Visu   
   08 Aug 06 21:07:01   
   
   From: SpamRepellent@yahoo.com   
      
   I am working on a tuturial that i have for Visual basic.net ( for now )   
      
   I am working with Visual Studio 2005.   
      
   I have been working on a code to change the text color by the name put into   
   the text box.   
      
   Visual Basic .Net code.   
   Label2.ForeColor = Color.FromName(TextBox1.Text)   
      
   i get the error   
   Name 'Color' is not declared.   
      
   I was wondering if someone can show me how things would be in Visual Studio.   
      
   thank you   
      
   --- 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