Feeds:
Posts
Comments

Archive for August 13th, 2006

Create a button run time

‘Create the button
Dim btn As New Button()
‘Specify the location and the size
btn.Location = New System.Drawing.Point(200, 30)
btn.Size = New System.Drawing.Size(100, 20)
btn.Text = “New Button”
‘Add it to the forms control collection
Me.Controls.Add(btn)
‘Link the event to the event handler
AddHandler btn.Click, AddressOf Me.ClickButton

Read Full Post »

Create Controls at Runtime

Someitme we need to create control at runtime, Here is a good example to create control runtime.
http://www.developerfusion.co.uk/show/4393/

Read Full Post »

SqlConnection is the SqlServer implementation, OleDb was everything ‘else’ . That’s been minimized to some degree since the addition of the ODBC and Oracle libraries in the 1.1 framework so OleDbConnection should probably be renamed to PeopleWhoStillUseMSAccessConnection

Read Full Post »