ocx

AxShockwaveFlashObjects again

泪湿孤枕 提交于 2019-12-24 17:33:52
问题 I was cheating from a sample program to integrate with Flash. I able to add a reference to ShockwaveFlashObjects.dll to my windows app, but What is 1- AXShockwaveFlashObjects. 2- How to add a reference to it, or I have to create it using some tool? Thanks 回答1: I'm not a Flash expert but I was researching something similar and I might have some information to help you... AxShockwaveFlashObjects is a COM library to allow you to integrate Flash content into your COM (or .NET) application. I'm

AxShockwaveFlashObjects again

我的梦境 提交于 2019-12-24 17:32:39
问题 I was cheating from a sample program to integrate with Flash. I able to add a reference to ShockwaveFlashObjects.dll to my windows app, but What is 1- AXShockwaveFlashObjects. 2- How to add a reference to it, or I have to create it using some tool? Thanks 回答1: I'm not a Flash expert but I was researching something similar and I might have some information to help you... AxShockwaveFlashObjects is a COM library to allow you to integrate Flash content into your COM (or .NET) application. I'm

Drawing OCX to given printer-devicecontext

十年热恋 提交于 2019-12-11 20:11:04
问题 In order to print some data I have to print an OCX as well. To do so I create a printer-dc from the GUI, print on it and so on. When it comes to printing the OCX I want to use its existing Draw-Method but to the printer-devicecontext I have. The code shown seems to work but look kind of hacked to me and I'm not sure if it works just "by accident". So the question is: Is this the right way to give a device-Context via Com-call to the OCX and use it? This is in an Visual-C++-MFC-Project

Is there a way to pass an OCX control reference out from a Visual Basic 6 activeX dll via COM interop?

孤者浪人 提交于 2019-12-11 11:55:13
问题 I stumbled upon this while trying to build an ActiveX dll from an old (but still maintained) VB6 exe project (*) sources in order to perform some testing via COM / NET interop. The (desired) use case is: Take a VB6 class with public methods taking or returning some control (for example CommonDialog ) reference Compile this class into an ActiveX dll Create an instance of this class via COM interop from .NET and correctly call its methods In short, the first problem is that having something

“Catastrophic failure” when accessing an OCX library from C#

…衆ロ難τιáo~ 提交于 2019-12-11 10:54:16
问题 I'm currently trying to use a third-party DLL from my C# application. I've registered the DLL and added it as a reference from the list of COM component. As I understand, this should create the necessary interop classes to access this DLL from C#. On attempting to call any methods from within the DLL I get the following exception:- System.Runtime.InteropServices.COMException was unhandled Message=Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) Source=mscorlib

Unable to play media with vlc ocx

亡梦爱人 提交于 2019-12-11 02:39:26
问题 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 it it must be less bugs and errors but errors found I found 2 controls "VLC ActiveX plugin and IE web plugin v1" , "VLC ActiveX plugin and IE web plugin v2" What is the difference between them?? i dragged and dropped the fist one and used the

How to get TeamCity build version into unmanaged DLLs and OCX controls?

吃可爱长大的小学妹 提交于 2019-12-11 01:59:31
问题 I have a TeamCity build solution with managed (C#) and unmanaged (C++) projects. Is there a TeamCity utility out there similar to Assembly Info Patcher that will change the version numbers in the .rc files for unmanaged C++ DLL and OCX projects to match the build number? 回答1: No, teamcity doesn't have anything to update version of C++ dlls, you could however use StampVer.exe to update the version of C++ dlls. You'll need to download the exe and add a build to call the exe which will update

ASP No such interface supported error when creating object

痞子三分冷 提交于 2019-12-10 12:44:41
问题 I have a windows forms application that has third party ocx controls. Following command is used to create an object at runtime. myObject = myApplication.CreateObject("ML.MFinder", True) this is working properly and progID is also correct. Problem is when doing the same in asp project where I get following error: System.Runtime.InteropServices.COMException: No such interface supported at ML.MApplicationClass.CreateObject(String ProgID, Boolean Allocate) Strange because other ocx objects works

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

廉价感情. 提交于 2019-12-10 09:50:20
问题 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 SysWOW64\MSCOMCTL.OCX (which is the correct location). However, when I send that project to my client who is using 32-bit Windows XP, the project complains during opening because SysWOW64\MSCOMCTL.OCX does not exist on his system. Here are the

OCX在IE10上能正常加载,在IE8上出现崩溃解决思路

一曲冷凌霜 提交于 2019-12-09 15:23:12
###OCX在IE10上能正常加载,在IE8上出现崩溃解决思路 如果对你有用请给个赞 背景 最初开发的时候是在ie8上开发的,但是在中途开发出现了ie8崩溃,因项目紧就用ie10开发了。 分析过程 1:单页版的ocxtest.html 是否可以 2: ocxtest.html放在tomcat下是否可以 3:ocxtest.jsp 放在tomcat下是否可以 4:用controller跳转到ocxtext.jsp是否可以 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Test ActiveX</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale