helpneeded
Programmer
I've just started using VB6. When adding a data environment to my project I have problems connecting to a SQL server database. I add a connection and try to set up the data link properties. I Select Microsoft OLE DB Provider for SQL Server, I can select the named server but cannot see or select any of the databases on it. I just typed in the database name. If I click test connection I get the message Test Connection Succeeded.<br>
<br>
If I then add a command and try to set the properties I change Source of data to Table but can see no object names. I then get the message Operation requested by the application not supported by the provider.<br>
<br>
However I can connect using the SQL builder at second attempt, first attempt I get message Query designer encountered a MS design tools error, unspecified error. If I close and reopen it works fine. I know I must be doing something wrong, but what ?
<br>
If I then add a command and try to set the properties I change Source of data to Table but can see no object names. I then get the message Operation requested by the application not supported by the provider.<br>
<br>
However I can connect using the SQL builder at second attempt, first attempt I get message Query designer encountered a MS design tools error, unspecified error. If I close and reopen it works fine. I know I must be doing something wrong, but what ?