|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
color problemI am new to VB and I am creating a simple calculator for practice. I am using
VB .Net I want button's background color to change when mouse hover over it but VB keep tell me that Name 'color' is not declared. following is the code Private Sub plus_button_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles plus_button.MouseHover plus_button.BackColor = Color.Blue End Sub Almost everybody in this newsgroup is using VB6 or lower. While
you may get a stray answer to VB.NET (including VB2003 and VB2005 which has dropped .NET from its name) questions here, you should ask them in newsgroups devoted exclusively to .NET programming. Look for newsgroups with either the word "dotnet" or "vsnet" in their name. For the microsoft news server, try these newsgroups for Visual Basic .NET related questions... microsoft.public.dotnet.languages.vb microsoft.public.dotnet.languages.vb.upgrade microsoft.public.dotnet.languages.vb.controls microsoft.public.dotnet.languages.vb.data And these for more general .NET questions microsoft.public.dotnet.general microsoft.public.vsnet.general Note: There are many other .NET newgroups (use the first three "fields" from the last two as templates when searching for them), but the above ones should get you started. Rick "cyzpro" <cyz***@discussions.microsoft.com> wrote in message practice. I am usingnews:17EAFC45-3AE7-4616-A4CB-71211CA9F8BA@microsoft.com... > I am new to VB and I am creating a simple calculator for > VB .Net it but VB> I want button's background color to change when mouse hover over > keep tell me that Name 'color' is not declared. System.Object, ByVal> following is the code > Private Sub plus_button_MouseHover(ByVal sender As Show quoteHide quote > e As System.EventArgs) Handles plus_button.MouseHover > plus_button.BackColor = Color.Blue > End Sub
Newbie: How to extract year from a Date object
VB6 : Attach Event Handlers to Dynamically Generated Controls Newbie: FOR loop on dates Declaring a Constant List all jpg files from folder (loop problem) Random first random number delete Question on printing with Snapshot from VB 6 Do The Runtime DLLs Come With Win2000? XMLdoc for VB |
|||||||||||||||||||||||