Our web application has an activex dll that runs in IE. It is given a strong name and a custom permission set based on that strong name.
The assembly is decorated like this:
[assembly: AllowPartiallyTrustedCallers]
and the class of the activex control needs this to run in the browser:
[PrintingPermission(SecurityAction.Assert, Unr...
Hi All,
I've been playing with CMake today, and so far it has been working great. Our project consists of +100 Visual Studio 2003 projects; we want to move to VS2008 and eventually VS2010 and also to support makefile build system (and maybe also Eclipse CDT)... so defining our projects with a CMake configuration files and generating pro...
Hi,
I have a mozilla browser(this browser is developed for windows based mobile handsets).I have used NP plugin for rendering flash content on my browser.There are NPAPIs which can be used for controlling the flash window properties.I have used NPAPIs for getting the flash contents from the browser and rendering it on the browser.
Now I ...
Hello,
The scenario:
I have a TabCtrl in which I plan to place 1 ActiveX Control (myActXCtrl) in each Tab. The number of Tabs can increase dynamically. Hence, I have to create a new instance of ActiveX Control (myActXCtrl) each time and place it in the newly created Tab (I have done till this point successfully).
The problem:
Th...
I am developing a windows 7 gadget.I am creating an activex object and loading the assembly.I am following the methodlogy mentioned here at codeproject (GadgetInterop). One of the tasks of the gadget is to interface with Facebook.
This is how I am referencing:
Javascript creates a GadgetBuilder object.
From here I load the my library. s...
I'm trying to use Adobe Reader ActiveX Control from C# Winform, using the following code:
> private void InitializeAdobe(string
> filePath) {
> try
> {
> this.axAcroPDF1.LoadFile(filePath);
> this.axAcroPDF1.src = filePath;
> this.axAcroPDF1.setShowToolbar(false);
> this.axAcroPDF1.setView("FitH")...
I am using an ActiveX control (HTEWEB.CAB) in a browser to access a commmand line interface to a remote mainframe, and I want to automate the process. I was hoping to use .NET VB to send a command and then parse the respone. I have always been a db programmer, and I am not familiar with Comm and this kind of thing. An suggestions wou...
Hi All,
After following the method to Host the ActiveX Web Browser (webvw.idl) control in C#, we are struck in getting webview.dll file from the mobile device.
To create a complete class definition by using AxImp.exe we are unable to get the webview.dll from the windows mobile device, now how shall we proceed further, please help.
T...
Hi,
Update 1:
Further investigation reveals that VB Activex component failed to initialize the user32 dll and failed to invoke the ShowWindow method when the browser security trust level is medium.
Update 2:
I have fixed the issue by just enabling the allow scripting of the webbrowser control option in medium level security.
I dont ...
I am working on an application that needs to block the user from opening any new internet explorer or firefox windows (any browser). User should only have 1 IE window open for taking online exam. I am working on create an activex control for the same, but need to know how to block new windows from opening?
...
I have the following JavaScript code on my page:
window.onload = function() {
var best_photos = new Array (
"photo_1.jpg",
"photo_2.jpg",
//array of filenames goes here
)
var k = Math.floor (Math.random() * best_photos.length);
var image = document.createElement("img");
image.setAttribute("src", best_photos...
I have created an activex control that will be used only for our intranet. Can I somehow sign the control for free if its being used only internally or do I still need to buy a certificate?
...
Dear All,
To host Webview (Web Browser Webview.dll) ActiveX control in C# smart device application, we need to download and access WebView.dll present in Windows mobile 6.0, 6.1, 6.5 version in root windows directory (\Windows\WebView.dll).
Currently we are unable to download the WebView.dll from mobile device, please guide us further...
I saw a website using below syntax to listen to the event from an activeX control, I am wandering where I can find the reference for the definition of the "for" and "event" keywords in "script" element? Is it W3C standard?
<script language="javascript" type="text/javascript" for="DopvsPlugInCtrl" event="NotifyLocalPort(localport)">
...
I have an application embedded within an Active-X component. Basically the ActiveX control (ActiveView) is a read-only version of a 3rd party application. The web page code below loads the ActiveX control and passes the first display (.pdi) file. From there, the user interacts with the current display file, loading different files as the...
I had been using SWFToImage for a specifc client, but have recently migrated to 64bit Windows Server 2008 As this dll was compiled for 32bit managed code, it will not run in my new 64bit environment. I've tried to follow the instructions the developer has presented here with no luck:
How to run and use SWF To Image on x64 Windows
Alas,...
Hi All,
I have created an ActiveX component, but not able to access that ActiveX compoment in ASP.NET. It gives "Microsoft JScript runtime error: Automation server can't create object" error message while creating activeX object using javascript.
ActiveX Component Code:
using System.Runtime.InteropServices;
using System.Windows.Forms;...
Hi,
I'm building CAB for ActiveX contol and I need the following clarification:
I've control.ocx which have 2.0.0.1 version.
When I'm embedding my control I'm putting the following tag:
Tommorow, I'm adding new functionality to my ocx and versing it as 3.0.0.1
How my tag should look like?
Should it content codebase="control.ca...
I am looking to create a Javascript library for ActiveX objects, enabling chainability.
For example, I am looking to replace this:
var dbEngine=new ActiveXObject('DAO.DBEngine.36');
var dbs=dbEngine.OpenDatabase('D:\\Todo.mdb');
var rs=dbs.OpenRecordset('SELECT * FROM ListItems');
with something like this (a la jQuery):
var rs=AX('...
Hi,
I wrote an IE plugin using MFC activex. The plugin actually creates a file in CLSID_APPDATA folder and writes some data inside it. But the problem is that file which is created cannot be seen (i mean i cant see any file in CLSID_APPDATA folder on windows vista) whereas I am actually writing data inside it. The plugin is not signed.
...