Win32FX(No MFC) Make your Win32 life alot easier
A few Win32 classes to make your life easier:The Form class,just call .Create(...) and .AttachWindow(...) to create it.Maby you want to put some events to your controls?No problem,just type .AddEvent(...).Or maby you have an array of controls?No problem again,assign a .AddArrayEvent(...) and you got it.As you can see it is more for newbies and those who have passed from VB,and to experineced people to lower allot of useless lines,just use the header and forget about ever having problems with Win32 creation.If many will wote i will upload more functions,and classes.Remember,this is not MFC,it has only the functions that are usefull,not all so many useless functions and initializations like MSC :))))))))
Résumé par IA: 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
Upload
''you must install odbc mysql 3.51 and odbc .net data provider
''1. create new windows application project
''2. add datagrid
''3. add private declaration after "Windows Form Designer generated code" region
Dim constring As String = "DRIVER={MySQL ODBC 3.51 Driver};SERVER=host;DATABASE=database;UID=username;PASSWORD=password;OPTION=3;"
''4. creat procedure...
Private Sub refreshdb()
Dim mdata As New DataSet
Dim mcmd As Odbc.OdbcDataAdapter = New Odbc.OdbcDataAdapter("SELECT * FROM table1", constring)
mcmd.Fill(mdata, "apdset")
Me.DataGrid1.DataSource = mdata
End Sub
''5. on form load event add the procedure
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
refreshdb()
End Sub
'' hope it helps :)
Upload