activex

is there any other way to view youtube video on delphi?

帅比萌擦擦* 提交于 2019-12-06 11:22:00
i see the http://www.delphiflash.com/demo-youtube-video on how to load flash video on delphi but its not for free. is there any other way? like html then TWebBroeser? sampleVideo.html //this will not work on TwebBrowser is there any other way? <html> <head> </style> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> </head> <body> <object width="640" height="390"> <param name="movie" value="http://www.youtube.com/v/L7NWdxFAHdY&hl=en_US&feature=player_embedded&version=3"> </param><param name="allowFullScreen" value="true"> <

How to enumerate all ActiveX elements with WMI?

不打扰是莪最后的温柔 提交于 2019-12-06 10:40:54
Is it possible to enumerate all (or just enabled) ActiveX elements (*.dll, *.ocx) with WMI script? Motivation: ActiveXHelper Scritomatic V2 tool have some sample like that : On Error Resume Next Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 arrComputers = Array("*") For Each strComputer In arrComputers WScript.Echo WScript.Echo "==========================================" WScript.Echo "Computer: " & strComputer WScript.Echo "==========================================" Set objWMIService = GetObject("winmgmts:\" & strComputer & "\root\CIMV2") Set colItems =

What is the best way to embed Excel in c# application [closed]

元气小坏坏 提交于 2019-12-06 10:32:20
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed last year . I want to embed MS Excel into my wpf C# application within a tabbed view, so that the user can utilise the real MS Excel (not a clone) to manipulate data generated within my application easily. What is the most effective way to embed Excel / Office applications into your .net application going forward. Is it: 1) Webbrowser 2) ActiveX (commercial or try to fix DSOFramer from 2008) 3

Runtime error 429 in VBA, but class is registered

人盡茶涼 提交于 2019-12-06 09:56:59
问题 I'm trying to recreate a program that uses javascript to open a connection to a PLC and then display all sorts of information on a web page. I'd rather have it in a form in MS Access for various reasons, and have spent forever trying to find the right dll to use (Jet32X.dll, if anyone is curious). I finally tracked the CLSID called out in the javascript back to a registered class for the PLC, and I'm trying to create that object in VB code. It won't get any further than the Dim As New line,

Visual Studio diagnostic tools not displaying process memory

放肆的年华 提交于 2019-12-06 09:19:22
I have a VB.NET app (with C# libraries) which is consuming large amounts of memory over time. Ultimately the application runs out of memory. I am cautious about using the term leaking because the GC shouldn't allow a memory leak, but perhaps there is a large .NET object somewhere. If so I need to identify it. However I do have a reference to a 3rd party ActiveX control library (.ocx) of which I use some controls and make numerous calls retrieving laser beam profile data. Memory usage increases only when I run a loop retrieving the laser beam profile data from the ocx. I suspect the ocx but

Is there a way to send messages from C#.NET assembly(ActiveX) to VB6 application?

浪子不回头ぞ 提交于 2019-12-06 08:23:45
This Q&A refers to and can be used for foll. purposes: Send message from IE browser to vb6 app via ActiveX dll Send message from ActiveX dll to vb6 app Send message from C#.net (dll) to vb6 app I have read this article but doesn't seem to be very clear for my purpose... I have also referred to this article to create ActiveX object and have implemented an ActiveX dll that I am calling from browser to launch an application on client side.. The dll checks whether the VB6 exe (process) is running, else runs the exe. If the exe is already running then I want to pass a parameter/message to the exe

Is there a way to fake file on file sistem or Write a file that visible only to my EXE file

守給你的承諾、 提交于 2019-12-06 08:19:13
问题 Ok i wrote and application that use Adobe ActiveX control for displaying PDF files. Adobe ActiveX control load files only from file system. So i nead to feed a file path to this control. Problem is that i don't want to store PDF files on file system. Event temporary! I wan't to store my PDF files only in memory , and i want to use Adobe ActiveX control. So i nead: 1) A way to fake file on a file system. So this control would "think" that there is a file, but would load it from memory 2) A way

C#: Loading an embeded swf into an flash activex without a temporary file

一世执手 提交于 2019-12-06 07:14:23
My project requires that my final application be completely self contained in a single exe. I am already combining the executable and dlls using ILMerge (assmebly merge utility). I am hosting an flash active x control in a C# application and I have embedded the one swf i need to load into the flash control into the c# application as an embeded resource. This question shows how to write the resource to a temporary file , but it is undesirable to create temporary files for my situation. This creates a problem because the active x control loadMovie method only accepts a string pointing to the

Building an OCX with VS.NET?

核能气质少年 提交于 2019-12-06 05:28:53
问题 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 Developer Tab. What would you do? 回答1: Yes, you can still create them. But you can't create an OCX with a .NET language. Need to be unmanaged C++ (or VB). The DLLs

Creating ActiveX control(OCX) in VB .net 2010

我与影子孤独终老i 提交于 2019-12-06 04:36:27
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. Are you asking how to create an "ActiveX" control specifically or are you asking how to create controls that can be used by other CLR based applications? To create an ActiveX control, see this link which walks you through the steps to do this: Creating an MFC ActiveX Control To create standard controls, you use a dll (class library) and can add as many