Registering an Informix database in VB
Posted in 1995
I am trying to register an Informix database in VB application but with no success. The register database command will not update my ODBC.INI file correctly. If I set the silent parameter of the RegisterDatabase command to false and enter the information in manually it works OK. The code below shows what I am trying to do. Att = "Database = Dial" & Chr$(13) Att = Att & "HostName = gem" & Chr$(13) Att = Att & "LoginID = deanh" & Chr$(13) Att = Att & "Service = sqlexec" & Chr$(13) Att = Att & "YieldProc = 1" & Chr$(13) Att = Att & "Protocol = tcp-ip" & Chr$(13) Att = Att & "CursorBehavior = 0" RegisterDatabase "Dial", "INTERSOLV INFORMIX5", True, Att Can anybody help me? Please email me on deanh@Unipalm.Pipex.Com