Frequently Asked Questions



Does the VB6TOCS work for VB.NET code?


No, VB6TOCS doesn't convert VB.NET code. It only work for VB6 code.



Does VB6TOCS work for VB6 User Controls?


Yes, It is.



Does VB6TOCS work for Line Control ?


No.



Does VB6TOCS work for ActiveX Data Object (ADO) ?


Yes. VB6TOCS can convert ADO to nceADO or ADODB.dll.



How to connect Ms Access with nceADO(nce.adoole namespace) ?


Before you run VB6TOCS, you need to change the original connection string as following:

Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Path to mdb file;

for example:

conn.Open "DSN=BIBLIO;"
or
DBPath="d:\test\biblio.mdb"
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath

Changes above connection string as following:

conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=d:\test\biblio.mdb"

Then run VB6TOCS with 'ado to nce.adoole' option.



How to connect SQL Server with nceADO(nce.adosql namespace) ?


Before you run VB6TOCS, you need to change the original connection string as following:

Data Source=<Your_SQLServer>;Initial Catalog=<Database name>;User Id=sa;Password=;

<Your_SQLServer> is the name or network address of the instance of SQL Server to which to connect.
<Database name> is the name of the database.

for example:
conn.Open "Data Source=localhost;Initial Catalog=pubs;User Id=sa;Password=;"

Then run VB6TOCS with 'ado to nce.adosql' option.



How to connect Oracle with nceADO(nce.adoora namespace) ?


Before you run VB6TOCS, you need to change the original connection string as following:

Data Source=<Oracle Data Source>;User Id=;Password=;

<Oracle Data Source>: Oracle Net Services Name, Connect Descriptor, or an easy connect naming that identifies the database to which to connect.
for example:
conn.Open "Data Source=oracle9i;User Id=scott;Password=tiger;"

Then run VB6TOCS with 'ado to nce.adoora' option.



Does VB6TOCS work for DAO ?


Yes.



Does VB6TOCS work for Data Control ?

No.



If you have any questions, please contact vb2cs@netcoole.com.