내가 ActiveX 컨트롤을 가지고 테스트 인증서로 서명 한 모든이 잘 작동하지만 문제는 내 인터넷 익스플로러가ActiveX 컨트롤 이름을 설정하는 방법
웹 사이트는 다음과 같은 실행하고자하는 추악한 메시지를 표시하는 것이 있습니다 추가 기능 : '컨트롤 이름을 사용할 수 없습니다'에서 '사용할 수 없음'을 선택하십시오. 웹 사이트 및 추가 기능을 신뢰하고 실행하려면 여기를 클릭하십시오 ....
왜 컨트롤 이름을 사용할 수 없습니까? 나는 C#에서이 ActiveX 컨트롤을 한 내를 AssemblyInfo.cs에 속성 대해 ComVisible을 추가 한, 여기
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security.Permissions;
using System.Runtime.InteropServices;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: System.Runtime.InteropServices.ComVisible(true)]
[assembly: AssemblyTitle("My ActiveX Control")]
[assembly: AssemblyDescription("My ActiveX Control Description")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CompanyXYZ")]
[assembly: AssemblyProduct("My ActiveX Control")]
[assembly: AssemblyCopyright("2009")]
[assembly: AssemblyTrademark("CompanyXYZ")]
[assembly: AssemblyCulture("")]
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.1")]
이 저를 도와주세요 코드는?
C#에서 COM 이름을 설정하는 방법을 알려주십시오. –
어떤 해결책 Cem ??? 나는 기다리고 있니? –
더 이상 .net 도구에 액세스 할 수 없으므로이 주제에 대해 더 많은 도움을 줄 수 없습니다. 속성을 확인하거나 클래스 속성 대화 상자에서 세부 사항을 기억할 수 없습니다. 죄송합니다. –