VB6 source code cannot connect to Oracle database after compile to file.exe
584926Jun 26 2007 — edited Jun 26 2007Hi All,
I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
Here is sample of my code connection.
---------------------------------------------------
Option Explicit
Private wsData As New ADODB.Connection
wsData.ConnectionString = _
"Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
wsData.Open
End sub
---------------------------------------------------
Rgads,
Ats.