P
Phil
Hello
I've been looking at information at the following link:
http://support.microsoft.com/default.aspx?scid=kb;[LN];Q303814
and have tried the following in a VB.net application:
Dim cat As ADOX.Catalog
cat = New ADOX.Catalog
cat.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" &_
"Data Source=" & "C:\book1.xls;Extended Properties=Excel 8.0"
i.e. virtually what is given in the Microsoft example.
However, when I run this I get the error message:
"Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another."
Can anybody help?
Phil
I've been looking at information at the following link:
http://support.microsoft.com/default.aspx?scid=kb;[LN];Q303814
and have tried the following in a VB.net application:
Dim cat As ADOX.Catalog
cat = New ADOX.Catalog
cat.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" &_
"Data Source=" & "C:\book1.xls;Extended Properties=Excel 8.0"
i.e. virtually what is given in the Microsoft example.
However, when I run this I get the error message:
"Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another."
Can anybody help?
Phil