3,808 questions
1
vote
0
answers
132
views
I'm getting this error message in my VBA code
I am getting an error "DOB Error:" shown in my code's error handler, and I am unable to fix it.
Please help me; this code is mostly used to validate a date available on a web page, and if ...
Advice
0
votes
4
replies
74
views
Integrating Windows Explorer as a control in Windows 11
Is it possible to integrate Windows Explorer component as a control, created on my window? For instance, as an ActiveX control. It should work in modern Windows 11 (24H2, 25H2).
Back in Windows 9x ...
0
votes
0
answers
104
views
How to pass null as ActiveX control parameter
ActiveX control was registered from dll file using regsvr32:
cd \windows\syswow64
regsvr32 "C:\mapp\mycontrol.dll"
FoxPro object is created from it using
ofiscalprinter=CREATEOBJECT('...
0
votes
1
answer
115
views
PPT Presentations.Open changed from Version 2508 (Build 19127.20192)
I have a problem with calling PowerPoint's Presentation.Open method.
It seems to me that the Untitled parameter to
Presentation.Open
has changed.
When opening the same file twice (once with Untitled:=...
1
vote
1
answer
149
views
Adding a photo from ActiveX to an Outlook email attachment using VBA
I am fairly new to VBA and am using a userform to let colleagues upload a photo which then gets pasted into an ActiveX photo box on my Excel spreadsheet. From here I then attach the complete form as a ...
2
votes
2
answers
130
views
Using ActiveX Checkboxes Conditions to Check or Disable Another Checkbox AND to Populate Column
Fair warning I'm very new to using VBA and I've looked all over this site but I can't seem to a similar question.
I'm hoping it's a pretty easy solution though.
I have these checkboxes 1 - 4
Example ...
0
votes
1
answer
109
views
Microsoft Word ActiveX Checkbox VBA code to change fill color of table
New here and not a coder in the least. I know virtually ZERO about coding, so be easy on me if this is a super dumb question.
But here is what I am wanting to do:
I have a very long checklist in ...
0
votes
0
answers
127
views
RDP Client - AxMSTSCLib.AxMsTscAxNotSafeForScripting Resolution Setting
Using the component axMsTscAxNotSafeForScripting..
How can I set the resolution of the remotely reached server?
My screen is set to a high resolution.
Can I set the remote server to a fixed resolution ...
0
votes
1
answer
90
views
VBA Option Buttons Clearing for Unknown Reason
I’m building off a workbook someone created years ago where Sheet 1 has primary equipment info entered into ActiveX text boxes and option buttons, with matching ActiveX controls below it for secondary ...
1
vote
1
answer
63
views
Excel automatically renames back ActiveX controls when reopening XLSM spreadsheet file
I had added an ActiveX control (in my case, it was a ComboBox, but it might as well be a button or something else) to a spreadsheet, and named it Analysis1_FileAction_ComboBox. Later I renamed it to ...
0
votes
0
answers
61
views
How to propagate ActiveX checkbox values from .xls or .xlsm to .xlsx in locked-down environment?
This is probably futile, but I have a scenario where some customers are using older versions of an Excel spreadsheet form in .xls or .xlsm format with ActiveX checkboxes. I've tried to get them to use ...
0
votes
3
answers
299
views
Is there anyway to determine whether a dll is an ActiveX control or strictly a COM object?
I am currently working on a legacy project requiring me to identify ActiveX controls from a group of DLLs and OCXs. However, I find that the terms "COM" and "ActiveX" are almost ...
0
votes
1
answer
213
views
Cannot create ActiveX component after upgrading Office
A customer has recently had their Office software upgraded to Office 365 and now the bespoke software they use will not send e-mails, instead they get the error "Cannot create ActiveX component&...
0
votes
1
answer
75
views
Python pass string ref into method of COM (ActiveXCtrl)
I am trying to use a method present in an ocx file.
The definition of this method is (resolution from VS - c#)
VS Screen
[DispId(17)]
[MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions....
1
vote
2
answers
103
views
Change ActiveX Textbox in PowerPoint
I have a form in Excel that will add text to existing named ActiveX textboxes in PowerPoint.
Dim PPTM_app As Object
Dim PPTM_file As Object
Set PPTM_app = CreateObject("Powerpoint....
0
votes
1
answer
383
views
ActiveX will be disabled by default in Microsoft Office 2024
Microsoft announced in September 2024:
Starting in new Office 2024, the default configuration setting for ActiveX objects will change from Prompt me before enabling all controls with minimal ...
0
votes
0
answers
108
views
Directshow in VBA VLC ActiveX problem name device
I searched without success in the forums, so I try to get help from you. Thank you in advance
I am testing a code in vba that causes me a problem using the vlc activex. I want to display my webcam. I ...
1
vote
1
answer
84
views
A wildcard in a Sql statement doesn't work [duplicate]
I'm building a program to manage a group of PC's worldwide. They are all stored in a MS Access database.
The program is written in Visual Studio basic
This is the query I run:
SELECT *
FROM SidePC
...
0
votes
0
answers
88
views
VBA Formatting Multiple Activex Textboxes in One Sub
I have been learning VBA to create an Excel sheet which allows people to easily and quickly grade a diagram that our students must memorize and draw.
I have placed activex textboxes which have colored ...
0
votes
0
answers
77
views
Enabling and disabling vba activex checkbox
What I am doing is creating a user-entered form where they can request materials.
What I need to do: Enable/Disable checkboxes based on the limitations allowed PER requestor.
Problem: How do I ...
0
votes
0
answers
39
views
Change value to a renamed activeX checkbock vba
I need to change the value of a renamed activeX checkbox ("cbZinc"). I've wrote the following code that I found in an old post but it doesn't work. I'm sure that it has to be something quite ...
2
votes
0
answers
136
views
Delphi 11.3: save MHT with resources without dialog
My code:
uses
System.SysUtils, MSHTML, ActiveX, SHDocVw;
implementation
procedure TForm1.FormCreate(Sender: TObject);
begin
WebBrowser1.Navigate('google.com');
end;
procedure TForm1....
1
vote
1
answer
340
views
Visual Basic 6.0 crashing when adding Windows Common Controls (MSCOMCT2.OCX)
I am trying to add the above OCX as a reference to my VB6 project but whenever I add it, my system just hangs and I have to forecefully close the program
I have registered the ocx beforehand using ...
0
votes
1
answer
287
views
Does IBM MQ 9.3 still support ActiveX applications (AXMQ200.dll)?
I "support" an old webserver application, which uses ServerSide Jscript ActiveX component. This is the IBM MQ WebSphere dll (IBM MQ) called MQAX200.
The latest documentation i can find on ...
0
votes
0
answers
789
views
Powershell script to launch my web app in chrome with maximized window
I want to create a power shell script that can launch my web application on Chrome.
Also to launch it in maximized window size.
Below is the related ps1 code:
$flags = "--app=$appUrl --start-...
0
votes
1
answer
152
views
When I insert a Word file as an object into PowerPoint, the macros in the Word file no longer work
I need help please. I'm trying to embed a Word file containing macros into a PowerPoint presentation that will be distributed to several people, but once it's inserted as an object in PowerPoint, and ...
0
votes
2
answers
4k
views
Using Interaction.CreateObject("Outlook.Application") with new version of Outlook does not work
I have a VB.Net application that emails via Outlook using Interaction.CreateObject("Outlook.Application"). This has been working fine until my client's IT department started pushing version ...
0
votes
1
answer
314
views
VBA ActiveX Label Transparency
I'm trying to create an ActiveX label on my worksheet and at certain times have it be transparent.
Here's my code so far:
Sub CreateButton()
Dim menuxBx As MSForms.Label
ActiveSheet....
0
votes
0
answers
328
views
Excel ActiveX control checkbox not updating and not reacting after the first click on it
I am using a Windows 10, 64bit PC with Office 2019.
I was working on a VBA code with activeX controls and at a certain point I noted a change in which the activeX controls react when the user changes ...
0
votes
3
answers
212
views
Removing thick border when activex checkbox is not checked
I can not figure out how to remove the border when the activex check box is not checked. I have been messing with the code but either get errors or unwanted results.
This is for work so I can not ...
1
vote
2
answers
594
views
Adding Horizontal and/or Vertical borders with VBA
When a checkbox is unchecked E4:F11 is hidden.
When it is checked the cells are visible and formatted.
I need more.
The first thing is this code creates a border around the range, which I do want.
Is ...
0
votes
1
answer
57
views
How can I create in IronPython a Variant holding an array of doubles to be passed to AutoCad?
I am using IronPython to modify an Autocad file using COM/ActiveX. Reading information from the file is going well but now I want to move a line in the cad file.
The Move command is looking for two ...
2
votes
0
answers
180
views
Best Practice for disable automatically deactivating .NET ActiveX Controls in VB6?
I'm porting an old Visual Basic 6 program. I deployed the migrated component in WPF and provide that component as an ActiveX control (C#, Windows Forms, .NET Framework) to add the control temporarily (...
0
votes
1
answer
159
views
Error: Cannot create ActiveX component calling legacy OBJ for COBOL
I have to import data from a web page to an accounting package running AcuCobol.
It is an IIS ASP .NET Core application.
In order to do this I have a VB program that does the actual import, since the ...
1
vote
0
answers
238
views
Can the Delphi ActiveX Excel application load directly Excel xls file that exists in the binary format in the file/memory stream? Convert to xlsx?
I am trying to export DevExpress TdxDBGrid into XLSX format (yes, there are still Delphi 6 programs that uses TdxDBGrid!) but my program can have more general application as well.
So, TdxDBGrid has to ...
0
votes
1
answer
154
views
ActiveX : How to change implementation from Qt to wxWidgets
I was using QAxWidget to access an ActiveX control. I am trying to move to wxActiveXContainer. My initial Qt code was quite simple in syntax. I am struggling to obtain something somewhat equivalent ...
0
votes
1
answer
229
views
ComboBox ListFillRange Dynamic Range issue. How do I make the drop-down not include erroneous cells?
So I have a search file in order to find alarm panel numbers for a site where I work. I set up a table for the different buildings, another table for the areas within each building, a table with the ...
0
votes
1
answer
111
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
66
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
93
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
1
answer
74
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
726
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
1k
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
685
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 ...
1
vote
1
answer
111
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 ...
1
vote
1
answer
154
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
122
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
1
answer
120
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
1
answer
117
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 ...
1
vote
1
answer
435
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 ...