About multi Flash.ocx versions in one machine - windows

I have a application using Flash.ocx to get the frame picture from SWF file, after updating adobe flash player to the newest, the frame picture is totally wrong.
Is there a way to keep the old Flash.ocx in my running folder and my application will use that instead of the one in the system folder? I tried add the flash.ocx within application manifest file, but it doesn't work.

You can try to use flash wrapper: F-IN-BOX. I didn’t use it, but it has version compatibility feature.

Related

Disable image preview in dialog box

In my Electron app, I am trying to use dialog.showOpenDialog() to allow users to choose the image file that they want to open. On Ubuntu 18.04, when they choose an image file, a preview of the image would appear on the right side like so:
https://i.stack.imgur.com/RG6Po.png
However, if the user chooses a file that is too large (typically 1GB+), my app would crashes, with the following being printed on the command line:
tcmalloc: large alloc 1073741824 bytes == 0x32f584ab4000 # 0x7fb5985b16cf
I tried disable thumbnail generation in the Search & Preview tab of the file manager but it didn't disable this right-hand-side preview in the dialog box.
My app works with very large raster files so being able to choose these image files is crucial. I have considered either installing a new file manager or moving my code to another OS, but I want to ask beforehand if there is any less drastic solution that I can take?
The previews are being added to the GtkFileChooserDialog by Electron itself, so changing your file manager or its settings won't have an effect. Changing OS would work, of course, as drastic as it is.
It does seem like Electron should offer an option for turning off previews among the platform-specific ones in dialog.showOpenDialog. At the minimum, it should enforce a reasonable cutoff on file sizes for previews.
To accomplish that, you'd have to patch Electron locally (and then ideally submit a PR). Whatever you decide to do, I don't see a bug reported about this in the Electron repo, so doing that could be helpful to anyone else who runs into the problem.

Where are video project files hidden in Windows Photo video editor?

I discovered that Windows Photo has a pretty good basic video editor hidden in it.
My wife used it to edit a family video. Then she wanted to save the project (clips and project file, not just the final product) to USB drive.
Photo only gives you one option: Save to OneDrive. The claim is that other OneDrive devices running Photo will then be able to see the Project.
However, careful inspection of OneDrive yields no file with the title of the project and nothing that obviously looks like a video editing project file.
Does anybody know how they pulled this off and where they have hidden the project information? It can't be buried in the Registry, because that wouldn't transfer through OneDrive.
Every video clip used to create a new video, no matter what the source, is first copied to my C: SSD drive into my 'Pictures' folder.
I found the program created a new folder called 'Video Projects' in my Pictures folder.
The program does not delete these videos copied to my C: SSD drive when the program is through with them.
I must go in and manually delete the working copies of videos the program makes.
C:\Users\Your_User_Name\Pictures\Video Projects
There were two reasons I was looking into this.
1) For a video project, set the duration for all the photos in a storyboard to something other than the default. (Why isn't this built in?) and;
2) On another project, reset the duration that I'd set on a bunch of photos so it could auto sync with music.
So, I looked into this a bit, and for reference the data is stored in an Sqlite database called MediaDb.v1.sqlite located by default here (replace YOURUSERNAME) C:\Users\YOURUSERNAME\AppData\Local\Packages\Microsoft.Windows.Photos_8wekyb3d8bbwe\LocalState
You can load the database using an Sqlite reader like DB Browser however you can't update it because it contains an unrecognised database collation (column character set) called NoCaseUnicode which you can about more here
There are others who are reporting similar problems trying to access this file.
I just finished a short project. I noticed an option to make a backup (click the three dots in the top right corner). That created a .vdp file. The file is 35 MB. The total size of the pictures and audio track is 30.1 MB, so it looks like it puts everything into this one .vdp file. The idea, as I understand it, is that you can take this .vdp file with you and import it into the video editor on a different computer (or same computer with new hard drive) and resume working on your video from there.
Of course relying on a proprietary file, in my opinion, is not great. You're trusting that Microsoft will continue to support the file format in the future. And as we've seen, over time, Microsoft has a habit of dropping support for popular applications that they bundle with Windows. Make sure you hang on to those original photos/videos!
My saved videos were located in c/Pictures/wallpapers/Video Projects

Adobe Flash Player plugin for firefox

I seek to install the Adobe Flash Player plugin on firefox 39.0 for all users of my terminal server.
I've found so many solutions on the internet all of which do not work (yay). So can someone explain to me one working solution to get the latest Adobe Flash Player on the firefox 39.0 of all my users, so they will be able to see flash? I'd rather do stuff in Program Files (x86)/Mozilla Firefox/browser than in everyone's Users/user1/AppData/Roaming/Mozilla.
Thanks in advance
Apparently Firefox now blocks versions of flash older than 18.0.0.209, so check you've got that, or else try to unblock it manually.
Source: http://gizmodo.com/firefox-now-blocks-flash-by-default-1717664482
For other plugins, this used to work:
http://www.groovypost.com/howto/microsoft/windows-7/install-firefox-flash-plugin-manually-on-windows-7/
In case of Adobe Flash Player, I could not find an .xpi file, instead it worked this way:
log in on terminal server as local administrator
go to command line and type change user /install
install from https://get.adobe.com/flashplayer/ (unchecking McAfee)
go to command line and type change user /execute
And it appeared to be installed for all users; solved. So no manually messing around with files here.

opening a document opens a old version of my app

I have a document based application.
If i open a saved file via double click on the file then a old version of my program (that I removed from the system) is opened instaed of the newer one. The application is a stand alone application.
How can i avoid this?
If it is removed from the system it won't launch. You do in fact have another copy of the app somewhere. Launch services cannot tell te difference between them and may launch either one.
You need to locate the old version (and any other instances) and at least move it to the trash.

How to copy additional files to OSX

I have a simple FireMonkey application which loads an image file. It's my first try with OSX. It's started on OSX via paserver from the "scratch-dir". But my image file is obviously not there and cannot be loaded. What do I have to do to make Delphi copy this image file to OSX or bundle it?
You can use the Project-Deployment option to add addtional files
If you manually copy the image to the Resource folder into the application bundle on your Mac, your application can access the file without specifying a path.
Unfortunately, I don't know a way to get Delphi to include the file automatically.

Resources