I need to open the ODBC data sources window box from inside my VB application. Can some one let me know which API function I need to use.
Thanks
Printable View
I need to open the ODBC data sources window box from inside my VB application. Can some one let me know which API function I need to use.
Thanks
use this command in VB for a winnt OS
Shell "rundll32.exe shell32.dll,Control_RunDLL c:\winnt\system32\odbccp32.cpl", vbNormalFocus
use this command in VB for a Win 95 OS
Shell "rundll32.exe shell32.dll,Control_RunDLL c:\win95\system32\odbccp32.cpl", vbNormalFocus
use this command in VB for a Win 95 OS
Shell "rundll32.exe shell32.dll,Control_RunDLL c:\win98\system32\odbccp32.cpl", vbNormalFocus
Dont change the Case of the String within double quotes its case sensitive
The Ultimate Solution Providers
Authors
Sriman & Jayaraman
Email : [email protected]
[email protected]
Hand Phone : +(6) 016 2237147 (Malaysia)