Questions tagged [activex]
ActiveX is a Microsoft-proprietary framework for defining and accessing interfaces, to system resources, in a programming-language independent way.
3,838
questions
0
votes
0
answers
11
views
Object can't be created for ActiveX component
I created a excel macro tool, that will be able to make data matrix labels by asking the user each parameter, and then once the entire string for the label is made it gets sent to a brother PT9800PCN ...
0
votes
0
answers
21
views
Bilingual MS Access problems with OLE server or ActiveX control
Developed English/Arabic MS Access 2016 scoring app. The .accdb file works fine on my windows10-64bit machine. When running the same app. on another machine, the following happened in sequence :
An ...
0
votes
1
answer
42
views
"ThisWorkbook.Saved = True" not working on SharePoint with activeX button clicked
I use ThisWorkbook.Saved = True in Excel's "ThisWorkbook" object in order to suppress the "save changes" prompt:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
...
0
votes
0
answers
8
views
How to set AxMsRdpClient9NotSafeForScripting to use all monitors & allow user to move the Full screen interface
I am using a AxMsRdpClient9NotSafeForScripting to connect to a remote server. It works and works well, however, I'm struggling to figure out how I set it to use all monitors when entering full screen ...
0
votes
0
answers
27
views
Visualize PDF directly in an Excel Sheet
I am working on a project where one of the goals is to visualize directly PDF in an Excel Sheet.
At the moment, a function allows to consult the PDF by double-clicking on a wanted entry.
The code ...
0
votes
1
answer
31
views
Excel VBA Creating ActiveX Combobox Dynamically is Returning Non-ActiveX Combobox
Have declared a Global variable As OLEObject in Modules.Module1 and am creating combobox dynamically, if not exist at workbook_open() by calling the following function
Public Function ...
0
votes
1
answer
43
views
Excel VBA Creating Comboboxes second time is throwing Unregonisable Error
In my project, I have a need to create ActiveX comboboxes and position them on worksheets at specified Range(). The First run of the Code works fine till second sheet and then throws error when ...
0
votes
0
answers
19
views
ActiveX error when opening part of intranet website
a intranet website which works perfectly on IE and windows 7
when it runs on windows 10 , it automatically goes to edge and get below errors
cannot load card print activeX
windows has blocked this ...
0
votes
0
answers
31
views
RDP ActiveX IMsRdpClient10::GetErrorDescription always returns "An internal error has occurred"
I have an event handler for disconnect of an RDP ActiveX control in an MFC application. In that handler I attempt to get the disconnect description via GetErrorDescription() however the string it ...
0
votes
0
answers
29
views
Connecting to RDP Using ActiveX control and Redirecting Printers results in Debug output of Invalid parameter passed to C runtime function
Just wonder if this is a known issue when connecting to RDP using ActiveX control with Printer redirection enabled you get a bunch of: Invalid parameter passed to C runtime function. messages having ...
0
votes
0
answers
29
views
RDP ActiveX Client IMsRdpExtendedSettings Variant types?
Looking at Supported RDP properties with Remote Desktop Services to find properties to set but it doesn't tell you what VARIANT type they are using. Is it VT_BOOL and 0, -1 vs 0, 1 or VT_I2 or VT_I4, ...
0
votes
1
answer
49
views
How do you add IMsRdpClientTransportSettings4 to MFC application - Is there a TypeLib?
I want to add IMsRdpClientTransportSettings4 inteface to an MFC application. To add the IMsRdpClientAdvancedSettings8 interface I used the visual studio project menu / add new item then MFC category /...
0
votes
1
answer
92
views
Prevent smartcard / hardware token from hanging NLA prompt when using RDP ActiveX Control
If I have a hardware token / smartcard attached to the local system the NLA prompt will hang for 4 minutes when entering password or even canceling dialog. This is both the Windows client and my app.
...
0
votes
0
answers
23
views
Pyautocad how to reset blocks in the ModelSpace
I wrote a code for adding attributes to block in a block collection and then I pass the ATTSYNC command.Then, I realized that sometimes, even if the new attributes are displayed in the block editor, ...
0
votes
0
answers
178
views
How to add and use Adobe Acrobat ActiveX Reader in Delphi 11
I am Delphi beginner and I am creating a small contacts management application. I would like to be able to select a PDF file within Delphi and display it without having to open Adobe Acrobat Reader ...
0
votes
2
answers
86
views
How do you use the ActiveX RDP Client in MFC C++ Application?
I can't seem to find a working example of how you're supposed to use the ActiveX RDP client. I found Using the Remote Desktop ActiveX control but it doesn't explain how it's to be used. I was able ...
0
votes
0
answers
34
views
ActiveX TextBox cannot appear in outlook. Will show a big red cross instead
I did a table in word documents and in order to limit the number of words, I put ActiveX text box in it.
However this table will need to be sent to email (Outlook) and usually, the standard or ...
1
vote
1
answer
40
views
ActiveX Combo Box Selection Disappears After Selection
My VBA code works successfully when loading the combo box with different list based on a Selected Case. However, when I select an option from the drop down, the selection does not load into the Combo ...
0
votes
0
answers
44
views
How can I use Java code to set up a one-line multi-column label for the Bartender template?
I am using com to call ActiveX to enable Java to print labels using Bartender. If the label paper to be printed is single-column, then the printing effect is normal. However, if the template page is ...
0
votes
1
answer
50
views
Octave : How to use a function of a COM interface that returns multiple values?
In Matlab you can use AxtiveX-objects that return multiple values.
Here's an example code:
pkg load windows
excel = actxserver('Excel.Application');
workbook = excel.Workbooks.Open('E:\Temp\del\a.xlsx'...
0
votes
1
answer
68
views
How to get all the interfaces which are supported by the Delphi instance which is accessible from IDispatch?
Motivation: I got IDispatch pointer as a result of my efforts that I have described in my previous question How to access workbooks from the ExcelApplication Delphi COM reference, currently there is ...
0
votes
0
answers
30
views
Hi! Excel does not "see" buttons on the spreadsheet
I have 7 buttons distributed over three worksheets.
Each button triggers code in VBA and I have no problems with the operation of the code.
The problem occurs when I open the saved workbook. Although ...
0
votes
0
answers
37
views
vb.net WinForms Highlight PDF
I will like to highlight words on PDF using application written by Visual Basic WinForms in Visual Studio
My approach is to add reference to Adobe Acrobat library, ActiveX library so as to instantiate ...
0
votes
0
answers
16
views
Excel VBA ActiveX Combo box artifact - extra button
I am working on a dashboard in excel, I am using an activex combo box, to help filter reports, charts, etc... Everything seems ok but when it runs, but when I click the drop-down button it appears to ...
0
votes
0
answers
103
views
How to use setProperty on a PySide6 QAxWidget?
I am porting a PyQt5 sample that uses the QAxWidget to PySide6, the code produces the following error:
QAxBase: Error calling IDispatch member Connect: Exception thrown by server
Ths above error ...
0
votes
1
answer
48
views
How to access RDP Active X AdvancedSettings2 using PytQT5 QAxWidget?
I am trying to implemente a remote desktop client using PyQt5 QAxWidget to expose an MsRdpClient10NotSafeForScripting ActiveX object.
The connection works but I can't figure how to access the ...
0
votes
0
answers
96
views
Are the Delphi calls into Microsoft Word ActiveX/OLE components asynchronous and (if yes) how to detect the completion of the calls?
I am (proudly) using Delphi 6, but I guess that this can be an issue for all Delphi versions (Delphi 7, Delphi 2009, Delphi XE, etc).
I have the following code template:
uses Word_TLB;
...
property ...
0
votes
0
answers
45
views
electronjs ActiveX printing controls chrome based
Edge has a new future to use IE components like ActiveX with the new update:
Because edge is build on chromium and use a plugin from MeadCo ScriptX
I want to build this for chrome as well, because ...
0
votes
0
answers
117
views
Manually install ActiveX (CAB files) Plugin
I'm trying to install the CAB files that enable me to access a particular page on a site. For most users this is prompted and works swiftly when clicking install. However, for a few users this does ...
1
vote
1
answer
103
views
How to change the text of the clicked button?
I'm trying to make a macro where it will change the text of the button that is clicked by the user.
I already tried the oShape declaration mentioned in Microsoft's forum.
Here's what I have:
Sub ...
0
votes
0
answers
48
views
Circular (COM) reference when using IDispEventSimpleImpl
My question is about sinking COM events from a sub object properly, without creating a circular reference that would lead to memory leak(s).
There is an ActiveX control called CMyControl. This control ...
0
votes
0
answers
46
views
Get reason why "Cannot create ActiveX Object error is thrown
Is there any way of catching a more detailed reason why the 'Cannot Create ActiveX object' is thrown in JavaScript? I have code of the form
try
{
var obj = new ActiveXObject("MyComponent"...
0
votes
0
answers
46
views
Content of QAxWidget disappears when not in focus
I am currently exploring the possibilities of building a GUI that can directly interact with and display PowerPoint-presentations. For that I am using Python and PyQt5 on a windows machine with ...
0
votes
1
answer
98
views
How to use old ActiveX in C# project?
I have some old ActiveX libraries, that are used in Internet Explorer. There, in JavaScript an object would be created with new ActiveXObject("MyLib.MyClass") and used right away. The class ...
0
votes
0
answers
48
views
c# winform map application ( mapwingis) activex problem
when I try to add map control via BunifuShadowPanel (MapWinGIS) in C# Wİnforms, I'm facing an error message about Activex; "ActiveX not imported. Please make sure it is properly registered."....
0
votes
1
answer
27
views
How to refer to ActiveX checkboxes on another worksheet by name within a variable
I have 57 checkboxes on one worksheet and I want code to check or uncheck 57 checkboxes on another worksheet which all have the same names (chk01, chk02, etc). Once I get the name of the checkbox from ...
0
votes
1
answer
193
views
Explode block, modify its subentities, and Redefining the Block in VBA/ActiveX
I open a dwg file through visual studio 2010 vb-net (VBA/ActiveX)
In the drawing, I use an AcadSelectionSet to select an existing block which contains a line and a text.
I explode the block, I get the ...
0
votes
0
answers
25
views
Excel ActiveX control caption always shows question mark
I got a nasty problem with my [first] ActiveX control in Excel: the caption always shows a question mark as soon as I click anywhere outside the caption. In design mode I can change the caption to any ...
0
votes
0
answers
85
views
RAD Studio 11: Unable to use installed package
I've been using the o2cPlayer.ocx (1.9.9.165 - 32bit) component in my projects since Delphi 6 and have not had a problem until RAD Studio 11.1 (I'm running 11.2 Patch 1). It works in RAD Studio 11.0 ...
1
vote
0
answers
66
views
Multiple ActiveX Elements of the same Type
I have been struggling with ActiveX elements for the past couple of month and am desperate enough to ask for help.
I am working on my Bachelor's project for my local optics and laser department. We ...
1
vote
1
answer
464
views
How to properly use AxMsRdpClient in C# .NET
Before posting, I have researched everything I could, did many tests and came to no conclusion. It is not documented clearly how to use AxMsRdpClient properly.
I have a small development application ...
0
votes
0
answers
82
views
Internet Explorer - Automation server cant create object
I know that the IE isnt supported anymore by Microsoft - Unfortunately I have to use IE due to too less time for the migration to Edge/Firefox.
We are currently having a normal html table at our page. ...
0
votes
0
answers
24
views
Get Bit Version of ActiveXObject
When creating a Word ActiveXObject via:
var oWord = new ActiveXObject("Word.Application");
I know I can get the version with the .Version property. Is there also a Property or Method to get ...
0
votes
0
answers
110
views
opening and using .ocx files in vs code
so I got a VERY old project which contains ocx files which I want to open (I am using VS Code), since I never worked with activeX
I googled a bit but the only solution I found is using VS but since I ...
1
vote
1
answer
89
views
Excel VBA Loop Over ActiveX Textbox To Change BackColor If Condition Is Met
I'm trying to loop through all the ActiveX Texboxes I have created on a sheet. My code has no errors, but it also does nothing. The first line activates the worksheet (name is specified on previous ...
0
votes
0
answers
37
views
How to trigger custom ActiveX events inside React
I'm in the processing of modernising a legacy web application by translating it into React (version 16.14.0). One of the key features of the app currently runs in a custom ActiveX object. The longer ...
0
votes
1
answer
150
views
Where does the ActiveX control GUID for Internet Explorer web browser come from?
I've noticed that a few ActiveX-based webviews leveraging web browser control through the following GUID
Web Browswer Control - 8856F961-340A-11D0-A96B-00C04FD705A2
that GUID shows up in some ...
1
vote
1
answer
87
views
Close/Open Excel Column Groups via ActiveX in Matlab
I am struggling with an ActiveX problem. Usually, I find some help on the Internet or by recording a macro and somehow translating it to ActiveX, but I couldn't find anything for this particular ...
0
votes
1
answer
105
views
Renaming ActiveX ComboBoxes in an existing worksheet
I have a question for which don't find code snippets.
When an existing worksheet ActiveX combobox has been renamed using VBA, why does the workbook need to be reopened for its name property to fully ...
2
votes
0
answers
153
views
How to programatically set markers on Windows Media video in c#
In Visual Studio 2019 for Windows in c# for the component axWindowsMediaPlayer we have the event MarkerHit that is triggered when the video player hits a marker. Now I am puzzled at how can I add the ...