First Question :
I am getting this error in ..
[Microsoft][ODBC Microsoft Access Driver] Could not find file'(unknown)'
I have made a DSN through File System. I have added a reference of ADODB. At connection open I get this above error msg. However DSN is made.
Second Question :
What is the equivalent code for
Screen.Activefrom.Controls
I want to change the below vb 6 code to vb.net. I am just stuck with this Screen.Activefrom.Controls
Public Function ResetFormControls()
Dim Cnt As Control
For Each Cnt In Screen.ActiveForm.Controls
If TypeOf Cnt Is TextBox Then
If Cnt.TabIndex > 0 Then Cnt.Text = Empty
end if
Next
End Function
I am getting this error in ..
[Microsoft][ODBC Microsoft Access Driver] Could not find file'(unknown)'
I have made a DSN through File System. I have added a reference of ADODB. At connection open I get this above error msg. However DSN is made.
Second Question :
What is the equivalent code for
Screen.Activefrom.Controls
I want to change the below vb 6 code to vb.net. I am just stuck with this Screen.Activefrom.Controls
Public Function ResetFormControls()
Dim Cnt As Control
For Each Cnt In Screen.ActiveForm.Controls
If TypeOf Cnt Is TextBox Then
If Cnt.TabIndex > 0 Then Cnt.Text = Empty
end if
Next
End Function