all groups > macromedia flash flash remoting > september 2005 >
You're in the

macromedia flash flash remoting

group:

Flash vb dll / mysql connection


Flash vb dll / mysql connection dominicwells
9/14/2005 11:13:31 PM
macromedia flash flash remoting:
Hi,

I have written a dll in vb which sits on my webserver. At the moment I use asp
to talk to the dll which in turn collects / sets information in a mysql
database.
I would like to either connect directly to the mysql database from flash or
call functions in the dll (from flash) as I currently can from an asp file.

Any help / advice would be much appretiated.

Thanks,

Dom.
Re: Flash vb dll / mysql connection htmlmaniac
9/17/2005 4:20:16 AM
Well I foumd this artical on connecting to mysql in an asp page. What you could
do is create a page thats reads variables from the url and access the database
with it. Then when you have finished the asp page, you would open it in flash
with sertian variables that tell asp to send your data to mysql. So if you
don't already know how to create a connection just using asp here's the artical.


http://www.devarticles.com/c/a/ASP/Using-MyODBC-To-Access-Your-MySQL-Database-Vi
a-ASP/
Re: Flash vb dll / mysql connection dominicwells
9/17/2005 9:15:40 AM
Hi,

Cheers for the response.

Are you suggesting using the geturl function? I don't really want to navigate
away from the main window. Do you know of any way of talking to a vb dll
directly from flash possibly using fscommand or something? as this would solve
my problem.

Cheers.
Re: Flash vb dll / mysql connection htmlmaniac
9/24/2005 12:10:50 PM
You might create a vb program. Then in flash just run the program and it would
take the out put and use the dll to send it to mysql. You can probly use the
fscommand. You might have to research a little to find what you want. Hope that
answered your question.:)
Re: Flash vb dll / mysql connection dominicwells
9/25/2005 12:00:00 AM
Hi,

I don't really get what you mean, you say write a vb program and get flash to
run it. Are you suggesting using an exe rather than a dll? How would you get
flash to run an exe / dll on a webserver?
Also you say use the fscommand but have you any idea what I need to do with
it? I have researched it for a while but got stuck which is why I asked on this
forum hoping that one of the developers may have the answer to my question.

Dom
AddThis Social Bookmark Button