Cannot paste from clipboard into a TMemo - delphi

I have a client that reports he cannot paste into a TMemo from the clipboard. I also have code that calls TMemo.PasteFromClipboard, but this does not work.
He is using Windows 8 (not sure if 8.0 or 8.1).
Other users in their office do not experience this problem.
Any ideas what could be wrong?
(Application developed with Delphi 7)

Windows 8 / 8.1 : copy and paste, known problem since 2013
copy content lost, switching from one app to another app.
try to copy and paste anything to an email.
trouble with copy and paste between a virtual machine and desktop.
copy-and-paste takes several tries.
using arrow keys when NUM is on (deletes Clipboard content).
Sometimes could be solved with
disabling the "Send to Bluetooth" option in Outlook.
To disable the Add-in, start Outlook with the "Run As Administrator" option.
OR
Disabling C:\Program Files (x86)\Intel\Bluetooth\btmoffice.dll in the COM Add-in manager.
IE Internet Options
Allow Programatic clipboard access.
Switch from Disabled to Prompt
Sometimes set to Disabled make problems.
Webroot, if your client using webroot
Ask client to add your App to Application Protection tab
Win8, Webroot Secure Anywhere Internet Security Plus
Open Webroot as Admin user.
Identity Protection properties (gear icon).
Application Protection tab.
list of applications (three radio buttons) : Protect, Allow or Deny.
Look for the application that does not allow you to cut/copy/paste.
If it's set to "Deny" you won't be able to use cut/copy/paste.
SecureAnywhere, ManagingProtectedApps

Related

How to open downloaded documents file from blackberry access in windows explorer

Im using outlook in blackberry access for security reason, but the attachment file that i downloaded from email can't be find or open in windows explorer, plz someone help me!,
Because in blackberry access,i can't edit or save edits in secure environment.
Any kind of idea really help me a lot
BlackBerry Access for Windows includes an encrypted container for downloaded files. Access can be configured to restrict access to these files from the rest of the Windows System, which is why you don't see them in Windows Explorer.
A BlackBerry UEM admin can configure BlackBerry Access to allow the import and export of files from this secure container. This is done in the BlackBerry Access app configuration.
This document explains how to change these settings: https://docs.blackberry.com/en/blackberry-dynamics-apps/blackberry-access/3_0/blackberry-access-administration-guide/lnb1484165962504/ndf1494880538789/aju1487865944450
The settings are explained in this document. The two for this use case are "Enable export of downloaded files to OS file system (Windows and Mac)" and "Enable import of files from OS file system".
https://docs.blackberry.com/en/blackberry-dynamics-apps/blackberry-access/3_0/blackberry-access-administration-guide/lnb1484165962504/ndf1494880538789/bcp1488469362943
Alternatively, BlackBerry Access can be configured to allow the editing of documents from directly within its container. This configuration is explained here: https://docs.blackberry.com/en/blackberry-dynamics-apps/blackberry-access/3_0/blackberry-access-administration-guide/lnb1484165962504/Allow-users-to-securely-edit-files-within-an-app-in-BlackBerry-Access-on-Windows-or-macOS

QAF Reports are not populated in dashboard.htm

Got the latest code here: https://github.com/infostretch/qaf-report.
Extracted dashboard directory & dashboard.htm to the project root directory.
Ran QAF tests.
Opened dashboard.htm during test run & also after test run.
Tried to open dashboard.htm in Google Chrome, Firefox & Safari after giving permissions to access local files. But Dashboard.htm did not load anything. A spinning icon is displayed continously even after several minutes.
Am I missing anything here?
If you are accessing reports locally as file protocol, browser may have restriction to access local files. In such case follow the steps to allow local file access from file for the browser you are using.
Firefox:
go to about:config
set security.fileuri.strict_origin_policy:false.
Safari:
Click on the Develop menu in the menu bar.
Select Disable Local File Restrictions.
If develop menu is not available, Click on the Edit > Preferences > Advanced tab. Check "Show Develop menu in the menu bar.
chrome:
Close down your Chrome browser (make sure you close all instances if you have multiple windows open)
Go to Run and type the following command: chrome.exe --allow-file-access-from-file.
Hit enter.
Reference from local-report-access
I just want to give more clarity by making little corrections to the existing steps mentioned here:
https://github.com/infostretch/qaf-report#local-report-access
When you are opening report "dashboard.htm" from local file system, your browser may have local file access restrictions.
In that case, you can do following setings:
Firefox:
Enter "about:config" in the browser url field & click on the button "Accept the Risk & Continue".
In the "search preference name" field, enter "security.fileuri.strict_origin_policy" & click Enter & click on the toggle button towards the right to set it FALSE.
Safari:
Click on the Develop menu in the menu bar.
Select Disable Local File Restrictions.
If develop menu is not available,
1. Click on the Safari > Preferences > Advanced tab(in MAC, Safari > Preferences > Advanced tab).
2. Check "Show Develop menu in the menu bar.
Chrome:
In Windows PC:
Close down your Chrome browser (make sure you close all instances if you have multiple windows open)
Go to Run and type the following command: chrome.exe --allow-file-access-from-file.
In MAC
Open your terminal anywhere, make sure Google Chrome is currently not running, copy paste this line and hit enter:
open /Applications/Google\ Chrome.app --args --allow-file-access-from-files

How do I get the Mac OS X Firewall to permanently allow my iOS app?

