Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old January 28th, 2003, 01:06 AM
jassh jassh is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 jassh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
MySQL + VB6

hiya fellas..

Does anybody know where i can get step by step Instruction on connecting VB6 application with MYSQL??

I believe this can be done, though i dont know how...
I also found out that it uses ADO..
(correct me if im wrong)

if anybody know...
please let me err.. know..

thanks in advanced...

-jassh

Reply With Quote
  #2  
Old January 28th, 2003, 02:16 PM
filefrog filefrog is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: West Peoria, IL
Posts: 62 filefrog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to filefrog
RE: MySQL + VB6

I work with a MySQL database that supplies data to an Access 2000 interface... which uses vb.

I used MyODBC 3.51. You can get it from mysql.com. I'm not sure it will work, but it's worth a shot. The only language connectors that I know they have are for C++ and Java. But you could look around their site http://www.mysql.com

Reply With Quote
  #3  
Old January 28th, 2003, 11:01 PM
jassh jassh is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 jassh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: MySQL + VB6

thaks froggy.. i have downloaded MyODBC... and have installed it..
and oh.. it support VB6..

it work find in retreiving data..
but.. it always have error when update..

gotta checkout some issue on that..
tell me if u got sum tips/trick..


anyway, thanks... really appreciated it..

take care buddy...
have a nice day

-jassh

Reply With Quote
  #4  
Old January 29th, 2003, 12:11 AM
filefrog filefrog is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: West Peoria, IL
Posts: 62 filefrog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to filefrog
RE: MySQL + VB6

Check your mysql logs to see whats going on. I once spent a whole day trying to figure out why i couldn't update from this one form. as it turned out, the user i was connecting as (as specified in the DSN) was only allowed to SELECT data from the database, not INSERT, UPDATE, or DELETE. so i could *see* the data just fine, just couldnt do much with it. sily me.

Reply With Quote
  #5  
Old January 29th, 2003, 09:12 AM
jassh jassh is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 jassh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: MySQL + VB6

hi there filefrog

ermm... here's a more specific to my problem..
kinda strange though...

i configured myodbc..
and everything went fine..

so i created a table customer
put some field..
(CustID, CustName, Phone)
and make the CustID primary key...
(coz i read somewhere, u gotta do that..)

then i uses my VB. (VB6 + SP5 running on Win2K)
Create 1 form for view, delete, navigate..
so i start enter data... using:and another form which i can enter new data..
then it'll update the data using

Form1.Adodc1.Recordset.Update

when i enter
CustID 1 to 9, no prob..

but when i enter bigger than 9, 13 for example..
it gives me this error.. :

---------------------------------
Run-time error '-2147217887 (80040e21)':
Multiple-step operation generated error. Check each Status value.
---------------------------------


strange though..
this would happen
even if there's only 2 record in the table..

for instance, the first CustID is 2,
then when i enter the second CustID, 11
Boom... it went error...

I'm puzzled, confused, and err.. blurred
Any idea Froggy??

Or maybe you wanna examine my code>>??

anyway..
thanks for ur kindness and time to help me out..

hope to hear from ya..
take care buddy..
have a nice day..

-jassh

Reply With Quote
  #6  
Old January 29th, 2003, 09:15 AM
jassh jassh is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 jassh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: MySQL + VB6

owh.. forgot to mention...

i logged on the Database using root..
err.. superuser.. i guess..

-jassh, again

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > MySQL + VB6


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek