473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Using a VB Application with Different Office Versions

I am a developer who is slowly getting to grips with developing applications
using Microsoft Visual Studio 2002, specifically the Visual Basic element.

I've recently developed an application which connects to a SQL Server
database. When it runs a report, the front-end app sends the commands back
to SQL, which processes the report and sends the finished data back to the
front-end app, which pushes the information out to Microsoft Excel.

Everything works fine on my development machine, which is installed with
Microsoft Office 2003. However, when I publish the application and make it
available to the users, the reporting functionality fails at the point where
the front-end application is trying to control Excel. I believe the cause
of this to be the fact that the user base has a mixtureof Excel 97 and Excel
2000 (mostly 2000).

Would this problem be solved by placing the relevant Excel assemblies into
the GAC? I've read about this, but am unsure as to whether or not this
would be the best approach. Also, because the application is designed to
run from a central server, not the individual client PC, presumably I would
have to register the assemblies on the server's GAC?

I hope someone can advise me on this soon - it's beginning to do my head in!

Ian Henderson
VB.NET/SQL Server Programmer
Jul 21 '05 #1
1 1209

"Ian Henderson" <ia************@hotmail.com> wrote in message
news:cs**********@sparta.btinternet.com...
I am a developer who is slowly getting to grips with developing applications using Microsoft Visual Studio 2002, specifically the Visual Basic element.

I've recently developed an application which connects to a SQL Server
database. When it runs a report, the front-end app sends the commands back to SQL, which processes the report and sends the finished data back to the
front-end app, which pushes the information out to Microsoft Excel.

Everything works fine on my development machine, which is installed with
Microsoft Office 2003. However, when I publish the application and make it available to the users, the reporting functionality fails at the point where the front-end application is trying to control Excel. I believe the cause
of this to be the fact that the user base has a mixtureof Excel 97 and Excel 2000 (mostly 2000).

Would this problem be solved by placing the relevant Excel assemblies into
the GAC? I've read about this, but am unsure as to whether or not this
would be the best approach. Also, because the application is designed to
run from a central server, not the individual client PC, presumably I would have to register the assemblies on the server's GAC?

I hope someone can advise me on this soon - it's beginning to do my head in!
Ian Henderson
VB.NET/SQL Server Programmer

Hmm, can you create a minimal sample program or show some code with the
problems you describe?

/Fredrik
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: GujuBoy | last post by:
i want to check to see if a certain program is installed on my windows box using python. how can i do that...(ie, i want to see if "word" is installed) please help
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
4
by: Dalan | last post by:
After reading and experiencing the phenomenon of installing MS Office 2000 on a system that already has MS Office 97, or for that matter just Access 97 Runtime, I saw the ugliness that ensues. If...
4
by: Max | last post by:
Hi, I would like to have a button and a combo box with options to select various versions of Microsoft Outlook: 2002, 2003. The user selects the email client and clicks the button. The only...
1
by: sunil | last post by:
hi there During my development i used .Net framework 1.1 with Office com component 9.0 (ie Word (.0 and Excel 9.0) object library and my application and my development system has windows XP...
1
by: Ian Henderson | last post by:
I am a developer who is slowly getting to grips with developing applications using Microsoft Visual Studio 2002, specifically the Visual Basic element. I've recently developed an application...
2
by: salad | last post by:
Hi. I have some questions regarding the distribution and installation of an application. My current application is written in A97. I figure its time the application is upgraded to A2003 to...
0
by: liam_jones | last post by:
I'm very new to Python, well IronPython to precise, and have been having problems when using Excel. The problem I'm having is the closing of my Excel object. I'm able to successfully quit the...
7
by: Holger Fitschen | last post by:
Hi to all, I want to use the Excel solver in a VB.Net project. The macro Sub Makro1Solver() Application.Run "Solver.xla!Auto_Open" SolverReset Worksheets(1).Select...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.