Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 05, 2012 01:24 AM by A_Carlson
Jun 01, 2012 07:39 PM|LINK
I tried putting a reference to my dll, cab files, etc in my MVC view and it will not download it. The only way I get the control to work is to install it myself using the msi - then it works fine in MVC view. My control is a reader for an HID device.
At this point I am not sure if this is a Windows 7 Issue, Internet Explorer or MVC 3.
I would appreciate any help or suggestions.
Jun 01, 2012 07:47 PM|LINK
Internet Explorer has zone security settings that prohibit downloading active X components. You may want to customize the security levels to "prompt" when unsigned active x controls try to download.
Jun 01, 2012 07:48 PM|LINK
Using ActiveX control is specific to HTML and browser settings and not with MVC. ActiveX control has to be installed in the system to use. You need just an <Object ..> tag in your html as reference.
Jun 01, 2012 08:29 PM|LINK
My object tag works if I install the Active X control using the msi but I want to be able to have the control install when the user hits the page. This is why I was trying to use a cab file - is this possible to do? I don't believe it is the security settings
because I created my site as a trusted site and tuned the security for the active x controls for my site (unless I am missing something).
Jun 01, 2012 08:40 PM|LINK
Thats how ActiveX works, they always requires permission from user otherwise anyone can install malicious program through activex. Also it is not compatible with non windows os.
Jun 01, 2012 10:18 PM|LINK
Jun 01, 2012 10:37 PM|LINK
This thread will help in setting up that.
Jun 02, 2012 03:36 AM|LINK
ie will not download and run a msi install for active/x even if active/x and auto download are enabled. you have 2 options:
1) supply a downlad link to the msi, have the users download and install.
2) as iE only supports cab installs, put the msi inside a cab file, then write an install dll that is also placed in the cab. the install dll extracts the msi and runs it.
Jun 03, 2012 07:41 PM|LINK
I am going to give this a try - I did have a cab file but wasn't sure how it got installed. Thanks!!
Jun 03, 2012 11:10 PM|LINK
You can look at the link I posted earlier, it has all the details. You just need to specify the Cab file location alogn with the Object tag in html and it will automatically does all the steps.