I have created a Vb application/exe using ADODC components and common dialog box. but I am not able to run that application on another PC where VB6 is not installed.
Do I have to install some additional components on that PC? (Don’t want to install VB6 there).
How can I configure ODBC connection using code which we do manually from Control Panel -> Administrative Tools -> Data Sources -> Add new -> mdb ?
You should use the VB6 Package & Deployment wizard to generate an installer that will embed all the requirements and dependencies that your application needs to run.
That wizard is part of the VB6 development environment. Check the VB Start menu folder to find it.