Creating ActiveX Control Using .NET???
-
Hi All, -- I searched before i asked my question here, about how to create activex control and then how to embed it within an asp.net page using the object tag... -- I found to do so...i have to make a Windows User Control that belongs to a Windows Control Library and then compile it and then takes the dll file and put it in the appropriate directory in my web server and specify the appropriate classid in the object tag in the asp page.. -- I tried to make user control that has textbox and button controls then i use it within an ASP.Net page and it loaded and worked successfully.... BUT ;( -- When i tried to use Kodak Controls(that comes with Imaging Profissional package which comes with Windows)(like,ImageAdmin, ImageEdit, ImageAnnotation controls) i tried to use them within my control and rebuild the control and re-embid it within my asp page, the control didn't appear in the browser..it couldn't be loaded... -- I don't know what is the problem and how to fix it???? -- Any comments will be very usefull... Thanx... netSam
-
Hi All, -- I searched before i asked my question here, about how to create activex control and then how to embed it within an asp.net page using the object tag... -- I found to do so...i have to make a Windows User Control that belongs to a Windows Control Library and then compile it and then takes the dll file and put it in the appropriate directory in my web server and specify the appropriate classid in the object tag in the asp page.. -- I tried to make user control that has textbox and button controls then i use it within an ASP.Net page and it loaded and worked successfully.... BUT ;( -- When i tried to use Kodak Controls(that comes with Imaging Profissional package which comes with Windows)(like,ImageAdmin, ImageEdit, ImageAnnotation controls) i tried to use them within my control and rebuild the control and re-embid it within my asp page, the control didn't appear in the browser..it couldn't be loaded... -- I don't know what is the problem and how to fix it???? -- Any comments will be very usefull... Thanx... netSam
Not all ActiveX controls are going to be usable in InternetExplorer. Generally speaking, this is for security reasons: HTML pages from evil web sites might be able to perform nasty operations through the controls. Here's a link to an article that might help clarify: http://msdn.microsoft.com/library/default.asp?url=/workshop/components/activex/safety.asp[^] Burt Harris
-
Not all ActiveX controls are going to be usable in InternetExplorer. Generally speaking, this is for security reasons: HTML pages from evil web sites might be able to perform nasty operations through the controls. Here's a link to an article that might help clarify: http://msdn.microsoft.com/library/default.asp?url=/workshop/components/activex/safety.asp[^] Burt Harris
Hi Burt Harris.. Thank you so much for your reply... As i understood...i must make my control secured... In VB6 i used to use the appropriate certificate that is included in the cab file for my control... But now in .NET i see that this is done using the Component Categories Manager or Supporting the IObjectSafety Interface.. i will read the articles carefully and see whta will happen with me... Thank you netSam