activex

InternetOpenUrl intermittently times out

I have some InternetOpenUrl requests that are strangely timing out. The endpoint is there and the URL is correct. This happens in a synchronous loop inside an activex control, and about the 6th time it executes, it times out without hitting the server. HINTERNET hINet = InternetOpen(TEXT("InetURL/1.0"), INTERNET_OPEN_TYPE_PRECONFIG, NUL...

Legacy activeX control calls DLL functions - I need help

Hint: this one might sound complicated, because I am trying to give as much info as possible, but I suspect that I just want someone to tell me "yes, you are correct". On this legacy system, which dates from 2002, the user visits a web page and uses an RFID reader to read a tag number, which is then written to an input field on the web ...

Activex Web deployement fails

Hi I have this Dot net dll(user control) in C#, which does not do anything Special, I have created a setup (.msi ) for the dll. Then i created a cab using cabarc (cabarc.exe N Test.cab test.dll test.inf) test.dll is my dot net dll. The cab is not a signed cab. Here is the test.inf file. [version] signature="$CHICAGO$" AdvancedINF=2...

PowerPoint printing using activex control

Hi People, We have written an ActiveX control using C# to use it in Microsoft PowerPoint. The control has following Title: 'Test Viewer'. When I place the control in PowerPoint in edit mode, I see the title in control. But when I print the slide, it show me a big "X" in the print output. Print preview looks proper. I tried using 'Prin...

How to set runtime license key on ActiveX object from .NET

I'm trying to load an ActiveX COM object into a .NET project. It uses licensing (ie FACTORY2). Things work fine on the development machine since the Design License is available. But of course I need to se the runtime license so it will load on other machines. I'm stuck on how to set the runtime license. I have imported the COM object ...

Activex issue in powerpoint

Hi People, We have written an ActiveX control using C# to use it in Microsoft PowerPoint. The control has following Title: 'Test Viewer'. When I place the control in PowerPoint in edit mode, I see the title in control. But when I print the slide, it show me a big "X" in the print output. Print preview looks proper. I tried using 'PrintD...

make my activex control removable from manage addons

I have an activex control. I want my users to be able to remove it. This MS article implies that you can remove controls if you installed them yourself: You can only delete ActiveX controls that you have downloaded and installed. You can't delete ActiveX controls that were preinstalled or add-ons of any kind, but you can ...

Create Outlook Object with Firefox

Hi, with ActiveX I can create an Outlook instance and start a new HTML e-Mail. Here is the sample code: var outlookApp = new ActiveXObject("Outlook.Application"); var nameSpace = outlookApp.getNameSpace("MAPI"); mailFolder = nameSpace.getDefaultFolder(6); mailItem = mailFolder.Items.add('IPM.Note.FormA'); mailI...

Avoiding .Net CAS Policy changes for FullTrust?

I've got a .Net assembly served from a (non-IIS) website (invoked ActiveX-style with an OBJECT tag) that needs FullTrust permissions. <OBJECT id="myControl1" name="myControl1" classid="MyControl.dll#MyControl.myControl"> I can do this by modifying the CAS policy on each client machine like this: caspol -machine -quiet -addgroup Trust...

IHTMLDocument2->open not working as expected from within activex control

Hi folks. Unfortunately I'm a complete novice when it comes to this kind of native windows programming. I have been tasked with attempting to figure this out within our group alas. Essentially I need an activex control to open a new browser window. In addition to this I would like to have a reference to the new windows hwnd when its done...

Using ActiveX control in WPF

I'm attempting to host an ActiveX control in a WPF app. After attempting to use existing info on the web and here, I've hit a dead-end. I need to use an ActiveX control provided to communicate with a UV power meter. They provide an application that registers and uses the control and even includes some useful demo apps. I stripped out th...

Does JAWS read ActiveX content?

If JAWS does not read ActiveX content, how should I go about making this website 508 compliant? Here is a code excerpt: <SCRIPT LANGUAGE="javascript" FOR="posXUserForm" EVENT="ControlInitialized" > try { posXUserForm.SchemaLoadObject.URL = "form.xsd"; posXUserForm.XML...

File Upload with Web.Client class...?

I am Using Active X control and using WebClient class to upload file to server. what we are doing is:: at client end, in ActiveXcontrol, we opened a Server Located DocX file . and Once we done the authoring in File, we pressed Save, here on Save Click, we Used Webclient Class to Save Document to Server...The Problem is that at times the ...

looking for GSM SMS component/ActiveX

Hi, I'm looking for a delphi component or ActiveX which can access to GSM devices through serial port. I need to send and receive binary data sms (8-bit coding). ...

How to create a wrapper for activex control in c# .net and embed in web page?

We have a 3rd party ActiveX control namely Autodesk's "Design Review" that we would like to use in a non aspx environment. Most functionality is available through javascript, however one key method cannot be called from that environment. Searching on the Autodesk forums we found a solution that involves creating a COM wrapper around th...

Salesforce.com - Visualforce and ActiveX

Hi, I have a Visualforce page through which I am trying to access a SDK. It is done using ActiveX control. The VB + JS script that I have runs fine when it is a normal HTML page residing on my desktop. However the same code when incorporated in Visualforce does not work. Does running ActiveX control require uploading any kind of files t...

ActiveX controls move when pushing XML data into Excel Table

I am pushing XML data into an Excel Table via C#, but when I do this, my ActiveX checkboxes lower on the page do not adjust their position. The spreadsheet rows move down, but the checkboxes do not. Also, at times it seems like even though the cells on the spreadsheet shift down, the row heights do not, messing up the formatting. I t...

How to avoid deploying proprietary components in Open Source VB6 application?

Hi everyone, I'm working on an Open Source VB6 application, the components that my application uses are as follows: MS Forms 2.0 object Library - FM20.dll MS Rich Text box Control 6.0 - RICHTX32.OCX MS Windows Common Controls 6.0 - MSCOMCT2.OCX MS Windows Common Dialog Controls - COMDLG32.OCX Since, these components are ...

Show Loading modal from ActiveX control

I am connecting to a webservice from an active x control which can sometimes take time to respond. When it takes time IE gets locked (NOT RESPONDING) how can I showing a "Loading" kinda of modal while it is waiting for the webservice Any examples or links to examples will be helpful thanks. ...

How to compare BSTR against a string in c/c++?

wprintf(L"Selecting Audio Input Device: %s\n", varName.bstrVal); if(0 == strcmp(varName.bstrVal, "IP Camera [JPEG/MJPEG]"))... The above reports : error C2664: 'strcmp' : cannot convert parameter 1 from 'BSTR' to 'const char *' ...