标题:为什么 DLL 加载错误
只看楼主
admin73896
Rank: 1
等 级:新手上路
帖 子:43
专家分:0
注 册:2014-5-9
结帖率:81.82%
 问题点数:0 回复次数:0 
为什么 DLL 加载错误
Public adoCon As New ADODB.Connection
Public adors As New ADODB.Recordset
Public op As String
Public Function cnn() As ADODB.Connection
  Set cnn = New ADODB.Connection
  cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "D:\VB数据\clgl.mdb" & ";Persist Security Info=False"
End Function
Public Sub main()
    Set adoCon = New ADODB.Connection
    adoCon.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "D:\VB数据\clgl.mdb" & ";Persist Security Info=False"
    frmLogin.Show
    frmLogin.Text1.SetFocus
End Sub
Function valiText(keyIn As Integer, validateString As String, Editable As Boolean) As Integer
Dim valiDatelist As String
Dim keyOut As Integer
  If Editable = False Then
     valiDatelist = UCase(validateString) & Chr(8)
  Else
     valiDatelist = UCase(validateString)
  End If
  If InStr(1, valiDatelist, UCase(Chr(keyIn)), 1) > 0 Then
     keyOut = keyIn
  Else
     keyOut = 0
  Beep
  End If
  valiText = keyOut
End Function
Public Sub main1()
    Set adoCon = New ADODB.Connection
    adoCon.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "D:\VB数据\clgl.mdb" & ";Persist Security Info=False"
End Sub
搜索更多相关主题的帖子: False 
2014-05-29 16:29



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-432241-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013684 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved