Page 1 of 2

how to put a table in the clipboard

Posted: Sat Nov 08, 2014 6:29 am
by dragancesu
in the examples I've found to put some text in the clipboard

Question: how to put a table (or part) to the clipboard, in larger systems, it is the simplest way to transfer data from a table in Excel (for example)

Re: how to put a table in the clipboard

Posted: Sat Nov 08, 2014 7:10 am
by mol
You can separate cells by chr(9) and end rows with chr(13)+chr(10)
Such a prepared string you should paste to clipboard:
System.Clipboard := cClipboard

Re: how to put a table in the clipboard

Posted: Tue Nov 11, 2014 1:30 pm
by dragancesu
Thanks for the tip

Based on that, I made a program that creates a program for it, is independent but it is easily converted to a routine

What better way to transfer the date field?

Re: how to put a table in the clipboard

Posted: Tue Nov 11, 2014 1:46 pm
by Pablo César
Yeah, you're right Marek !

Dragan, please see this example: http://hmgforum.com/viewtopic.php?p=22771#p22771

Re: how to put a table in the clipboard

Posted: Tue Nov 11, 2014 8:36 pm
by dragancesu
I saw a program ok but I need something different

HMG in the windows world, and as I understand Clipboard is a powerful system, other programs to use so I thought I take this opportunity

Often faced with the problem of data transmission, Excel knows to open DBF, knows and openoffice but the question is whether it knows the user. I think that is enough for click button "Copy to the clipboard <Ctrl-C>", open Excel (or OpenOffice) and choose Paste <Ctrl-V>

Re: how to put a table in the clipboard

Posted: Wed Nov 12, 2014 8:02 pm
by Pablo César
No entendi :(

Re: how to put a table in the clipboard

Posted: Wed Nov 12, 2014 9:09 pm
by esgici
mol wrote:You can separate cells by chr(9) and end rows with chr(13)+chr(10)
Such a prepared string you should paste to clipboard:
System.Clipboard := cClipboard
Hi Mol

As far as I know you are an expert on working with Excel files :arrow:

My question is : which method is the best for import / export Excel files ?

Better : would you give a SSW sample ?

Thanks in advance :)

Re: how to put a table in the clipboard

Posted: Wed Nov 12, 2014 11:21 pm
by Javier Tovar
Sr. Esgici,

Que es "SSW", busque información sin buenos resultados.

Saludos

Re: how to put a table in the clipboard

Posted: Wed Nov 12, 2014 11:28 pm
by danielmaximiliano
Hola Javier...

cuando busques algo especifico que este en un foro como en este caso SSW al buscarlo en Google usa
"SSW hmgforum" por supuesto sin comillas, te traerá un enlace y a simple vista esto
SSW (short, simple and working) ...

Re: how to put a table in the clipboard

Posted: Thu Nov 13, 2014 4:08 am
by Javier Tovar
Gracias DanielMaximiliano por el Tip!

Saludos