Click here to Skip to main content
15,916,692 members
Home / Discussions / Database
   

Database

 
Questiongetting column from the dataset Pin
dayakar_dn18-May-06 21:34
dayakar_dn18-May-06 21:34 
AnswerRe: getting column from the dataset Pin
NICE TO MEET18-May-06 22:59
NICE TO MEET18-May-06 22:59 
AnswerRe: getting column from the dataset [modified] Pin
turbochimp21-May-06 20:00
turbochimp21-May-06 20:00 
QuestionLogin help? Pin
eric_tran18-May-06 19:09
eric_tran18-May-06 19:09 
AnswerRe: Login help? Pin
sparks8018-May-06 20:05
sparks8018-May-06 20:05 
AnswerRe: Login help? Pin
Colin Angus Mackay18-May-06 20:21
Colin Angus Mackay18-May-06 20:21 
AnswerRe: Login help? Pin
eric_tran19-May-06 3:06
eric_tran19-May-06 3:06 
QuestionVB6 and MySQL without DCOM Pin
sparks8018-May-06 14:46
sparks8018-May-06 14:46 
Hi,

I have written a very simple application using VB6 and ADO that connects to a MySQL database. I want to be able to distribute the program to somebody who will not install DCOM (on windows XP), however I understand that DCOM is one of the file dependencies for MDAC to function.

At the moment the program references the 'Microsoft ActiveX Data Objects 2.8' library.

Here is the code I am using to connect to the database :

<code>Set gCnn = New ADODB.Connection
gCnn.ConnectionTimeout = 10
gCnn.CommandTimeout = 400
gCnn.CursorLocation = adUseClient
gCnn.Open "DRIVER={MySQL ODBC 3.51 Driver};" & _
"user=" & txtUser & _
";password=" & txtPassword & _
";database=" & txtDatabase & _
";server=" & txtServer & _
";option=" & (1 + 2 + 8 + 32 + 2048 + 16384)</code>


To be more specific when the program is run on the machine without DCOM a message box is displayed with the message "-2147467259 Unspecified error".

I am curious to know if there is any way to make ADO work without first installing DCOM, or alternatively is there another method that I could use instead?

Thanks in advance for any help,

Mark
QuestionMeasuring query execution time Pin
tibiz18-May-06 4:12
tibiz18-May-06 4:12 
QuestionCreate Complex Trigers need help Pin
dadax_8518-May-06 3:00
dadax_8518-May-06 3:00 
AnswerRe: Create Complex Trigers need help Pin
Eric Dahlvang18-May-06 6:51
Eric Dahlvang18-May-06 6:51 
GeneralRe: Create Complex Trigers need help Pin
dadax_8518-May-06 9:03
dadax_8518-May-06 9:03 
QuestionHierarchal sql query problem Pin
Paddy Boyd18-May-06 1:18
Paddy Boyd18-May-06 1:18 
QuestionRe: Hierarchal sql query problem Pin
Eric Dahlvang18-May-06 6:33
Eric Dahlvang18-May-06 6:33 
AnswerRe: Hierarchal sql query problem Pin
Paddy Boyd18-May-06 22:09
Paddy Boyd18-May-06 22:09 
Questionsql/inner join statement Pin
playout18-May-06 0:44
playout18-May-06 0:44 
GeneralRe: sql/inner join statement Pin
George L. Jackson18-May-06 16:09
George L. Jackson18-May-06 16:09 
QuestionSQL Server Not Connecting Pin
Brendan Vogt18-May-06 0:32
Brendan Vogt18-May-06 0:32 
AnswerRe: SQL Server Not Connecting Pin
r.stropek4-Jun-06 5:59
r.stropek4-Jun-06 5:59 
QuestionMAXIMUM Leength of varchar Pin
NICE TO MEET18-May-06 0:28
NICE TO MEET18-May-06 0:28 
AnswerRe: MAXIMUM Leength of varchar Pin
Colin Angus Mackay18-May-06 0:35
Colin Angus Mackay18-May-06 0:35 
QuestionCombobox Pin
ADY00717-May-06 22:52
ADY00717-May-06 22:52 
QuestionComparison of two tables to catch mismatch in data Pin
Vishucool17-May-06 20:47
Vishucool17-May-06 20:47 
AnswerRe: Comparison of two tables to catch mismatch in data Pin
Jim Conigliaro19-May-06 2:11
Jim Conigliaro19-May-06 2:11 
QuestionError Message Pin
NICE TO MEET17-May-06 20:34
NICE TO MEET17-May-06 20: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.