>Someone knows the commands to start the configuration of a new data sources in Windows from vfp ? I don't need the API commands to ceate or modify a data sources but only the command to start the configuration. Once started the user insert all data for setup data source. (ODBC, OLEDB,etc)
I'm not sure why would you want to do that but here it goes
oShell = CREATEOBJ('Shell.Application')
oShell.ShellExecute("odbcad32.exe")
lcUdlFile = FULLPATH("Temp.udl")
= STRTOFILE("", lcUdlFile)
oShell.ShellExecute(lcUdlFile)
--sb--