Questions tagged [ocx]

An OCX is an an ActiveX Control derived from the OLE paradigm. It is based on the COM (Component Object Model) and DCOM (Distributed Component Object Model).

An ocx is an an ActiveX Control derived from the OLE (Object Linking and Embedding) paradigm. It is obviously based on the COM (Component Object Model) and DCOM (Distributed Component Object Model) specification.

These controls are not standalone applications, but modules usually available as DLLs that expose functionality through the property, method, and event interfaces.

382 questions
3
votes
1 answer

Creating ActiveX control(OCX) in VB .net 2010

I would like to create an activeX control(OCX) in VB .net 2010 is it possible? I having a hard time determining how to make it because I only get a .dll file rather than a .ocx which can be seen in vb6. I hope you can answer my question.
xtian
  • 31
  • 1
  • 4
3
votes
3 answers

"Object library not registered" when try to open VB6 project

I am trying to open VB6 project and getting "Object library not registered" error. Machine is 64 bit. I tried below but it threw error saying "'regtlib' is not recognized as an internal or external command, operable program or batch file." cd…
magg
  • 119
  • 1
  • 3
  • 11
3
votes
1 answer

Consume Event Generated by VB6 OCX in C#

I'm trying to access a VB6 OCX via C# using late binding. I am able to Invoke the Methods using the Reflection / InvokeMember, however, I do not know how to consume the events generated by the OCX. Im instantiating the OCX using the CreateInstance…
Aneesh
  • 848
  • 1
  • 9
  • 22
3
votes
0 answers

Qlikview OCX 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))

I work on a web application - ASP.NET MVC 4 (C#) the application works with Qlikview OCX, it needs to open the QW client on the server in order to show up some parameters on the UI; the user must log-in using windows authentication, the app…
Vlad
  • 536
  • 1
  • 5
  • 18
3
votes
3 answers

Detect Document Reload has occured on server

I have an winform/OCX that consumes a qlikview document. We have gotten a patch from QV so that RefreshDocument works in the OCX as the RefreshDocument does in QV application. But the Application shows a nice enabled button when the document has…
Archlight
  • 2,019
  • 2
  • 21
  • 34
3
votes
3 answers

CMake to build an ActiveX OCX?

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…
Josh
  • 31
  • 3
3
votes
0 answers

Using PrinterFiscalClass in C#

How can I use the class EPSON_Impresora_Fiscal.PrinterFiscal from Epson OCX in C#? Currently, I'm traying to do this: EPSON_Impresora_Fiscal.PrinterFiscal printerfiscal1 = new EPSON_Impresora_Fiscal.PrinterFiscal(); printerfiscal1.FeedPaper("A",…
Faabass
  • 1,394
  • 8
  • 29
  • 58
3
votes
2 answers

Suppress messages from embedded Windows Media PLayer

I'm working on a Windows Form Application in which I have embedded a Windows Media Player that lets you play video files. The unique thing is that I have changed the extension of the media files (for reasons which I can't get into here). For…
Chiwda
  • 1,233
  • 7
  • 30
  • 52
3
votes
2 answers

Flash ocx "Class not registered" on Windows 7 x64

I have a WPF app that uses Flash10c.ocx developed on a 32 bit machine. I didn't have to register the ocx on my dev machine, I just installed the latest flash, added a reference and started coding. When testing on a 64 bit system I get ye old…
James Cadd
  • 12,136
  • 30
  • 85
  • 134
3
votes
1 answer

Excel 2003 on 64-bit Windows 7 automatically changes reference to SysWOW64\MSCOMCTL.OCX so 32-bit Excel complains

In an Excel 2003 VBA project I am using controls from MSCOMCTL.OCX. That is the VBA project has a reference to System32\MSCOMCTL.OCX. When I open that project in Excel 2003 on my 64-bit Windows 7 system, Excel automatically changes the reference to…
Tom
  • 1,096
  • 1
  • 10
  • 15
3
votes
2 answers

Placeholder Text in VB6

I know this is an odd one, but is there a way to emulate the placeholder text functionality in VB6? If not, does anyone know of a good OCX control I could get somewhere that will do this? I'm sure it can be programmed in with a set of functions to…
Mac-Gon
  • 240
  • 1
  • 8
  • 18
3
votes
2 answers

Dynamically loading unmanaged OCX in C#

I have ocx created in VC++ If it is loaded statically it works fine but when I load it dynamically from assembly it gives exception . public Assembly assembly; public Form1() { InitializeComponent(); assembly…
abdul
  • 157
  • 5
  • 18
2
votes
4 answers

Unable to play media with vlc ocx

I want to embed the vlc media player in a .NET application I've found a lot of solutions VLC .Net interface <- didn't work with me wrappers for dll functions <> http://vlcdotnet.codeplex.com this is nice the activex of VLC - i really liked to use…
ahmedsafan86
  • 1,776
  • 1
  • 26
  • 49
2
votes
2 answers

Ageing 32 bit OCX control fails to load in .NET

I am in the process of developing a .NET application which relies on an ageing OCX control. This control provides a terminal interface allowing user interaction to an airline booking system. It has already been used 'successfully' in several VB6…
snipey
  • 31
  • 1
  • 6
2
votes
4 answers

activeX/OCX simple HTML editor

I am looking for a simple HTML editor. This package should fulfill the following: Generates old type of HTML with no CSS Fully supports Right-To-Left and Hebrew fonts Must be an ActiveX / OCX component Most editors in the market that I found so…
Dejell
  • 13,947
  • 40
  • 146
  • 229