M
Manikandan
Hi,
I have a program written in .Net Framework 1.1 using Visual studio
enterprise edition 2003.
I tried compiling the same program in visual c# express edition 2005.
I'm getting following errors
1.Error 6 Cannot implicitly convert type 'mscomctl.Toolbar []' to
'mscomctl.Toolbar . An explicit conversion exists (are you missing a
cast?)
2.Error 8 Cannot implicitly convert type 'ADODB.Connection []' to
'ADODB.Connection . An explicit conversion exists (are you missing a
cast?)
3.Error 7 The type 'ADODB.Connection' is defined in an assembly that
is
not referenced. You must add a reference to assembly 'ADODB,
Version=2.5.0.0, Culture=neutral, PublicKeyToken=5f3923b67859be87'.
4.Error 10 Cannot implicitly convert type 'ADODB.Recordset []' to
'ADODB.Recordset An explicit conversion exists (are you missing a
cast?)
5.Error 12 Argument '2': cannot convert from 'ADODB.Recordset
6.Error 15 Argument '2': cannot convert from 'ADODB.ExecuteOptionEnum
to 'ADODB.ExecuteOptionEnum []'
7.
Error 21 Assembly generation failed -- Referenced assembly
'Interop.ADODB' does not have a strong name ExcelInterop
I have referenced all assemblies.
The dll referenced are
1.ADOR
2.Interop.ADODB
3.MSCOMCTL.interop
4.stdole
5.Excel interop
I tried to solve the above the errors, but not possible
Is it possible to compile an application written in .NET 1.1
Framework
using visual c# express edition 2005.I'm mainly using excel(web
office
components in my program) for the application
Kindly help me out to solve the errors
Thanks,
Mani
I have a program written in .Net Framework 1.1 using Visual studio
enterprise edition 2003.
I tried compiling the same program in visual c# express edition 2005.
I'm getting following errors
1.Error 6 Cannot implicitly convert type 'mscomctl.Toolbar []' to
'mscomctl.Toolbar . An explicit conversion exists (are you missing a
cast?)
2.Error 8 Cannot implicitly convert type 'ADODB.Connection []' to
'ADODB.Connection . An explicit conversion exists (are you missing a
cast?)
3.Error 7 The type 'ADODB.Connection' is defined in an assembly that
is
not referenced. You must add a reference to assembly 'ADODB,
Version=2.5.0.0, Culture=neutral, PublicKeyToken=5f3923b67859be87'.
4.Error 10 Cannot implicitly convert type 'ADODB.Recordset []' to
'ADODB.Recordset An explicit conversion exists (are you missing a
cast?)
5.Error 12 Argument '2': cannot convert from 'ADODB.Recordset
6.Error 15 Argument '2': cannot convert from 'ADODB.ExecuteOptionEnum
to 'ADODB.ExecuteOptionEnum []'
7.
Error 21 Assembly generation failed -- Referenced assembly
'Interop.ADODB' does not have a strong name ExcelInterop
I have referenced all assemblies.
The dll referenced are
1.ADOR
2.Interop.ADODB
3.MSCOMCTL.interop
4.stdole
5.Excel interop
I tried to solve the above the errors, but not possible
Is it possible to compile an application written in .NET 1.1
Framework
using visual c# express edition 2005.I'm mainly using excel(web
office
components in my program) for the application
Kindly help me out to solve the errors
Thanks,
Mani