Hi Prithak.
A$ = "Hello"
_CLIPBOARD$ = A$
now open Wordpad and press Ctrl + V.
and second way - from text editor Notepad to QB64:
Select something in Notepad, press Ctrl + C
open QB64 and write this code: PRINT _CLIPBOARD$
The same but with pictures do _CLIPBOARDIMAGE
Here is a fun example. Delays are needed to complete the program transitions. Increase them if it doesn't work on your system.Thank you both for answering my question. :D, It was much appreciated!Code: QB64: [Select]
Now if you just want to store the contents to the clipboard, to manually paste them, do as Petr explained...Code: QB64: [Select]
Pete