Click to See Complete Forum and Search --> : API function


sriky
September 21st, 1999, 07:19 AM
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

askus
September 22nd, 1999, 01:59 AM
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 : solutionproviders@hotmail.com
solutionproviders@yahoo.com

Hand Phone : +(6) 016 2237147 (Malaysia)