473,804 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stronged key Interop for "User Control"

I have unmanaged COM wich is ActiveX
I want to use it as signed interop user control so doing

aximp MyComActiveX.dl l /keyfile:MyKey.s nk
it builds MyComActiveLibX .dll wich is signed and AxMyComActiveXL ib.dll wich
is interoped ActiveX control. This one Ax... DOES NOT SIGNED !!!
and when using it inside the form I recieve "Assembly generation failed --
Referenced assembly 'AxMyComActiveX Lib' does not have a strong name

What is the problem and what I'm missing?

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
Nov 16 '05 #1
3 2248
Hi Tamir

I have had the same problem hosting the Shockwave Flash ActiveX control
inside a Windows Form which generates an unsigned assembly. I ended up
having to just remove the strong naming from the form as well to get it
to build. I know that this is no help to you whatsoever but sometimes it
is nice to know you are not alone...

Good luck. I'll be interested to see if anyone has a solution.

Graham

Tamir Khason wrote:
I have unmanaged COM wich is ActiveX
I want to use it as signed interop user control so doing

aximp MyComActiveX.dl l /keyfile:MyKey.s nk
it builds MyComActiveLibX .dll wich is signed and AxMyComActiveXL ib.dll wich
is interoped ActiveX control. This one Ax... DOES NOT SIGNED !!!
and when using it inside the form I recieve "Assembly generation failed --
Referenced assembly 'AxMyComActiveX Lib' does not have a strong name

What is the problem and what I'm missing?

Nov 16 '05 #2
OK sloved it. Amazing !, but just put it in the SAME DIRECTORY
1) Unmanaged ActiveX
2) Key Pair file
and run it from THE SAME DIRECTORY
Now it's working.
It looks like bug, but while running it from different directories it BUILD
interops without any errors, BUT unsigned!!!
Tnx to all

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "

"Graham Pengelly" <gr****@REMOVEM Emainlineconsul tants.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi Tamir

I have had the same problem hosting the Shockwave Flash ActiveX control
inside a Windows Form which generates an unsigned assembly. I ended up
having to just remove the strong naming from the form as well to get it to
build. I know that this is no help to you whatsoever but sometimes it is
nice to know you are not alone...

Good luck. I'll be interested to see if anyone has a solution.

Graham

Tamir Khason wrote:
I have unmanaged COM wich is ActiveX
I want to use it as signed interop user control so doing

aximp MyComActiveX.dl l /keyfile:MyKey.s nk
it builds MyComActiveLibX .dll wich is signed and AxMyComActiveXL ib.dll
wich is interoped ActiveX control. This one Ax... DOES NOT SIGNED !!!
and when using it inside the form I recieve "Assembly generation
failed -- Referenced assembly 'AxMyComActiveX Lib' does not have a strong
name

What is the problem and what I'm missing?

Nov 16 '05 #3
Hi Tamir,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that when you're trying to sign an ActiveX
control, it fails with the aximp command line. If there is any
misunderstandin g, please feel free to let me know.

I think you can try to use the full path for both the key file and the dll.
That might help aximp to find them.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #4

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

Similar topics

1
320
by: Seth Guard | last post by:
(Sorry for the cross-post, but no one responded to my other thread.) When developing a web page in VS.Net, I see everything in WYSIWYG format. And when I am creating a User Control, I see that drawn the same way. However, when I drag the User Control onto my main page, I see a gray box where the User Control should be. (I was expecting to see my User Control actually *rendered* on the Design screen, similar to how FrontPage renders...
2
631
by: todd | last post by:
Hi all. I inherited this code from a contractor. It is a .NET user control that runs on the client side (ie) on machines with the framework installed. I have been mucking around to get it work for a couple of days now, and am growign really frustrated. I need to expose an Import method on the ImportControl and have it accesible to javascrip in the browser. If I remove the InterfaceType and ClassInterface attributes, compile and then...
2
3734
by: VB Programmer | last post by:
I created a simple user control and placed it on another page. Often I get this error: "Could not reformat the document due to line 27. The original format was restored." Line 27 in the HTML is this: <uc1:_Header id=_Header1 runat="server"></uc1:_Header></TD></TR> Any ideas?
4
2758
by: Guadala Harry | last post by:
Is there any way for one Session to remove and update objects in another Session? I seriously doubt it, but thought I'd ask. Here's why: I have some data that is unique per user (or per session - similar to "welcome back, Jim" after Jim logs in) and consumed across multiple pages. This "per user" data lives in a database, so toward improving runtime performance I want to cache data supporting this and similar per user features. Because the...
8
2120
by: Ravi Ambros Wallau | last post by:
Hey guys: What can I do when an "Error Creating Control" is displayed on the form (instead of the control), and a tooltip indicating the error never is displayed? Is there some log, some hidden message, some entry in registry where a log is created (or that enables a log, trace, dump or whatever)... I'm a little bit frustated with this error :-( Tks, Ravi.
1
952
by: Paul | last post by:
I create a text box type of User Control. I put an instance of the user control on a form. Everything is working fine. However, when I change the font size, the UC positions itself down and to the right. It also increases it's width. I cannot figure out why it is doing this.
1
2019
by: rmgalante | last post by:
I was wondering if anyone knows whether MS has a fix for the Menu Control. If the page is loading while you mouse over a menu control with child menus that pop out, you can generate the following error in IE. Internet Explorer cannot open the Internet site... http://www.... Operation aborted
4
2300
by: Scott McNair | last post by:
Hi, I'm creating a user control that has absolutely no visual pieces to it... it's essentially a piece that sniffs a serial port awaiting incoming data. I know that there are several controls that come natively with .NET that don't actually reside on the form, but go to the bottom area, such as for example database-related controls. How would I go about setting my own control to do just that? Otherwise I'm left with the quandary of...
5
6934
by: WP | last post by:
Hello, I need to communicate with a db2 database from a java program and this java program needs to check which "user tables" there are. I came up with the following query which I tried in Control Center: select tabname, tabschema from syscat.tables where tabschema != 'SYSCAT' and tabschema != 'SYSIBM' and tabschema != 'SYSIBMADM' and tabschema != 'SYSSTAT' and tabschema != 'SYSTOOLS'; It seems to work, it returns just the tables that I...
0
9714
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
9594
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10350
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10351
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
9174
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7638
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
5534
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...
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.