Dear Vitamin Actually when this VB application runs under wine it has to read and write data on the SQL server 2000 which is on another machine in the network. The error is that VB application is unable to find the SQL server which is running on Windows 2003 machine and its ip is 192.168.41.82 and its name is webserver. So far I am able to ping this machine by ip and by name also from command prompt.