VB6 Excel App to .NET problem
I have VB6 code for an Excel based schedule app that I tried to convert with the "wizard". I got reams of errors, and I may have to just rewrite all the code in .NET. The .NET help system is awful. I can't even figure out the following 2 minor tasks:
1. Putting a reference to Excel in my new .Net App so that I can use Excels objects, properties, etc. I added a reference to Excel from the COM tab into the references, but it doesn't seem to work. I can't even do:
Dim wb as Excel.Workbook
2. I need to open the file "Schedule.xls" and view it while the App is running. It appears that I can only get a filestream, not open the actual file.
I feel maybe I should have stuck with VB6.
Thank you for your help.
vmz
__________________
vmz
|