Example Win32 - how to give your window a animated icon
This was another code request. Some of my friends and I were going over things we thought we could add to the site. Right now I am waiting to submit some of my big projects until next month.. So I have just been answering alot of requests on how to do certin things here and there, so that my postings dont stop since I am working on these other projects. All uploads marked example, or code request, are these types of programs. Examples made to show how to implement, or use specific concepts, not one of my personal program projects. This example shows you how to make your windows icon animate kinda like the ICQ icon does.
Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload
'You can't have a data grid column without a DataTable ... I think :)
Private dbTable As New DataTable("DTBL1")
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim i = 0
'Add 4 columns to the table
For i = 1 To 4
dbTable.Columns.Add("Col" & i)
Next
'Set the datasource to our database table
DataGrid1.DataSource = dbTable
End Sub