How to open the 64 bit ODBC Data Source window using UFT Script

  • Questions
  • How to open the 64 bit ODBC Data Source window using UFT Script
Question ID: 108427
0
0

We tried the code below using UFT it is opening the 32 bit ODBC.

SystemUtil.Run "C:\\Windows\\System32\\odbcad32.exe"

When I do manually this opens the 64 bit window.

Please advise on a method to open the 64 bit ODBC.

Note :

True directory path for 64 bit directory path is C:\\Windows\\System32\\odbcad32.exe

True directory path for 32 bit directory path is C:\\Windows\\SysWOW64\\odbcad32.exe

Marked as spam
Posted by (Questions: 26, Answers: 0)
Asked on May 24, 2018 1:47 pm
7 views
Answers (1)
0
Private answer

You can try the below code to open the 64 bit ODBC Data source window using UFT :

Dim oShell
Set oShell = CreateObject64 (''WSCript.shell'')
oShell.run ''C:WindowsSystem32odbcad32.exe''
Set oShell = Nothing

Marked as spam
Posted by (Questions: 0, Answers: 27)
Answered on May 24, 2018 1:52 pm