Tôi có một điều khiển ActiveX và đã ký nó với một giấy chứng nhận kiểm tra mỗi này đang làm việc tốt nhưng vấn đề là internet explorer của tôi cho thấy một thông điệp xấu xíLàm thế nào để Thiết lập ActiveX Tên kiểm soát
Trang web muốn chạy sau tiện ích bổ sung: 'Không khả dụng' từ 'Tên kiểm soát không khả dụng', Nếu bạn tin tưởng trang web và tiện ích bổ sung và muốn cho phép nó chạy, hãy nhấp vào đây ....
Tại sao lại kiểm soát tên không có sẵn? Tôi đã thực hiện điều khiển ActiveX này trong C# và đã thêm thuộc tính ComVisible vào assemblyInfo.cs của tôi, đây là mã số
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")]
Vui lòng trợ giúp tôi?
bạn có thể vui lòng giúp tôi cách đặt tên COM trong C# không? –
bất kỳ giải pháp Cem ??? Tôi đang đợi? –
Tôi không có quyền truy cập vào các công cụ .net nữa, vì vậy tôi không thể trợ giúp thêm về chủ đề này. Kiểm tra các thuộc tính hoặc từ hộp thoại thuộc tính lớp, tôi không thể nhớ chi tiết, xin lỗi vì điều đó. –