Coordinating Visual Basic with mySQL

Open discussion about any topic, as long as you abide by the rules of course!
Post Reply
glossy
Posts: 2282
Joined: Tue Apr 30, 2002 7:00 am

Coordinating Visual Basic with mySQL

Post by glossy »

i've been looking around on google for a while now, but i can't seem to find any decent resources for connecting a visual basic app to a mySQL database... all the examples are using exactly the same code which doesn't explain itself at all, nor does it seem to work for executing more than one query after a wait.

Basically, I'm writing a huge php song library, but retrieving >10,000 songs, weeding out a few of the broken ones, retrieving ID3 info from each one and putting it all into a database, then executing plenty of sql queries to INSERT each song into the database tends to take a while... So, I'm using Visual Basic to do all the really intensive stuff, and leaving php for the browsing and front-end part, which is good because it is allowed to take >5 minutes without everything dying on itself, but horrible due to complete lack of documentation.

I'd be using C++, but I'm really out of practice with it and would rather just get this part of the project done without relearning everything, plus the new stuff.

Any help, links, suggestions, "are you mad!?", etc. would be greatly appreciated, thanks guys :)
Dave
Posts: 6986
Joined: Sat Jan 15, 2000 8:00 am

Post by Dave »

I only connect to mssql, but as far as I'm aware all you need is ADO, a proper driver and the ability to deal with the quirks of the SQL langauge and you're ready to go
[quote="Duhard"]To survive a war you gotta become the war...teammates are useless.[/quote]
[quote="SOAPboy"]You happen to be out of your league when it comes to games.. so fuck off..[/quote]
[quote="GONNAFISTYA"]
I saw
the "Fist Signal" and
came runnin.
[/quote]
diego
Posts: 1379
Joined: Mon Jan 24, 2005 12:25 pm

Post by diego »

I worked with Oracle and PostgreSQL for the last 6 months, so if you need any help and if I find any time, send me a p.m. - I'll be happy to help you out.

PS: Cunt
Dave
Posts: 6986
Joined: Sat Jan 15, 2000 8:00 am

Post by Dave »

Oracle is retarded. I couldnt get my .NET application to work with it, so I had to build a privileged COM+ app to act as a proxy between the website and the database.
[quote="Duhard"]To survive a war you gotta become the war...teammates are useless.[/quote]
[quote="SOAPboy"]You happen to be out of your league when it comes to games.. so fuck off..[/quote]
[quote="GONNAFISTYA"]
I saw
the "Fist Signal" and
came runnin.
[/quote]
diego
Posts: 1379
Joined: Mon Jan 24, 2005 12:25 pm

Post by diego »

Well, it definitely has its downsides but the whole instances-management makes it worth it. Plus, it kinda pays a little better... for now at least.
bitWISE
Posts: 10704
Joined: Wed Dec 08, 1999 8:00 am

Post by bitWISE »

You didnt search very hard did you Dave?

http://www.oracle.com/technology/softwa ... index.html

They also have a JDBC that I've used to create Java based load testing scripts.
Dave
Posts: 6986
Joined: Sat Jan 15, 2000 8:00 am

Post by Dave »

bitWISE wrote:You didnt search very hard did you Dave?

http://www.oracle.com/technology/softwa ... index.html

They also have a JDBC that I've used to create Java based load testing scripts.
You're an idiot. I installed all of that, but because of permission errors, the ASPNET user on the webserver doesnt have the necessary access to use the oracle client. It's a known issue.
User avatar
GONNAFISTYA
Posts: 13369
Joined: Sun Jan 23, 2005 8:20 pm

Post by GONNAFISTYA »

Fuckin nerds.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

use ODBC.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
User avatar
PhoeniX
Posts: 4067
Joined: Fri Aug 04, 2000 7:00 am

Post by PhoeniX »

Billy Bellend
Posts: 456
Joined: Thu Feb 10, 2005 6:02 pm

Post by Billy Bellend »

i think if you thouroghly explain everything to Visual Basic on the benifits of sayd corodination with mySQL, things shoul fall right into place. :yes:
ilum0s
Posts: 84
Joined: Wed Feb 16, 2005 11:31 am

Post by ilum0s »

Foo wrote:use ODBC.
:icon14:

Pick up MyODBC here
bitWISE
Posts: 10704
Joined: Wed Dec 08, 1999 8:00 am

Post by bitWISE »

Billy Bellend wrote:i think if you thouroghly explain everything to Visual Basic on the benifits of sayd corodination with mySQL, things shoul fall right into place. :yes:
hahahaha i love you plained <3
Post Reply