I used that several 1000 years ago

), so let me try it:
1) You must know your INFORMIXSERVER name (it is listed in onconfig file on SCO machine as DBSERVERNAME setting) - for this case let me assume it is
my_server
2) You must know port on which is informix (i.e. my_server) listening (it can be found in sqlhosts file on SCO machine - find row with my_server in firs column and then look in 4th column - if there is name instead of number then you should find this name in /etc/protocol file and find corresponding port number) - for this case let me assume it is
1526.
So far you have all data on SCO side.
Next, test connectvity from XP machine: open command prompt and type
telnet scomeld 1526
(followed by enter, of course)
If nothing happens (i.e. screen is cleared and cursor is in upper left corner), then you can connect to your IDS on SCO.
If you get something like:
Could not open connection....
then you have connectivity problem.
Next, let me assume you can connect to IDS.
Then, you can try connection string like this:
cn.ConnectionString = "DRIVER={IBM INFORMIX ODBC DRIVER};UID=" & _
txtLogin & ";PWD=" & _
txtPassword & ";DB=my_database;HOST=scomeld;" & _
"SRVR=my_server;SERV=1526;PRO=onsoctcp;"
HTH