Display: Cloud | List
Most Popular Tags
Results (6 total) All > .net (x) > basic (x)
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:58:45 PM
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:37:35 PM
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:25:00 PM
VB.Net code sample. (ButtonBase.FlatAppearance Property (System.Windows.Forms))
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.BackColor = Color.Black Button1.ForeColor = Color.White Button1.FlatAppearance.BorderColor = System.Drawing.Color.Red Button1.FlatAppearance.BorderSize = 1 Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat End Sub End Class
Last modified by John Anthony Oliver on 1/31/2011 4:25:46 PM
Easy way using TableAdaptors (Retrieving Identity or Autonumber Values)
I found a great way for Retrieving Identity or Autonumber Values from Access when using VB .NET 2008 TableAdaptors.Adding a row using a TableAdaptor typically looks like this:Dim myDataRow As DataRow = Me.tablenameDataRowMe.myDataSet.tablename.Rows.Add(myDataRow)Me.tablenameTableAdapter.Update(myDataRow)An easy way to retrieve the Identity value is to open the TableAdaptor connection prior to the
Last modified by Art_B on 2/26/2010 5:44:33 PM
Using the WscGetSecurityProviderHealth Function in Visual Basic .Net (WscGetSecurityProviderHealth function (Windows))
Some people are looking for this funtion implementation is social msdn forum, so I thought I will put a simple example Declare Function WscGetSecurityProviderHealth Lib "Wscapi" (ByVal InValue As Integer, ByRef outValue As Integer) As IntegerPublic Enum _WSC_SECURITY_PROVIDERWSC_SECURITY_PROVIDER_FIREWALL = 1WSC_SECURITY_PROVIDER_AUTOUPDATE_SETTINGS = 2WSC_SECURITY_PROVIDER_ANTIVIRUS = 4WSC_SECUR
Last modified by Arjun Paudel on 4/5/2009 2:30:41 PM
Page view tracker