activex

About TidHttp, mshtml, ActiveX, COMObj in Firemonkey (Delphi)

眉间皱痕 提交于 2019-12-02 10:09:36
问题 I was reviewing the following interesting article, "Extract Links from HTML page using Delphi", and I tested in Firemonkey and it's very useful, however this code uses objects from Mshtml, ActiveX, and COMObj, so my questions are: do those objects above make less cross-platform for a Firemonkey project? if so, How could I get the same functionality using resources targeted for Firemonkey platform? How I can emulate a little webbrowser in firemonkey? Thanks in advance. Note : ChromiumEmbedded

AxShockwaveFlashObjects and ShockwaveFlashObjects from Flash ocx

岁酱吖の 提交于 2019-12-02 10:04:50
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! Open your command prompt. Switch to the directory that contains the aximp.exe file. Typically; C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin> Enter the following command (you may need to change the name of your COX file to match your version. aximp.exe -source "C:\WNDOWS\system32\Macromed\Flash\Flash10a.ocx" Look in the C:\WNDOWS\system32\Macromed

Returning an index value from a group of ActiveX Option Buttons

☆樱花仙子☆ 提交于 2019-12-02 09:33:19
Let me start off by stating that I am a medical student, not a programmer. I have written a spreadsheet that will work as an exam with 50 questions. Each question has 15 multiple choice answers for which I use ActiveX Option Buttons grouped to each question number. I use Activex instead of Form Option Button because I dump raw data from an exam into a hidden area of the worksheet and each option button caption references a cell in the raw data to display a different answer choice. This way I can easily create a new exam just by adding a table of questions and answer choices. I don't see how to

“var f = new ActiveXObject('Scripting.FileSystemObject');” not working with IE8

自古美人都是妖i 提交于 2019-12-02 08:14:10
问题 I am very new in using ActiveX controll through java script, I write var f = new ActiveXObject('Scripting.FileSystemObject'); in my code and Its was working fine on IE6, but recently I upgraded my IE6 to IE8 and what I found now its not working on IE8, returning the error given below: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; .NET4.0C; .NET4.0E; .NET CLR 3.0.4506.2152; .NET CLR 3.5

Excel renaming Activex Controls on other computers

假如想象 提交于 2019-12-02 07:45:54
I have a worksheet with Activex Controls(Combobox, Command Button, Option Button, CheckBox). On my computer I have renamed all the controls (Ex. CButtonPMR, OButton_Comp, etc) But when I open the file on other computer all the controls are renamed to default the default names (CheckBox1,Checkbox2, CommandButton1, etc) For that reason the code doesn't works on other computers. I am getting errors every time because the code can't compile. Is there a way to fix this? I basically have 2 forms into one and there is 2 option button to chose wich one you want. When the user select a Button the other

PHP and ADODB connection fail

家住魔仙堡 提交于 2019-12-02 07:34:15
I have been tasked to migrate servers. This includes moving over apps I did not build, a couple of which have an ADODB.connection that I cannot seem to fix on the new servers (I only get blank screens). I have researched quite extensively ADODB.connection with PHP and cannot find a definite source. Most are related to VB Script, or even Excel documents. I even searched YouTube and the only thing I found wasn't even in English. I took some of the previous developer's code and created a test.php: <?php error_reporting(E_ALL); ini_set('display_errors', 1); // echo 'hello' <-- I can show this to

Loading and Passing JScript Arrays from/to C# (not C) COM Component

耗尽温柔 提交于 2019-12-02 06:06:38
I have looked at tutorials on jscript arrays, but not seeing it yet. I saw something similar asked but involving Win32 code not .NET. Wondering, how do I pass arrays back and forth between JScript and a C# COM component? For example, I have two properties defined in my C# COM that returns string and integer arrays as: string[] HeaderLines { get; set; } int[] ImagePixels { get; set; } In my test.js file: ... var T = new ActiveXObject("Imager.Reader"); ... var headerLines = T.HeaderLines; WScript.StdOut.WriteLine("First HeaderLine:" + headerLines[0]); var pixels = T.ImagePixels; WScript.StdOut

About TidHttp, mshtml, ActiveX, COMObj in Firemonkey (Delphi)

梦想与她 提交于 2019-12-02 05:02:10
I was reviewing the following interesting article, "Extract Links from HTML page using Delphi" , and I tested in Firemonkey and it's very useful, however this code uses objects from Mshtml, ActiveX, and COMObj, so my questions are: do those objects above make less cross-platform for a Firemonkey project? if so, How could I get the same functionality using resources targeted for Firemonkey platform? How I can emulate a little webbrowser in firemonkey? Thanks in advance. Note : ChromiumEmbedded object does't work for Firemonkey. Ken White MSHTML , ActiveX , and ComObj are all Windows-specific,

ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment

元气小坏坏 提交于 2019-12-02 04:59:13
问题 I am getting this error when i try to show a form with an webbrowser in it. ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment I am calling it by: Public Class frmMain Class Server Public Shared Sub Main() Dim aTcpMessaging As IMessagingSystemFactory = New TcpMessagingSystemFactory() Dim anInputChannel As IInputChannel = aTcpMessaging.CreateInputChannel(theIPforLocal & ":" & thePort) Dim

How can a Labview VI be run as a background task through an ActiveX call ? (without keeping ActiveX busy)

a 夏天 提交于 2019-12-02 04:03:13
I would like to execute a Labview VI through ActiveX in Matlab. I use the following commands: e=actxserver('LabVIEW.Application'); vipath='C:\DATA\Labview\test.vi'; vi=invoke(e,'GetVIReference',vipath); vi.Run; This works correctly and the VI is seen to execute on its front panel. However, Matlab keeps waiting until the VI has terminated. I want Labview to run the VI silently, without telling Matlab (through ActiveX) to wait. How can a VI be executed without keeping ActiveX busy ? Is there a standard way to do so ? (I assume there should be, given how multitask-oriented Labview is - which is