activex

Do VLC or WMP ActiveX controls accept Stream objects?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 14:38:29
问题 I've got a WCF service that stories media files and returns them to consuming applications in the form of a Stream object. The issue arises when the consuming application wants to stream the media using MediaElement. As you all know, MediaElement doesn't accept Stream objects. Can I get around this by using a VLC or WMP ActiveX control? Would either of these two controls allow me to play streaming media? 回答1: Both of those two activex controls support various types of streaming media, but

activex in winform

喜欢而已 提交于 2019-12-22 13:58:48
问题 I need to put some activeX in my .Net WinForm. The provider had sent me a .tlb and the com .dll. Is this enough? How do I put it on winform? 回答1: That should be sufficent. You'll need to register that dll on your machine, add it to the dev studio Toolbox (Right click on the toolbox/Choose Items) and go to the COM tab, if you can't find it in there you can browse to the specific location and select the Type Library to use. After that you can just drag the new control to your form. A Reference

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

我是研究僧i 提交于 2019-12-22 12:28: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

QTP Cannot Create ActiveX Object

天涯浪子 提交于 2019-12-22 11:15:39
问题 While working on script, I am facing this issue. I can't post the whole code but this is a sample that does the samething that I wrote myself; Dim qtpApp Set qtpApp = createObject("QuickTest.Application") qtpApp.Launch I have also tried this: Set qtpApp = createObject("QuickTest.application") And This: Set qtpApp = createObject("Quick Test.Application") But I Keep Getting "Active X Component cant create object. on Line x: "Set qtpApp = createObject("QuickTest.Application")" Any help

Why does my application triggers the Installer of another application?

南楼画角 提交于 2019-12-22 10:10:18
问题 When using a legacy VB6 application and opening some specific forms inside that application, the Windows Installer belonging to Microsoft Navision (which is installed on the same machine) pops-up like in the attached image. It happens every time, but on this machine only. The VB6 application has absolutely no relation with Navision! What can be done to avoid this anomalous interaction between the two applications? 回答1: This is down to a corrupt windows installer database and your app is using

Is it REALLY an activex control?

这一生的挚爱 提交于 2019-12-22 09:28:47
问题 I have a fairly simple block of code. Sub Run(Name) on error resume next Set objShell = CreateObject("WScript.Shell") if Err.Number = 429 then alert("Invalid Security Level.") exit sub end if objShell.Run Name if Err.Number <> 0 then Alert("Please verify your Operating System Choice") end if Set objShell = Nothing End Sub I'm using this with links on the website to allow the user to defrag their hard drive via: <a href="#" onclick="Run('c:\\windows\\system32\\dfrgui.exe')">Defrag Windows

Windows 7 Gadget not releasing ActiveX object

江枫思渺然 提交于 2019-12-22 05:08:20
问题 I'm working on a Windows 7 gadget that needs to pull data from an excel document. The problem is, is that the Excel process won't unload after I've retrieved the data I need. Here's the code I use in my initialization function: var Excel = new ActiveXObject("Excel.Application"); Excel.Visible = false; Excel.DisplayAlerts = false; var workbooks = Excel.Workbooks; var workbook = workbooks.Open("\\\\SERVER\\Documents\\Sample.xlsx", 0, true); var activesheet = workbook.ActiveSheet; var cell =

Place a div over an activeX object

徘徊边缘 提交于 2019-12-22 04:49:18
问题 I have a div box that needs to pop up over an ActiveX object, but it seems that an ActiveX object has an infinitely high z-index, even if when I set that index to be low. My div box continues to show up under the ActiveX object. Any ideas? 回答1: You'll want to place a transparent iframe over the object you want to cover up. found this example for you 回答2: An advantage of Windowless ActiveX controls is that they participate in overlapping 2-D layout Though modifying the control to make it

How To Programmatically Enable/Disable 'Display PDF In Browser' For Acrobat / Reader XI or DC For Use With Adobe ActiveX Control

北战南征 提交于 2019-12-22 03:48:13
问题 We have a .NET C# application that makes use of the Adobe ActiveX Controls. For versions 7-10 of both Adobe Acrobat and Adobe Reader, to use this control you were required to turn on the "Display PDF In Browser" setting. You could do this manually from the GUI using Preferences > Internet > Display PDFs in browser or programmatically by setting the registry settings directly HKEY_CURRENT_USER\Software\Adobe\(Product Name)\(Version)\Originals "bBrowserIntegration"=dword:00000001 Which follows

Communicating with the OLE Server or ActiveX Control

僤鯓⒐⒋嵵緔 提交于 2019-12-22 03:16:57
问题 MS Access 2010, Win 7 on a regular form I didn't intentionally place any ActiveX or OLE things.. not even sure what they are. But anyways, whenever I put something in the code of a particular form, it says "The Expression XXXXX you entered as the event property setting produced the following error: A problem occured while MyDB was communicating with the OLE server or Active X Control Huh? No matter what I put in the form's code, this happens. I had an empty Form_Current() ONLY which still