Images, posts & videos related to "Activex"
I have a few programs that expect ActiveX controls to be installed to run, and since MS pushed the mandatory windows update that removed all traces of the embedded flash in windows, I'm stuck.
Attempting to manually install ActiveX will display the "your microsoft internet explorer browser includes the latest version" -which is obviously bull since it's no longer there -at all- anymore.
Keep in mind i can't just install a standalone player to bypass this, those programs specifically request ActiveX to be installed to open at all.
I have several ActiveX buttons inside my template that essentially act as insert points ("Click here to add x"). I have it so that if the button is clicked, it asks the user whether or not they want to insert whatever piece of document, and if they say yes, it goes in in place of the ActiveX button. If they say no, the button is deleted.
The problem is that most of that code is within the "ThisDocument" section on developer, and every time I make a new document from the template, that code doesn't get saved with the new one.
Can I put this code into another module and have it work the same way? I'm just not sure how to make a sub like "Private Sub CommandButton1_Click()".... I feel like it'll end up being more like "If ThisDocument.CommandButton1 = 'Clicked' Then" (when I know 'Clicked' wouldn't work).
Anyone have any ideas of how to use ActiveX buttons for macros without using the ThisDocument code? Below is an example of what I already have there...
Private Sub cmdLegalDescription_Click()
Dim objFileDialog As FileDialog
Dim ImgPath As Variant
Dim Cancel As Integer
Dim r As Integer
Dim n As Integer
n = 0
Set objFileDialog = Application.FileDialog(msoFileDialogFilePicker)
Dim Msg As String
Msg = "Do you want to include a Legal Description in this report?"
If MsgBox(Msg, vbYesNoCancel) = vbYes Then
With objFileDialog
.AllowMultiSelect = True
.InitialFileName = "G:\My Drive\SharedGlascock\Document Automation\"
.Title = "Insert Legal Description"
.Filters.Add "Images", "*.jpg, *.jpeg, *.pdf"
If .Show Then
r = .SelectedItems.Count
If .SelectedItems.Count > 1 Then
Selection.InsertRowsBelow (r - 1)
End If
ThisDocument.cmdLegalDescription.Select
For Each ImgPath In .SelectedItems
n = n + 1
ImgPath = .SelectedItems.Item(n)
Selection.InlineShapes.AddPicture (ImgPath)
Selection.MoveDown
Next ImgPath
End If
End With
ElseIf MsgBox(Msg, vbYesNoCancel) = vbNo Then
ActiveDocument.Bookmarks("LegalDescription").Range.Select
Selection.Delete
Else
Cancel = True
End If
End Sub
And this is the code t
... keep reading on reddit ā”So my government provides an online tool to do some tax-related work.
Now to be able to access the tool you need Windows, Internet Explorer 10+, and Java.
I'm guessing its because its an ActiveX page. It also needs you to download and run a program - that that configures some Java stuff or policy or something on the registry. I was adamant at first, but it is literally the only option given (or wait in line). Nor defender or AV detected anything, so I wasn't as worried.
My question is, I have IE11 turned off in the Windows characteristics - because I don't use it, and don't want anything on my computer using it.
Do I need to turn it on to run ActiveX on IE Tab for example? or any other stuff to make this work?
Thank you!
Disclaimer: I'm still very new to AutoHotkey. I tried to create the script myself, but after trying for a while, I'm not really sure if what I want to do is even possible, and I'd just like some confirmation. I'm almost certain I'm just missing a tiny detail, and I'm too much of a novice to see it.
I would like to create a simple GUI making use of HTML, CSS and JavaScript. I started small and I got this:
Gui, Add, ActiveX, w500 h500, % "mshtml:<img src='https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png' />"
Gui, Show
return
Which works just fine. However, as you can imagine, it's incredibly annoying to use HTML within an AutoHotkey script, especially as it grows in size. I would like to off-load the HTML portion and everything else associated with it into a separate file, so I can have full syntax highlighting and all that other good stuff in my editor of choice, which wouldn't be as easily possible if it was all embedded in an AHK file.
So I tried to do just that, but failed miserably. I tried to go with FileRead with a "form.html" file residing in the same directory as the script:
FileRead, varHtmlContent, form.html
varHtmlContent = "mshtml:"%varHtmlContent%
Gui, Add, Text,, %varHtmlContent%
Gui, Add, ActiveX, w500 h500, % varHtmlContent
Gui, Show
return
Even though I can see it correctly reads the content of the form.html file, ActiveX doesn't seem to know what to do with it. How can I get the external content to work with ActiveX properly? Is it even possible?
I tried to change how varHtmlContent is called on the fourth line, but I can't figure out the right syntax, if that's even the issue.
I would like to be able to click on a Excel cell, and then click my ActiveX button and have it add or subtract 1 from that cell each time its clicked.
This is the code I currently have:
Private Sub SpinButton1_Change()
If ActiveCell = vbNullString Then SpinButton1.Value = 1
ActiveCell.Value = SpinButton1.Value
End Sub
It works great for adding 1, but it cannot subtract 1 if the cell is already at zero. Meaning if the cell is at 10, I can click the down spin button to make it 9,8,7 etc, but if its at zero it does not continue going into negative numbers. Is there anyway to make it do that?
For work I need to work with some Avery Weigh scale, but the API is built for ActiveX controllers which from what I have found are just terribly unsafe and badly deprecate. Thus I have been stuck trying to instantiate a class that has no constructor for weeks. I have tried using visual studio toolbox, creating a new interface, even de-compiling the dll.
Is there any way to translate the COM/ActiveX files to something more useful, I have the ocx file and their test app runs but I cannot seem to create anything new with it.
I have a Command Button setup where I click it repeatedly to adjust the value of cells. When I scroll down my page to make adjustments, I have to keep unlocking the command button and dragging it down the page and then relocking it to use it.
Is there a way to make it so the button just stays fixed in one spot and does not scroll with the page?
I saved my .xlsm file and it was working fine before. I have 23 radio buttons but when I saved and closed it, and shut down the computer I lost almost all the buttons. The code is still there though.
When I try to add a new button and change the name to match the existing code it get the message:
ambiguous name detected
How do I link a new activex radiobutton to existing code? Please help.
Additional info:
Is there anyone here that has the offline flash installer version 29.0.0.113(preferrably ppapi)? I'm needing it for a VM.
v29 does not have a kill switch, so that is preferrable.
Thanks in advance!
Hello. I used Tanida Demo Builder to make educational videos. Since Adobe and Microsoft cancelled support for flash technology, Tanida Demo Builder stopped working. I searched in the net for some manuals that offered advices of how to fix this problem. One of those guides told that i should uninstall all distributives of Adobe Flash installed on my PC. I've done it. The further instructions gave links to different versions of Flash that probably could work despite of Windows restrictions. But those installation packages were suitable only for Windows 7. Now i trying to find offline Adobe Flash installer for Internet Explorer in Windows 10. Does anybody know the site where i can download such installation package?
We've been working on purging all Adobe Flash installations from our environment and have encountered a problem with the ActiveX variant on systems that were upgraded from Windows 7 to 10.
The Adobe Flash uninstaller tool wasn't able to remove the ActiveX installation from these systems and Windows 10 itself prevents the uninstaller from running (giving an error about it being built into Internet Explorer on Win10).
I did some google searching but couldn't find any definitive solutions so I've been creating a script which I'd like to avoid deploying if there are better solutions available.
The script works as follows.
- Searches for installations of Adobe Flash Player ActiveX in the registry.
- Gets the MSI product GUID for that installation.
- Deletes the registry entry.
- Searches Windows Installer Product classes for an Adobe Flash AX entry with that GUID.
- Removes the entry.
- Deletes the folder C:\Windows\Installer\{ProductGUID}\
I am getting an error that I don't quite understand when attempting to open an existing word document "ActiveX component can't create object"
Here is the code that I have (the line that throws the error is Documents.Open Filename:="F:\CJS TEMP\A & A Presentation\Connor AnyCo Master.docx).
Does anyone have any insight?
Public anyCompany As Object
Public NewFileName As String
Public PasteRange As Range
Public StartNote As Long
Public EndNote As Long
Public rngRange As Range
Public BookmarkStart As String
Public BookmarkEnd As String
Public PasteDocument As Document
Public CopyDocument As Document
Public objWord As Object
Public ClientName As String
Public generatedFinancials As Object
Public Sub Tester()
ClientName = InputBox("Please Enter a Client Name or Number", "Client Name/Number")
'opens AnyCo Template
Documents.Open Filename:="F:\CJS TEMP\A & A Presentation\Connor AnyCo Master.docx"
Set CopyDocument = Documents("Connor AnyCo Master.docx")
'Creates new word document to paste the new footnotes in
Set objWord = CreateObject("Word.Application")
Set PasteDocument = objWord.Documents.Add
objWord.Visible = True
PasteDocument.SaveAs ("F:\Generated Financials\" & ClientName)
NewFileName = ClientName & ".docx"
I have an inventory table with too many columns to display on the page at once, so above the table I have a checkbox for each column, which hides or reveals the ones you want to see. The easy way was to add a little code to each checkbox, but I know that I should be defining a class with a method for hiding/revealing the columns. I've been Googling how to go about this but haven't found a clear explanation. I've defined plenty of classes with custom properties and methods, so I'm perfectly comfortable declaring variables as my custom class. But how do you take an existing Excel object--a form control or ActiveX control--and assign a class type to it?
I have been struggling to figure out how to use keyboard key strokes to run a macro when the key is pressed inside a slideshow. This isn't the same as assigning a shortcut key combination, nor does this need any add ons for it to work. I have an example here that looks like what I'm looking for, but it requires an ActiveX button to work. To my understanding, Macs don't like ActiveX controls, so this wouldn't be Mac friendly. Here is the code:
Private Sub CommandButton1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If (KeyCode = vbKeyRight) Then
PlusOne
End If
If (KeyCode = vbKeyLeft) Then
MinusOne
End If
End Sub
This subroutine is attached to a Command Button called CommandButton1. I am a bit confused as to the sorcery that is the "_KeyDown" part. Anyone able to explain that part and the variables set afterwards? In the Example, as soon as you click Command Button 1, then the arrow keys left and right work to Add or Subtract to a variable by one, and then update the text in a Caption.
What I would like to be able to do is to press either A, B, C or D keys or 1, 2, 3, 4 keys and have it run a macro that would then select the corresponding answer and run the rest of the code as normal. So if I'm understanding this example code above, I would need to have this subroutine in my code with the Command Button 1, and swap out key codes to things key "vbKey1" etc, and then have it run my desired subroutine after passing through the conditional? Is there a way to do this without the use of the Command Button so there's no use of ActiveX objects?
Flash ActiveX is being flagged by our auditing as being a lower version. Issue is that the version seen in the reg under the uninstall key is actually from back when the system was Win7 it seems. If I look at the FlashUtil_ActiveX.dll in C:\WINDOWS\SysWOW64\Macromed\Flash\ its a newer version that coincides with the most recent Microsoft Adobe Flash Player update. Attempting to uninstall using the uninstall string results in a error and a message about 'your browser will notify when there is a update'.
Any one else seen this particular scenario or know of a method to resolve this without breaking ActiveX for IE?
At the moment the best thing I can think of (which I know isnt the greatest of ideas) is to remove it from the reg uninstall key and try to remove it from the win32_product wmi.
Java applets are no longer supported, and CyberArk has removed the "old" direct transparent connection feature in the recent PVWA releases (v11.4+).
For one of my scenarios, I need a direct connection to a target server because I cannot use PSM in this environment. Instead of copying and pasting the password, I want to give my users the possibility to click on the "Connect" button, and an RDP file should be opened (basically the same fuctionality just without Java). Have any of you ever replaced the ActiveX RDP direct connection feature with updated components?
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.