Tobias Posted April 12, 2006 Share Posted April 12, 2006 I need to save the users IP and some other basic stuff into a SQL-database on a hosted server. On my own computer it works great when I use: $adoCon = ObjCreate("ADODB.Connection") $adoCon.Open($fetchedconnectionstring) But $adoCon.Open($fetchedconnectionstring) gives an error message on a completely clean XP machine telling me: The requested action with this object has failed. Are there any alternatives for me other than using ADODB? Very grateful for fast answer! Regards, Tobias Link to comment Share on other sites More sharing options...
Uten Posted April 12, 2006 Share Posted April 12, 2006 I need to save the users IP and some other basic stuff into a SQL-database on a hosted server.On my own computer it works great when I use:$adoCon = ObjCreate("ADODB.Connection")$adoCon.Open($fetchedconnectionstring)But $adoCon.Open($fetchedconnectionstring) gives an error message on a completely clean XP machine telling me: The requested action with this object has failed.Are there any alternatives for me other than using ADODB?Very grateful for fast answer!Regards,TobiasMicrosoft used to have seperate installations for ADO wiche you can distribute with your program, or even have the program download and install it.Guite many SQL servers have a mail backend suport. Mail your ip to a mailserver where the sql servers reads it's mail. Or if you do not want to install anything on your clients and mail is not a option create your own little server pice of software to be used on a computer with the correct ADO objects installed and have your clients connect to your server passing on the information. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Tobias Posted April 12, 2006 Author Share Posted April 12, 2006 Microsoft used to have seperate installations for ADO wiche you can distribute with your program, or even have the program download and install it.Guite many SQL servers have a mail backend suport. Mail your ip to a mailserver where the sql servers reads it's mail. Or if you do not want to install anything on your clients and mail is not a option create your own little server pice of software to be used on a computer with the correct ADO objects installed and have your clients connect to your server passing on the information.Thank's a lot for the suggestions! I don't think I dare to install anything on my clients except the script file so I have to find another solution than ADO. Can you point me in any direction how to connect and pass information to my Internet based server?Regards,Tobias Link to comment Share on other sites More sharing options...
Uten Posted April 12, 2006 Share Posted April 12, 2006 Look in the "Network Functions" section of the help file. If you have a web server you might be intrested in the IE.au3 udf by DaleHome. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now