I'm writing an iOS app that acts as, among other things, a telnet server. Naturally, it begins listening for connections as soon as it starts.
When I run the app in the Simulator, Mac OS X (I happen to be on 10.7.3) prompts me to Allow or Deny my application to accept incoming network connections. This is the standard Firewall message that Mac OS X uses for all unsigned, networked applications.
I grow weary of clicking "Allow" fifty or more times a day, and so I seek a way of permanently adding my app to the Firewall's list of permitted apps.
I've tried the following.
Open Activity Monitor while my app is running.
Select my app. Click "Inspect".
Go to the Open Files and Ports tab. One of the first lines is the precise path to my app. Copy and paste this path.
Open the Firewall... Advanced settings.
Click the + (add) button.
Browse to the application path and select it, thus adding it to the list of applications for which incoming connections are allowed.
In the last step there's a significant decision. You could add either the .app application package, or Show Contents on that package and add the "Unix executable" within. I've tried both approaches.
Interestingly, Firewall will in fact stop warning you about the app—for a while. After a few runs, however—it isn't clear to me what event actually causes this change, but it happens within half an hour or so for me, generally speaking—Firewall begins warning about the app again.
How do I set Firewall to permanently Allow my iOS app?
Naturally, I could bypass this whole problem by disabling the Mac OS X firewall. I could also avoid ever again getting a splinter in my foot by chopping it off. Neither of these courses of action recommend themselves to me.
What would you suggest?
So we want to suppress the following dialog
Do you want the application “NNN.app” to accept incoming network
connections?
which appear on every activation of the Xcode iOS simulator.
I believe there is now a solution for that. Basing my answer on this blog.
Simply run the following commands in a Terminal window:
#temporarily shut firewall off:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
#put Xcode as an exception:
/usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/Xcode.app/Contents/MacOS/Xcode
#put iOS Simulator as an exception:
/usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
#re-enable firewall:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
For me it worked. Please note simulator address is according to Xcode 8.
After dabbling with this for some time, I found that manually adding the executable itself to the Firewall "Allow" list gives the desired result. You don't add the .app, but rather the "Unix" executable inside the .app's Contents folder. I believed I had tried this file before without success, but currently it's working.
I think the best solution might be to script the process of okaying your app to the firewall.
If I recall correctly, the latest OSX firewall is actually clever about identifying apps and fingerprints the allowed binaries. This prevents the surprisingly effective tactic of just naming your malware "system32.exe" &c to evade the firewall. If that's the case, your app will be (correctly) blocked for not being the same binary that was okayed, and there's not really any way around it.
So, try scripting the firewall allowing process and incorporate that into the build process.
I never had luck with manually adding the executable to the firewall's allowed-list. Here's a solution using an automated mouse click:
Download CLIclick. (Thank you Carsten.)
Put it in a suitable location, say /usr/local/bin.
Get the Allow button's screen coordinates using ⌘⇧4. (In my example, these are x: 750, y: 600.)
Create a script with this content (the w: is the wait time in ms):
/usr/local/bin/cliclick c:750,600 w:1500 m:+0,+0 c:.
(I couldn't get CLIclick to work without "moving" it to the same location (the m:+0,+0 part) and clicking again at the same spot with c:..)
Open Xcode's Preferences / Behaviors and add the above script.
Enjoy!
I don't know if it is the right way but for me worked.
Turn off the firewall
Connect with the iphone app to your mac
Check if everything in the connection working
Turn on the firewall

Wireshark on a Citrix Client

I'm working on an app which needs to intercept SSL from a Citrix client and write to a log file. We are trying to use Wireshark to log the traffic per this article:
http://support.citrix.com/article/CTX116557
However, I don't know where the certificate file is located on the client machine. Has anyone got this to work, and if so, what was the solution?
Thanks.
You didn't specify what the target operating system was, that's running behind citrix.
However, assuming it's windows based:
In Win7/Server 2008
goto: Control Panel -> Internet options (Maybe internet & network then internet option on win7)
Either way, the dialogue box your looking for is the one that usually appears when you go "tools->options" in internet explorer.
Goto the "Content" tab, then click "Certificates" select the certificate you wish to export, then click "Export" and follow the instructions in the export wizard to save your certificate to disk.

Deleting an Application from 8830

We have developed an application for 8830 Device and its working fine.
The problem that we are facing now is that, we are unable to delete the application from the device.
We selected the application, pressed the menu button, but dont find any delete option.
We went to the applications list, through advanced options, but surprisingly we dont see our application in that that applications list(By Deploying the same application in higher devices such as 9630 and 9550,9800) we see a delete option, by pressing menu and also see our application in the options->application list.
We went to modules, and identified the modules of the application, but there also we were not able to find the delete option in it.
We also tried using the blackberry desktop software too, but in vain, we dont find our application in that list too
** The current device we are using is not configured with any BES(We are registered with the BIS) And moreover, we are able to delete the yahoo messenger, gtalk, twitter from the mobile except our application(It just behaves like some shortcut).
Do we need to add some extra lines of code in any class so that it gets identified as an application.Kindly help on this.
Thanks in advance,
Dheeraj Jami
Usually when an application installed via BB Desktop Manager + .alx file or wirelessly (Browser + jad file) the application is listed in the applications list and can be deleted by end-user without any problems.
But if the application installed via javaloader or cod file created automatically via RIM SDK then the application won't be listed in the application list.
The working way to delete unwanted cod file(s) is using javaloader.exe that comes with JDE distribution package.
Connect your device to the desktop computer via usb-cable and type the command in command line, when you are in folder where javaloader.exe located:
javaloader -usb erase -f unwantedfile.cod
and press Enter
Do we need to add some extra lines of code in any class so that it gets identified as an application.
No, you don't. From my experience it just happens sometimes with BlackBerries. In this case the only way to get rid of it is to pull the battery out of the device. This action resets the device to its factory state (all apps installed by user will be lost).

Resources