activex

ActiveX control is not displaying.Need to know Why?

Here I displayed the code.Suggest me,If anything wrong. namespace MyActivex { public interface AxMyControl { String UserText { set; get; } } public partial class MyControl : UserControl,AxMyControl { string mystring; public MyControl() { this.InitializeComponent(); this.Show(); //Initiali...

What is a "Sync Block" and tips for reducing the count

We have a Windows Forms application that uses a (third party) ActiveX control, and are noticing in the .NET performance objects under ".NET CLR Memory" that the number of "Sink Blocks" in use is constantly increasing (along with increasing memory usage), even though our application is sitting there idle. The built-in explanation for th...

how to save image to client side C or JavaScript or ActiveX

i need to save an image file to client side ,, with out prompting the save,open,cancel dialog , or any similar thing , after long searching i heard that will this will be done only by ActiveX. please note that the website is on minimum security and its LocalSite and trusted site ...

How to correctly free/finalize an ActiveX DLL in Delphi?

We are using a class called ODNCServer here - at initialization, an TAutoObjectFactory object is created: initialization pAutoObjectFactory := TAutoObjectFactory.Create(ComServer, TODNCServer, Class_ODNCServer, ciSingleInstance, tmApartment); Now FastMM is complaining about a memory leak because this object isn't freed anywhere. If ...

MFC Active-X control in a winforms window on Vista 64bit; "Class not registered Exception"

In an attempt to try to confirm another SO posters suggestion for key handling in an ActiveX control hosted on a winforms window, I tried making a bare-bones MFC ActiveX control, then placing it on a windows form. In design time the control showed up with no troubles. When running the application the dreaded "Class not registered excep...

Active Scripting on the server side

I am considering writing a NT service. The service will need scripting capabilities. Users can write some VBScript/JScript code and feed the server. I also want the script be able to debug in Microsoft Script Debugger. The service will behave in a similar way as IIS with classic ASP. It gets input from somewhere else. When it get inpu...

embedding a simple ActiveX control got Class not Registered error

I just developed a very simple ActiveX control(using the VS.NET wizard, not even change a line), and compiled it. After running "regsvr32 ax1.ocx", I created a new C# WinFrom project and drag the ActiveX control into the form. Then I build and run it, the error says: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLAS...

C# pass int and string by reference to C++ ActiveX Control: type mismatch

I have a problem passing by reference int or string variables to C++ ActiveX Control. Also I pass these variables by reference to C++ DLL and everything works fine. C++ DLL: __declspec (dllexport) void Execute (LPCTSTR cmd, int& resultCode, LPCTSTR& message, long& receiptNumber) { message = _T("ReplyProblem"); resultCode = 100...

Dump the interface exposed by a COM object

I want to find a tool that can see all the interface, including the methods, properties, events, exposed by a COM(or ActiveX) component. Is such tool available? ...

ASP.NET/ActiveX/Silverlight Screen Capture

I need a way to capture the screen within a web application in any way possible. Is there such a way without installing other tools like SnagIt? Can I use Win32 DllImports within an ActiveX component and do it that way? Thanks in advance! ...

ActiveX control: create a new file in local

Is it possible to create a local file inside an ActiveX control? The other question is I am creating the activex using the wizard "MFC ActiveX control", does this mean that I can use all the MFC classes in this ActiveX control. ...

Interface for Open Cascade in Delphi

I am trying to find a way to use Open Cascade(www.opencascade.org) - 3D Modeling Technology in one of our software which is written in Delphi. I did manage top find an ActiveX which supports Open Cascade, but on trying it I did not like the visual quality of rendered images. The ActiveX lib can be found here (www.ewcad.com). I am not ...

Windows 7: Automatic Logon Policy not working for winhttp API VB6 activeX control

I'm using WinHttp to do POSTs in a VB6 activeX control as follows Set WinHttpReq = New WinHttpRequest WinHttpReq.Open "POST", strUrl, False WinHttpReq.SetAutoLogonPolicy AutoLogonPolicy_Always aPostBody = 'Sometext' WinHttpReq.Send aPostBody UploadFile = WinHttpReq.ResponseText This works great on windows XP (all versions of IE), but ...

ActiveX component for SMTP proxy

Hi all, i'm looking for an activeX component which works as proxy and allows reading/manipulating smtp traffic. any ideas? thx ...

owc replacement

I use OWC (Office Web Components) v10.0 to embed Excel grid in an asp.net page. Is there a replacement technology where excel grid can be embedded in the client side browser? ...

Hello World hosted ActiveX

I apologize in advance if this seems excessively newbie, but I've been looking and Googling for days without the answer. I want to write a Hello World ActiveX control. My requirements: Users should not have to install any runtimes (like the .NET framework) in order to run it Users should not have to muck with their security settings....

Silverlight and Full Trust Issue

We are planning to build a new integration component that can provide us access to user's machine installed apps from our web site. The first word that came to me was ActiveX, but our expertise with the technology was not the best in the past. Thinkink a lit bit more, the work Silverlight also came to my head, but the full trust thing ...

PreFilterMessage is not called when hosting C# control within Internet Explorer

Here is a sample: 1. Create a class 'public class RichTextBoxEx : RichTextBox, IMessageFilter'. 2. Implement 'public bool PreFilterMessage(ref Message m)'. 3. Enter into edit mode of the control and type any text. The result is as describe above... the 'PreFilterMessage' is not called when the control is hosted within the browser. Also ...

Embedding Content (iframes) with an HTML 4.01 doctype?

I have some existing code that I have been tasked with upgrading to a valid doctype of HTML4.01 strict. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; In the code I've come across an <iframe>, and this does not sit well with the w3 validator. <iframe OnLoad="javascript: LoadAddAtt...

debug output from an ActiveX control

I'm developing an ActiveX control and I'd like to throw some debug output to the console area in tstcon32 like other controls are doing. What system call is doing that? stdout doesn't seem to be it ...