473,666 Members | 2,250 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

issue while referencing a .net dll from a .net excel addin dll

Iam facing a peculiar issue when i try to reference a .net dll within a .net
Excel Addin dll created
through Extensibility projects.

Whenever i try to create the object of the class in the referenced dll using
new from the Excel addin dll ,the control
never goes to that particular function in the excel addin dll where the
object is created when the addin dll is loaded by Excel .
But when i comment the code which creates the object using new ..and run it
...the control
goes to that particular function.

Is there anything which i will have to add additionally to make it work.
Please let me know.

Mar 27 '06 #1
0 1133

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

Similar topics

2
1569
by: ns2k | last post by:
I have a problem to install an addin project to a computer other than the one I develop the project. The setup project work fine, but the excel doesn't run the addin - probably because it can't link the office dll in the addin project (I don't ask how to build the addins itself, but how can I build it so it will work for any computer). In other words, how can I build an addin project that will work for any computer with excel XP in it?
0
1212
by: cherishman | last post by:
I create an Excel Addin application. When user use excel, the addin application will auto load. How can I control the loading and unloading the addin. I use office 2003. thanks!
0
1251
by: cherishman | last post by:
I create an Excel Addin application. When user use excel, the addin application will auto load. How can I control the loading and unloading the addin. I use office 2003. thanks!
2
2520
by: Jody L. Whitlock | last post by:
I've gotten the COM Addin to work, my problem is this. I need to allow the user to select a range of cells (All in the same column) and then select my addin. My addin needs to pick up this range of cells and then parse the value of each cell in this range. I have looked, Googled, and thought I had it, but nadda. Here's the code I have at the moment: ' *** BEGIN CUSTOM CODE. *** Private Sub objCommandBarButton_Click(ByVal Ctrl As
0
1288
by: MAT | last post by:
Hi. In my C# Application I open an Excelworkbook and try to write some data to it. The excel file has some macros,which are disabled (Macro security is high). One of the macros try to load an AddIn by the opening of the file. Wenn I open this Excel file normally (with just clicking on it) I get no message. Wenn I try to open it with C#, I get a message that says something like that "the Installed-property of AddIn can not be...
0
1385
by: sandhya | last post by:
Iam trying to create a Excel Addin using Visual C# Extensibility projects and after building the project , the Dll is registered and the registry entries are added on to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins but when i open excel it is not loading the addin. In the onConnection function i have added code to display the message box, but the control never goes there ...that means the DLL is not loaded .
18
8278
by: Frank M. Walter | last post by:
Hello, I have made an small AddIn with udf for excel 2003. I use vs2003. The point of view is the function __T() I call it in excel sheet writing =__T() I am not able to set a value to a given cell. region.Value2="qwe"; //bumm! A exception will be trown. On all PCs with excel. HRESULT 0x800A03EC
1
1688
by: Venkat | last post by:
Can we create an Excel Addin with VC++.net? We are developing an application in c# which interacts with Excel application. The UI will be Excel and based on the inputs given through excel I need to do calculations using managed code (C#). Most of the time is consumed by interacting with excel like displaying values in the workbook or inserting cells based on my requirement. And adding some excel names into the work book etc...
1
3749
by: shantanu | last post by:
Dear All I have a requirement for creating a sub menu. I have been working on the addin and was able to put the addin in the tools menu of excel. The menu will be something like: 1. Main Item 1.a. Sub item 1 1.a.i sub item 1 1.a.ii sub item 2 1.b. Sub item 1
0
8440
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8866
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8550
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8638
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6191
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5662
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4193
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2769
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2006
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.