Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Excel > Need to referance an older version of Excell


Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2004, 09:20 AM
jfisher88 jfisher88 is offline
Freshman
 
Join Date: Feb 2004
Posts: 46
Default Need to referance an older version of Excell


I need to referance and older version of excell to be able to get my program working on an older machine at work how can this be done. I have Microsoft Excel 10.0 Object Library on the machine I wote the program on. I need to use Microsoft Excel 9.0 Object Library. Is there something that I can copy from the older computer to get Microsoft Excel 9.0 Object Library to showup in my list of referances in VB?

Thanks In advance
Jason
Reply With Quote
  #2  
Old 05-13-2004, 10:54 AM
Mike Rosenblum's Avatar
Mike Rosenblum Mike Rosenblum is offline
Microsoft Excel MVP

Forum Leader
* Guru *
 
Join Date: Jul 2003
Location: New York, NY, USA
Posts: 7,848
Default

Not that I know of... Ideally you would compile your VB6 App on a machine that had Excel 9.0 on it.

To be honest though, "binding high" (that is, compiling in Excel 10.0) and "running low" (running on an Excel 9.0 machine) should run fine. Even though this arranegement is not officially recommended ("Binding Low" and "Running High" is better) I've not been able to get this technique to fail, so long as one does not use any of the newer commands that do not exist in Excel 9.0 (which is very few).

The last option would be to use Late Binding, but I would only do that if absolutely neccessary as there are a number of drawbacks. Have a read in Herilane's Early vs. Late Binding Tutorial for more info.

But, in short, I would simply compile in Excel 10.0 and then run it on a 9.0 machine. It actually should run fine. If that does not work, then my next choice would be to load VB6 onto the Excel 9.0 PC and compile there. Then you can distribute this 9.0 version to 9.0 or 10.0 machines without any trouble. Using Late Binding would be my absolute last choice and should not be necessary...

-- Mike
__________________
My Articles:
| Excel from .NET | Excel RibbonX using VBA | Excel from VB6 | CVErr in .NET | MVP |
Avatar by Lebb
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Problem - PLs help urgenlty dpdsouza Installation / Documentation 4 12-02-2004 07:09 PM
HELP!!what type of SVG Version is installed!!! sonia Web Programming 3 01-23-2004 08:31 AM
"You do not have a license to use this ActiveX control." AcidicChip Installation / Documentation 3 12-27-2002 01:42 PM
Checking Version... Downloading latest version... Kiwi General 17 11-27-2001 06:23 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->