Avoid desktop visits & Windows Control pannel in order to add a data source. Samples script uses Oracle data source but can also be used for Notes database.

Download this free guide

Download: IT certifications that stand out

Are you looking to advance your career? Expand your knowledge? Boost your credibility? Our editors put together this complimentary 19-page guide on everything you need to know about obtaining an IT certification—with special attention given to cloud and desktop certifications.

result = SQLConfigDataSource(0, ODBC_ADD_DSN, dbDriver, dbAttributes) If (False = result) Then Msgbox "There was an error establishing the connection. You will have to do it manually.", 16, "Failure" Else Msgbox "Data Source Name ""Oasis Connection"" configured." End If

0 comments

Register

Login

Forgot your password?

Your password has been sent to:

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy