Hi
I have a application that captures the screen och sends the images to a server.
I want to save the destination URL's (like: http://domain.com/dump/img.jpg) to the clipboard, but this only works when my application is minimized in the system tray.
I know what the problem is but cant find any solution for it.
My Code:
My problem: When the application windowstate is Normal/maximized only the screenshot will be in the clipboard, or that is the only I can paste in MS Paint.
When the window is minimized the code works as expected.
What to do?
I have a application that captures the screen och sends the images to a server.
I want to save the destination URL's (like: http://domain.com/dump/img.jpg) to the clipboard, but this only works when my application is minimized in the system tray.
I know what the problem is but cant find any solution for it.
My Code:
Code:
Clipboard.SetText(urlFormat, TextDataFormat.Text);
When the window is minimized the code works as expected.
What to do?