Click here to Skip to main content
15,900,461 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Search text files... Pin
Briga24-Nov-05 7:13
Briga24-Nov-05 7:13 
AnswerRe: Search text files... Pin
Curtis Schlak.24-Nov-05 15:14
Curtis Schlak.24-Nov-05 15:14 
QuestionWinsock GetData Pin
Marc Soleda24-Nov-05 0:48
Marc Soleda24-Nov-05 0:48 
QuestionCrystal Reports Print Preview Pin
Anup Singh J23-Nov-05 23:59
Anup Singh J23-Nov-05 23:59 
QuestionBIG TROUBLE WITH STORING DATA INTO SQL SERVER 7.0,IN VB.NET Pin
ajay bharti23-Nov-05 23:51
ajay bharti23-Nov-05 23:51 
AnswerRe: BIG TROUBLE WITH STORING DATA INTO SQL SERVER 7.0,IN VB.NET Pin
Steve Pullan24-Nov-05 0:10
Steve Pullan24-Nov-05 0:10 
AnswerRe: BIG TROUBLE WITH STORING DATA INTO SQL SERVER 7.0,IN VB.NET Pin
Briga24-Nov-05 0:42
Briga24-Nov-05 0:42 
QuestionMDAC Version Pin
sarah_chandran23-Nov-05 23:44
sarah_chandran23-Nov-05 23:44 
Hi,

Can anyone please give me the code snippet in vb6 to check if MDAC is present on a machine and the MDAC version number if it is present.

Right now i have a code that checks the ADO version.
Here is the code:

Option Explicit

Function GetAdoVersion() As String
'Returns an empty string if ADO is not installed
Dim o As Object

On Error Resume Next
Set o = CreateObject("ADODB.Connection")

If Err.Number = 0 Then
GetAdoVersion = o.Version
Label1.Caption = "ADO Version = " & o.Version
Else
Label1.Caption = "ADO is not installed"
End If

End Function

Private Sub Form_Load()
Call GetAdoVersion
End Sub

Are ADO version and MDAC version the same always?


Thanks in advance,
Sarah

-- modified at 6:12 Thursday 24th November, 2005
AnswerRe: MDAC Version Pin
Dave Kreskowiak25-Nov-05 4:07
mveDave Kreskowiak25-Nov-05 4:07 
GeneralRe: MDAC Version Pin
sarah_chandran25-Nov-05 18:34
sarah_chandran25-Nov-05 18:34 
GeneralRe: MDAC Version Pin
oakleaf29-Nov-05 4:31
oakleaf29-Nov-05 4:31 
QuestionSQL DB Update Pin
Briga23-Nov-05 23:18
Briga23-Nov-05 23:18 
Questiongrouping radio buttons Pin
Mugombi23-Nov-05 23:16
Mugombi23-Nov-05 23:16 
AnswerRe: grouping radio buttons Pin
Briga23-Nov-05 23:28
Briga23-Nov-05 23:28 
Questiondatabase problem Pin
RiNaZaiNoN23-Nov-05 15:54
RiNaZaiNoN23-Nov-05 15:54 
AnswerRe: database problem Pin
Steve Pullan23-Nov-05 16:51
Steve Pullan23-Nov-05 16:51 
Questionaccess and vb6 Pin
RiNaZaiNoN23-Nov-05 15:15
RiNaZaiNoN23-Nov-05 15:15 
AnswerRe: access and vb6 Pin
toxcct24-Nov-05 1:57
toxcct24-Nov-05 1:57 
Questionaccess and vb6 Pin
RiNaZaiNoN23-Nov-05 15:12
RiNaZaiNoN23-Nov-05 15:12 
Questiondatabase using access and visual basic 6 Pin
RiNaZaiNoN23-Nov-05 15:08
RiNaZaiNoN23-Nov-05 15:08 
AnswerRe: database using access and visual basic 6 Pin
S Douglas23-Nov-05 22:57
professionalS Douglas23-Nov-05 22:57 
QuestionPerformanceCounter Pin
militiaware23-Nov-05 13:00
militiaware23-Nov-05 13:00 
AnswerRe: PerformanceCounter Pin
Steve Pullan23-Nov-05 13:24
Steve Pullan23-Nov-05 13:24 
QuestionUnicode??? Pin
militiaware23-Nov-05 12:31
militiaware23-Nov-05 12:31 
AnswerRe: Unicode??? Pin
Steve Pullan23-Nov-05 12:34
Steve Pullan23-Nov-05 12:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.