Office compatibility
Office compatibility
Office compatibility
Office compatibility
Office compatibility
Office compatibility Office compatibility Office compatibility Office compatibility Office compatibility Office compatibility Office compatibility Office compatibility
Office compatibility Office compatibility
Office compatibility
Go Back  Xtreme Visual Basic Talk > > > Office compatibility


Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2008, 03:43 AM
6sic6 6sic6 is offline
Newcomer
 
Join Date: Nov 2008
Posts: 1
Default Office compatibility


Hi,

I'm currently working on a big project for calculating concrete. It uses an Excel file as a 'database' where it gets the material properties from.
Now: i've added the Office Excel references into Visual Studio. These are the Office 2007 references because i have Office 2007 installed on my computer. When i try to run the app on a different computer, then it must have Office 2007 installed, otherwise i get error-messages about missing COM-components.
Now, the big question: how do i make my program compatible with all Office versions (2007, 2003, xp, ...)? Do i need to install the different Office versions on my main computer, and add all the libraries to Visual Studio ? Will it work then ?

Thanks in advance!
Reply With Quote
  #2  
Old 11-27-2008, 09:35 AM
DennisW's Avatar
DennisW DennisW is offline
Junior Contributor
 
Join Date: Mar 2006
Location: Östersund, Sweden
Posts: 268
Default

Hi,

This is a quite common problem, i.e. developers using the latest versions of Office while the business workers use older versions.

In general You should code against the oldest version in use within the company.

Having several Office installed side by side and working with .NET is a mess which will only give you grey hair.

The best option is that you use virtualization (Vmware et al) and in that way have several configurations. Hard disks are quire cheap so it shouldn't be a problem. This is the way I have solved the issue with working against several Office versions as well as language versions.
__________________
Kind regards,
Dennis

.NET & Excel | 2nd edition PED | MVP

Last edited by DennisW; 11-27-2008 at 09:36 AM. Reason: Language
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

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
Office compatibility
Office compatibility
Office compatibility Office compatibility
Office compatibility
Office compatibility
Office compatibility Office compatibility Office compatibility Office compatibility Office compatibility Office compatibility Office compatibility
Office compatibility
Office compatibility
 
Office compatibility
Office compatibility
 
-->