473,473 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VB.NET & Office Automation


Hi,

I don't know the MS Office products that well, but I once worked on a project involving VB6 and MS Word. At that time, we were able to use the Word Object Model in our VB6 project to do some things in Word documents, such as working with extended properties, etc.

I was wondering how this "automation" now works with .NET. Do I still need to reference a COM DLL (the Word Library) or is there a "newer" way for doing so. I am wondering how to make MS Office XP/2003 products work with and VB.NET and/or C#.

Thanks.
Mike
Nov 20 '05 #1
1 1629
* "Mike" <no****@nospam.com> scripsit:
I don't know the MS Office products that well, but I once worked on a project involving VB6 and MS Word. At that time, we were
able to use the Word Object Model in our VB6 project to do some things in Word documents, such as working with extended
properties, etc.

I was wondering how this "automation" now works with .NET. Do I still need to reference a COM DLL (the Word Library) or is there
a "newer" way for doing so. I am wondering how to make*MS Office XP/2003 products work with and VB.NET and/or C#.


I suggest to have a look here:

<URL:http://msdn.microsoft.com/office/>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

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

Similar topics

4
by: Richard | last post by:
Office Addins are easy in .NET. Try this from Visual Studio's main menu: File New Project "Other Projects" Extensibility Projects Shared Addin Run the wizard and you're off...
1
by: keith | last post by:
(Visual C++.NET) I could be mistaken here, but I can only find examples of how to automate Excel in the form of MFC projects. I have a large managed C++ project which needs to automate excel,...
2
by: Alfredo Magallón Arbizu | last post by:
Hello, I have an ASP.NET application that reads an Excel file through automation. The app has a loop until first cell of a row is blank. While the app works perfectly under Windows 2003, it...
2
by: Alex Maghen | last post by:
Hi. I've seen several KBs on using .NET for MS Office Automation. But I have a particular question: I am developing a somewhat stand-alone .ASPX page which will need to do some relatively simple MS...
2
by: Steve | last post by:
I'm using Visual Studio .NET (not 2003), and am developing a class that works with Word theough the Office PIAs (Interop). I can open word and do things with it programatically, but I can't close...
6
by: Mark Rae | last post by:
Hi, My client has asked me to provide a "quick and dirty" way to export the contents of a DataGrid to both Excel for analysis and Word for editing and printing, so I'm investigating client-side...
3
by: Gultekin Komanli | last post by:
Hi all, I'm new to .NET stuff and trying find a way to do automation with Excel, using VB 2005 EE. I searched this forum, there are samples that use some namespaces for office automation but...
12
by: Tomas | last post by:
Hi, I have worked with VB.NET for half a year (semi-newbie). Currently I am looking around for some books for those that crossed the starting hurdle. There are too many books out there-make...
4
by: =?Utf-8?B?SGVyYg==?= | last post by:
Can someone point me in the direction of documentation for Office Interop? Specifically, Microsoft.Office.Interop.MSProject. Mainly what I need is a command set, programming documentation. I...
0
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
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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.