shrikant.kudlur wrote:
its giving an error like the host not allowed to connect to mysql server
If you must use a language that has been dead for a decade, that always sucked and that is totally unsupported now, at least make things a bit easy for us by telling us the ACTUAL error message.
The error seems to suggest that MySQL is configured to not allow this connection, is it over a network, or on the local machine.
Either way, VB6 is crap, it always was, and certainly it is dumb to be learning to use it in 2010.