473,387 Members | 1,517 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,387 software developers and data experts.

DLL for use in Office applications

If made myself a DLL-file containing classes I wish to use in Office
applications (Access/Excel).

How should I register the DLL to make it work with these applications?
I've tried using RegAsm.exe, but maybe I've been using wrong
parameters.

I also tried to from the Office-app to point directly to the DLL, but
this don't work either.

Thx in advance for any help!

Regards /Snedker
Nov 21 '05 #1
5 840
On Tue, 30 Nov 2004 10:40:56 +0100, Morten Snedker
<morten_spammenot_ATdbconsult.dk> wrote:
If made myself a DLL-file containing classes I wish to use in Office
applications (Access/Excel).

How should I register the DLL to make it work with these applications?
I've tried using RegAsm.exe, but maybe I've been using wrong
parameters.


Found the answer myself on
http://support.microsoft.com/?kbid=317535
/Snedker
Nov 21 '05 #2
On Tue, 30 Nov 2004 10:40:56 +0100, Morten Snedker
<morten_spammenot_ATdbconsult.dk> wrote:
Well, seems like I need help anyway. "Register for COM InterOp" is
checked, which makes it work on local PC. But how do I distribute and
register the DLL on external computer?
Regards /Snedker
Nov 21 '05 #3
Morten,

Thanks for telling this, I saved it in my snippet directory

Cor
Nov 21 '05 #4
On Tue, 30 Nov 2004 11:31:12 +0100, "Cor Ligthert"
<no************@planet.nl> wrote:

Thanks for telling this, I saved it in my snippet directory


Just want to add that I can't get dll-files to work with Office.
However, registering with Regasm.exe with the /tlb set - giving a
tlb-file - makes all work well !
/Snedker
Nov 21 '05 #5
On Tue, 30 Nov 2004 11:13:09 +0100, Morten Snedker
<morten_spammenot_ATdbconsult.dk> wrote:

Well, seems like I need help anyway. "Register for COM InterOp" is
checked, which makes it work on local PC. But how do I distribute and
register the DLL on external computer?


As stated in other part of this thread: register with regasm.exe using
the /tlb .. and it works.

/Snedker
Nov 21 '05 #6

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

Similar topics

12
by: guy lateur | last post by:
Hi all, I am trying to write some code (macro's, if you like) to glue together our Office applications (mainly Word, Excel and Outlook). We have a lot of different projects going on...
16
by: deko | last post by:
Is there any reason, other than the distributable Access runtime, to use Office XP developer? I tried installing it on my system, but apparently I need to install/update a bunch of components -...
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...
6
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?...
2
by: Henrik | last post by:
Hi all, I'm working with a win app in vb that needs access to actual process id of the office-applications Word, Excel and PowerPoint. I know I can loop the processes and check for processes of...
0
by: fiona | last post by:
Divelements release fully featured Office 2007 style Ribbon control Major component suite designed to mimic the advanced user interface features of Microsoft Office 2007 Dorset, United Kingdom -...
0
by: Chris Leffer | last post by:
Hi. We have several VB6 applications that make use of Office integration. As we are migrating these applications to VB.NET we are evaluating the VSTO add-in to help us in this task. Our...
3
by: auad | last post by:
Hi, I would like to know if there is any available .net library that allow me to create my own non-commercial applications in c# using the office 2007 UI ribbon controls. Thanks, Auad
1
by: =?Utf-8?B?T2FrZGVuZQ==?= | last post by:
I've just bought a new computer and want to load my Office software onto it. The software is on a disc, but the computer doesn't have a disc drive. I've tried loading the disc onto a flash drive...
1
by: =?Utf-8?B?YmJydWVzdGxl?= | last post by:
I am trying to add a new category to the scrapbook in Office 2008, but in the Categories dialog box the New and the Delete buttons at the top of the dialog box are grayed out and not available....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.