473,498 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB.NET and Office 2K.

Hi,

I've developed a app that uses Excel to export some data.
My develop machine uses windows xp, office xp, and visual.net 2003.

In my client machine he has windows 2k and office 2k, and when i try to open
a existing excel file it gives me a
Err.number = 91

When i try in a windows and office xp everything works.

Any idears ?

Best regards,

Raul Costa
Nov 20 '05 #1
4 902
* "Raul Costa" <ma**********@hotmail.com> scripsit:
I've developed a app that uses Excel to export some data.
My develop machine uses windows xp, office xp, and visual.net 2003.

In my client machine he has windows 2k and office 2k, and when i try to open
a existing excel file it gives me a
Err.number = 91

When i try in a windows and office xp everything works.


How do you use office? Are you using late binding or are you
referencing the office components?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Can you copy and paste the message of the Exception? How did you reference
the Office components?

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Raul Costa" <ma**********@hotmail.com> wrote in message
news:3f***********************@news.telepac.pt...
Hi,

I've developed a app that uses Excel to export some data.
My develop machine uses windows xp, office xp, and visual.net 2003.

In my client machine he has windows 2k and office 2k, and when i try to open a existing excel file it gives me a
Err.number = 91

When i try in a windows and office xp everything works.

Any idears ?

Best regards,

Raul Costa

Nov 20 '05 #3
Hi,

I'm using the reference, with the microsoft "oxppia.exe" installed.

Raul Costa

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
* "Raul Costa" <ma**********@hotmail.com> scripsit:
I've developed a app that uses Excel to export some data.
My develop machine uses windows xp, office xp, and visual.net 2003.

In my client machine he has windows 2k and office 2k, and when i try to open a existing excel file it gives me a
Err.number = 91

When i try in a windows and office xp everything works.


How do you use office? Are you using late binding or are you
referencing the office components?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #4
Hi,

I'm using the reference, with the microsoft "oxppia.exe" installed.

Raul Costa

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
* "Raul Costa" <ma**********@hotmail.com> scripsit:
I've developed a app that uses Excel to export some data.
My develop machine uses windows xp, office xp, and visual.net 2003.

In my client machine he has windows 2k and office 2k, and when i try to open a existing excel file it gives me a
Err.number = 91

When i try in a windows and office xp everything works.


How do you use office? Are you using late binding or are you
referencing the office components?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #5

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

Similar topics

3
646
by: Chuck Arney | last post by:
After installing Office 2003 PRO and attempting to run SETUP to install the Visual Studio Tools for Office version 2003, I get the error message "Your computer must have Microsoft Office...
1
503
by: zfeld | last post by:
1. Where do I get the Office 2003 PIAs? On the MSDN download site there are only downloads for XP office PIAs. Do they automatically get installed to the GAC with the installation of office 2003? ...
0
1679
by: Yeongja_Choi | last post by:
How Dare Could America Industrial Property Office Be In Conspiracy With Jungang International Patent Office To Make An Extravagant International Crime ? Currently a Korean party now holds the...
4
4051
by: J-T | last post by:
I'm trying to read an excell file in my .Net application using Office XP Primary Interop Assemblies (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_oxppias.asp)....
2
11431
by: William LaMartin | last post by:
I have created a program that allows for the automation of things in Word documents, like changing the values of DocVariables and the links to Excel Sheets. I did it using interoperoperatability,...
6
1848
by: Luke Vogel | last post by:
Hi all ... could someone point me in the right direction for programming office applications (specifically excel) using vb.net? Can vb.net replace or enhance VBA that comes with the office suite?...
5
49756
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. ...
2
7260
by: JC | last post by:
Anybody knows what problem has this code? I think, in the Garbage Collector? You know the Solution? The program in the test's case, whit 350 contacts, run OK before number 86. The error is a...
11
20172
by: Don | last post by:
QUESTIONS: 1. Has anyone figured out how to successfully install the Office 97 Pro Service Release 2 patch in Vista? 2. Has anyone successfully installed an Office 97 Pro CD (SR2 version) in...
0
4089
by: Bill Fallon | last post by:
I am developing a VB.Net application with VS 2005 that opens an Excel workbook and populates the worksheet with data. I started developing the application with Office 2007 installed on my Vista...
0
7125
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
7004
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6890
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
7379
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
5464
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,...
0
4593
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3095
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
657
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
292
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.