1. Eric Verhorstert
  2. PowerBuilder
  3. Thursday, 09 May 2019

In the file explorer you can select "copy" from the context menu.

How can we simulate this with powerbuilder? I would like to know the Global External windows function.

 

 

Eric Verhorstert Accepted Answer Pending Moderation
0
Votes
Undo

Our program runs in a rdp session 

I want to show all the available files in a certain folder in a datawindow. If the user clicks on a file I have to call the copy command (just like the copy command in the file explorer). A program running in the background wil then download this file to the computer of the client.

Comment
I can't use filecopy because the target folder is on the clients computer (RDP session). I would like to copy the file to the clipboard. On the client computer they can use "paste" (explorer | contect menu) to save the file.
  1. Eric Verhorstert
  2. Friday, 10 May 2019
Hi

I don't know if this article can help, you will need to use a Windows API call to achieve this.

https://stackoverflow.com/questions/25708895/how-to-copy-files-by-win32-api-functions-and-paste-by-ctrlv-in-my-desktop

Cheers

David
Thanks for the link. I had never expected that the clipboard is that difficult. I also could not find a third party activeX.



So, it probably stops here.



Thanks

Eric
  1. Eric Verhorstert
  2. Friday, 17 May 2019
There are no comments made yet.
  1. Thursday, 9 May 2019
  2. PowerBuilder
  3. # 1
Roland Smith Accepted Answer Pending Moderation
1
Votes
Undo

There is a FileCopy function built into PowerBuilder. The context menu in Windows Explorer is defined in the registry.

Perhaps you should give us a more detailed description of what you want to do.

 

Comment
There are no comments made yet.
  1. Thursday, 9 May 2019
  2. PowerBuilder
  3. # 2
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.