ocx

VB6 NegotiateMenus

I have a vb6 form that I've put an ocx control on. Setting NegotiateMenus on the form displays the ocx's control (which is what I want). I then add my own control to the form. When that control has focus, the menu from the ocx disappears. How can I always keep the menu from the ocx displayed, regardless of who has focus? ...

How to create an AxHost solely in code [C#]

Hello, I'm using a COM Wrapper to interact with Windows Media Player. The it is using an AxHost to somehow wrap the player, for me it's all just magic under the hood^^ The AxHost.AttachInterfaces looks like this protected override void AttachInterfaces() { try { //Get the IOleObject for Windows Media Player. IOleObj...

Can I create a single VB6 OCX with multiple controls?

Hi, I have inherited a load of VB6 code which has tons of individual OCX files, each of which contain a single control. I have two questions: Firstly, Is it possible to refactor them so that I can have a single OCX file with all the OCX's in it? Secondly, if it is possible, how do I do this? TIA ...

I'm looking for recomendations for ActiveX Components for processing emails.

I'm looking for ActiveX components that can easily: get and send emails via SMTP and POP3 strip out and save attachments. Convert RTF (Outlook emails) to HTML Sanitize HTML. What components would you recommend? What components do you use? ...

Use OCX without registering it

Is it possible to use an ocx (ActiveX Control) on a winform (probably adding it programatically) without first having the ocx registered with regsrv32? What I'm trying to achieve is to enable xcopy installation. I've had the "AxInterop..dll" and "Interop..dll" file generated from my dev machine. I've seen the possibility of calling a C...

Standared WebCam interface for .NET besides DirectShow?

I want to be able to take still images with a web cam, via .NET 2.0 (or 3.5 if necessary). I know I can use DirectShow but that seems like a very large learning curve. Is there a simple to use OCX, or library that can work with most standard webcams? ...

Building an OCX with VS.NET?

What happened to OCX's? Are they no longer possible to create with the latest tools? I need to create an ActiveX control that I can place in Word, PowerPoint and Excel documents. If I use VS.NET, I can only create a UserControl DLL with COM Interop, but I don't think I can add that using the "More Controls" toolbox of PowerPoint's Devel...

Need a good unmanaged C++ OCX example

I need a very simple and clear example of how to create an OCX in unmanaged C++ code. Ideally, I'd like to consume it in Office, but any container (i.e. VB6, .NET WinForms) should be good. I am having trouble seeing how I can add controls to the OCX canvas... I have seen examples of opening dialogs from within the OCX's load event... bu...

Excel VBA: Which OLE/OCX control to use to display a chart in a form?

Hi, I have to display a column chart in a user form in VBA. Exporting the chart to GIF and importing in a picture box works; but I cannot use it because the chart needs to be modified based on options chosen by the user from the same form. I have been searching and people have commented that default OLE/OCX controls provided by MS may b...

Flash ActiveX: How to Load Movie from memory or resource or stream?

I'm embedding a Flash ActiveX control in my C++ app (Flash.ocx, Flash10a.ocx, etc depending on your Flash version). I can load an SWF file by calling LoadMovie(0, filename), but the file needs to physically reside in the disk. How to load the SWF from memory (or resource, or stream)? I'm sure there must be a way, because commercial sol...

What kind of code library should I build for distribution?

I need to build a C++ library to distribute among our customers. The library must be able to be accessed from a wide range of languages including VB6, C++, VB.net and C#. I've being using ActiveX controls (ocx files) until now. But I wonder if there is a better kind of library (dll, etc.) that I can build. What do you recommend? I'm li...

Is it possible to convert an OCX file to a TLB file for Borland C++?

I'm trying to automate a build, but the instructions require openning an OCX in Borland C++ Builder and saving it as a TLB. How can I reproduce this process through the command line? ...

How can I add an icon to an OCX made with Delphi so that it is visible in VB?

I made an OCX with Delphi 2007. Now my customer claims that there is no icon in his VB when he installs this OCX. How can I add such an icon to my OCX? ...

AxShockwaveFlashObjects and ShockwaveFlashObjects from Flash ocx

Hi, I'm trying to create: AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll entering the following command: aximp C:\WINDOWS\system32\Macromed\Flash\FlDbg10.ocx /nologo but I get an E_ACCESSDENIED error. What am I doing wrong? Thanks! ...

What permissions/rights are needed to run regsvr32 /s /c "myocx.ocx"

I have a WindowsXP configured as a build machine. The build process runs under an account which isn't an administrator. Some projects register as a last step an ocx control with something like regsvr32 /s /c ".\debug\myocx.ocx" This step fails and I assume that this has something to do with rights because doing the same under an ad...

Flash OCX Error crashes IE6/7

Has anyone encountered this error before? I am trying to debug an issue for a client and can not seem to get anywhere with this. With a clear Internet cache I visit http://www.safcoproducts.com and almost every time (on first load) it crashes IE 6 and 7. This does not occur in FireFox. We have tested the same files on a different ser...

A weird memory leak problem

I use an ActiveX control which is just a HTTP handler. It sends out an HTTP request, gets the response and fires an event to the user. When the user is not requesting the ActiveX control is pretty much dormant. It just waits for a user request to send another HTTP request. As long as the window in which the OCX resides does not change (...

I use vb.net to control OCX correctly,but How do I catch a BMP Image form a cgi by using javascript?

I used a OCX which is designed to control Video. If I use OCX in the vb.net , and send command to get a snapshot picture,it would return a bytes array,then I turn it to be a stream then turn it to be a Image , then It would show it correctly. but when I embbed OCX in webpage, It still work will,but I can`t catch the snapshot picture, if...

Adding OCX Control to a Resource Dialog (how Do I control it)

Hi there, I'm adding an OCX to a resource dialog that I've created in my C++ project. The ocx adds properly; but my question is how do I access the ocx programatically? I don't see a member variable (or even a class) attached to it. This is my .rc contents ////////////////////////////////////////////////////////////////////////////...

OCX attributes

I have an OCX for capturing images from scanner.. I want to run it in internet explorer 7 using tag. This OSX has no guide or tutorial to know how to use it. All what i need is to know how to deal with this OCX, what is the attributes for this OCX, for example if this OSX finish the scanning process it must be a flag indication the fini...