VB.net
最爱吹吹风
觉悟
展开
-
VB.net中调用C\C++ 的DLL
只需要声明一句话,比如调用mfc_Calc.dll中的calc函数Public Declare Function calc Lib "mfc_Calc" (ByValaAs Integer, ByVal b As Integer) As Integer mfc_Calc是要调用的dll的名称calc 是要调用的函数,在dll中被声明为 int calc(int a , int原创 2013-05-11 16:22:40 · 3037 阅读 · 0 评论 -
VB.net SQL数据库操作
Public Class Form_main Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim sqlcon As String = "Provider=Microsoft.Jet.OLEDB.原创 2013-05-11 09:57:34 · 1255 阅读 · 0 评论