Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 24th, 2005, 04:08 PM
Authorized User
 
Join Date: Oct 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB6 Excel App to .NET problem

I have VB6 code for an Excel based scheduling 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
__________________
vmz





Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Data Grid to Excel in VB.net Windows App alapativg VS.NET 2002/2003 0 September 2nd, 2006 02:28 AM
Depencies for my VB6 app Tank Beginning VB 6 3 December 22nd, 2005 07:39 PM
VB6 Excel App to .NET problem zayasv General .NET 0 October 24th, 2005 04:05 PM
VB6 App with CR9 problem ioates Pro VB Databases 0 May 10th, 2005 10:37 AM
Problem running app with ASP.NET akhilvira ASP.NET 1.0 and 1.1 Basics 1 January 14th, 2005 09:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.