topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Client Server options | Rick,
Thanks for the tip.
Reinaldo,
I use Danie´s xbrowse sample in tDolphin which goes to an ISP located in USA (sitasoft.net), while I am accessing it from Spain.
It is inmediate. Very impresive.
But accessing xBrowse with AIS in a server located in Spain but with latency over 40 ms is very very slow. |
Client Server options | Reinaldo, I feel you are a little impolite in your answer to me.
Best regards,
Otto |
Client Server options | Otto;
I think you are right. I'm sorry.
Reinaldo. |
Client Server options | Lucas,
I'd like to test accessing your .dbf tables in Spain from here. Please send me the connection string (ip, port, path and name of the dd), user and passw to access the DD over AIS. Thank you.
Reinaldo. |
Client Server options | Reinaldo,
Now I set off the server.
But you can try Renee Flores sample with their server.
It is also very very slow:
<!-- m --><a class="postlink" href="http://goo.gl/gsCE8">http://goo.gl/gsCE8</a><!-- m --> |
Client Server options | Reinaldo, thank you.
Best regards,
Otto |
Client Server options | Reinaldo,
Did you try <!-- m --><a class="postlink" href="http://goo.gl/gsCE8">http://goo.gl/gsCE8</a><!-- m --> ?
Thanks. |
Client Server options | Lucas;
Sort of. Using arc I created a new dd connection to \\ciber-tec.d2g.com:2000\cursos\adsdemo\cibconwn\stc\internet.add I connect with username demo and password demo.
Once connected, the table branch on the connection repository tree will expand showing all available tables. I'm browsing table ABRPOL. It is... |
Client Server options | Otto,
When I first started working with Harbour/xHarbour (.com ), the options were RDDCDX, Apollo, and ADS. I received a lot of input and elected to use ADS. They publish an excellent White Paper that made a lot of sense to me. For small installs, we can use ADS local and its free. However, I have clients with poo... |
Client Server options | Reinaldo,
Please, try to use link provided.
It uses twbrowse.
Arc browser is different.
Yes, datas appear!!. But very slowly.
I think it is a point that Sybase could improve.
Best regards |
Client Server options | [quote:2s0j9q8y] "...the fact that xbrowse is terrible with ADS RDDs, even with the Local and/or Remote servers and not just AIS."[/quote:2s0j9q8y]
Reinaldo,
Could you explain ? I have not been using AIS ( issues with my ISP for testing ) but I do use ADS server ( REMOTE ) mode and my xbrowse implementations are all... |
Client Server options | Lucas;
Ok. I just did. Whaoo, it is more than 100 times slower than with ARC. Try with ARC32 you will see it is 100 times faster than the supplied app on the .zip file.
The question is; why? It is the same AIS (server side), same server (linux, windows, novell? -doesn't matter), same internet connection, same t... |
Client Server options | Tim;
Yes, good question. The problem is not always manifested as it takes a given set of circumstances such as alternate row painting (pijama effect), table size, etc...
Here is a link to that subject as stated by Mr. Rao:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3... |
Client Server options | Several years ago, I followed the suggestions and used scopes rather than filters for my xbrowses. Maybe that is why everything works well.
Tim |
Client Server options | Reinaldo,
Thank you very much for your advice and comments.
I will test, because if I solve the problem with xBrowse, ADS will be the right choice.
It is also strange as Rene´s sample is build with tbrowse, which is faster than xBrowse.
Maybe Mr. Nages could help us. |
Client Server options | Timm,
Do you use xbrowses with AIS over Internet or just in LANS?.
In LANS they work fast, yes. And filters. |
Client Server options | I want to use them on the internet, but right now I have a server issue ( IP ). I will be exploring this soon.
Tim |
Client Server options | Hola a todos,
let me give some opinions about speed.
When we use ADO we maintain a data set locally, then this is faster that traditional Harbour RDD approach.
Other question about ARC vs. xBrowse, the problem is the xBrowse implementation, it refresh all the data many times for every event, it retrieve the same dat... |
Client Server options | Reinaldo,
This is the code i am using:
[code=fw:1svq9pou]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> Test_SQL<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">LOCAL</spa... |
Client Server options | Lucas;
Read Marcelo's comment. He is right on the money. You have to start by re-writing xbrowse, or use a grid component from a 3rd party specially made to manage sql result sets, or try with ADO. I think that ADO should work with any sql engine including ADS.
Best regards,
Reinaldo. |
Client Server options | Reinaldo,
Yes, the problem is that xBrowse evaluates too many times all events.
In fact, in local mode sometimes is slow, the more using ADS.
Do you know any 3rd grid that works with Fivewin?, |
Client Server options | lucas
You can still use the original Listbox class with Sql or .dbf .. here is a sql example with ADO. You will need to write your own skipper() like the one below.
Rick
[code=fw:2bcdgsln]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRsDEP:= TOleAuto<span style="color: #000000;">(</span><span ... |
Client Server options | Hi Carles,
Thanks for reply.
[quote:1j96hqjd]Can you use your ADS in xBrowse as an RDD more? Of course your can do it, but I do not think is the best way. I think the best is to create query, load and manage data in internal tables, and finally to work in some browse, no matter wich of them.[/quote:1j96hqjd]
So that... |
Client Server options | Hi,
Can you use your ADS in xBrowse as an RDD more? Of course your can do it, but I do not think is the best way. I think the best is to create query, load and manage data in internal tables, and finally to work in some browse, no matter wich of them. Then modify all records processed. It is a system change, but ultim... |
Client Server options | Reinaldo,
Here is a working sample:
[code=fw:3gjfoa5h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Harbour Advantage RDD sample</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7... |
Client Server options | So, you're bringing a whole .dbf across the wire and you are asking why is it slow? Don't bring a whole table across the wire. That's the easy answer. The question should be, why are you bringing a whole .dbf table across the wire? The speed at which a table comes across a wire, depends on the speed of the wire.
I ... |
Client Server options | Reinaldo,
I need to browse the full table. That´s what my software does and my customer except. I can´t just eliminate the browse to solve the problem.
I tested with ADS in two samples posted -last one using COPY TO LOCAL VIA "DBFCDX" and AdsCreateSQL...-. In both cases, the performance is very very bad. Maybe I am l... |
Client Server options | lucas si usa sql en ads intenta realizar la instruccion pidiendo un cursos estatico el cual te muestra los datos inmediato
ejemplo
[code=fw:11d9i7ys]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">select</span> <span style="color: #000000;">{</span><span style="color: ... |
Client Server options | Carlos,
Many thanks.
With your great tip, I noticed an important increase of speed. Very very good.
Now the performance is much better with xBrowse.
But it also takes up to 30 seconds to load the table into the array. If I load the table in local mode the process takes 0.5 segs. |
Client Server options | Carlos,
Y en mi ejemplo, si necesito refrescar los datos del DBF temporal creado por ADS con el resultado de la consulta, ¿debo repetir la operación o hay algo parecido a un Refresh() del ADSExecuteSQLDirect( cSql )?.
Muchas gracias.
[code=fw:1xgx4ool]<div class="fw" id="{CB}" style="font-family: monospace;"><span st... |
Client Server options | Hola,
en ese caso, no creo que un cursor se pueda actualizar, salvo que lo vuelvas a crear, entonces para tu fin podrías intentar crear una tabla temporal en lugar de un cursos, me imagino que el tiempo de creación debería ser similar al del cursor.
Para actualizarla, no le veo complicado actualizar los registros mod... |
Client Server options | I would think that to browse a remote table over an internet connection you would have to browse an SQL result sets with pagination (regardless of the sql engine). Lucas thinks he is bringing a whole table over the wire with Tdolphin, but I doubt so. That would be slow no matter the sql engine being used. I'm guess... |
Client Server options | Hi friends,
First of all, I want to thank you all your help and valuable tips. We have narrowed the problem and we are very close to solve it. Remember, all except browsing features work fine with AIS over internet, with very few changes in code. This is very important and very reliable solution, with much more advant... |
Client Server options | Lucas;
It is not going to change speed of the SQL cursor xbrowsing, but I think you can save these lines as they are not doing anything. You don't need to open the table when using SQL.
[code=fw:1so9utd9]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//the lines below a... |
Client Server options | Thank you.
I have them as I did other tests, such as append blank, locate, etc which are working very well.
Do you think any way to update/refresh the cursor?. It is not a handicap, as I can always repeat the query.
Thanks again. |
Client Server options | A static cursor a new table based on the old table (or tables). It is not refreshed when the base table changes. What you want is a Dynamic cursor (remove the {static} clause). A Dynamic cursor is actually faster than a static cursor. The problem is that xBrowse requests the full result set every time you move. If... |
Client Server options | Here is a good explanation of the difference between a live cursor and a static cursor from the help file:
[quote:3ml0rkwq]
Cursors are produced by executing SQL SELECT statements. Technically, a cursor is considered to be the mechanism by which the results of a query are manipulated and traversed. More generally, how... |
Client Server options | el culpable de la lentitud en los browse es la funcion ordkeycount, la cual para obtener su valor de retorno tiene que recorrer todo el cursor.
y para remate el bloque de codigo bkeyCount en xbrowse que es el responsable de obtener el valor de cuantos registros tiene el browse, se ejecuta cada tanto.
haciendo la presen... |
Client Server options | Carlos;
Excellent remarks. I couldn't agree more.
Reinaldo. |
Client Server options | Carlos,
[quote:3jk3v8zz]el culpable de la lentitud en los browse es la funcion ordkeycount...[/quote:3jk3v8zz]
Esto entre otras cosas, por eso recomiendo carga en tabla y despues tratarlo. Lo que has exlicado, tan facil de entender imaginate en una conexion Inet... Los browsers actuales constantemente hacen peticione... |
Client Server options | Hello,
What does the Fivetech team think about this changes?.
Thank you. |
Client Server options | Up.
Thanks. I think it is very importat for the future!!. |
Client to Screen | We often find this kind of correction to the coordinates returned by ClientToScreen and SceenToClient functions
[code:26abxwfj]
aPoint = ClientToScreen( ::hWnd, aPoint )
if aPoint[ 1 ] > 32768
aPoint[ 1 ] -= 65535
endif
if aPoint[ 2 ] > 32768
... |
Client to Screen | NageswaraRao,
In those circunstances we need a "short" (16 bits) signed value from PRG level.
Maybe we could try to change:
[code:1ughci7h]
hb_reta( 2 );
hb_stornl( pt.x, -1, 2 );
hb_stornl( pt.y, -1, 1 )
[/code:1ughci7h]
into:
[code:1ughci7h]
hb_reta( 2 );
hb_st... |
Cliente / Servidor | Hola Foro:
Necesito iniciarme en esta estructura. ¿Sabeis de un sitio donde me propongan ejemplos, herramientas a utilizar, etc. . . ? Me han comentado Mysql, advantage, pero no se por donde empezar. Tambien he intentado configurar el advantage en una pequeña red de area local, pero que va, tengo algunas lagunas... |
Cliente / Servidor | Antes de hacer el ejemplo con el cliente, tienes que tener instalado el servidor, asi que si nos puedes plantear tus dudas con los servidores, con gusto te ayudamos.
Lo del cliente viene despues, primero tenemos que instalar el servidor. |
Cliente / Servidor | Gracias Rene por tu respuesta:
Quiero empezar de cero, y habiendo leido post tuyos e incluso enlaces que has puesto sobre el servidor que montaste en Mexico junto con los resultados de conexiones etc. . . , creo que la solución de advantage es muy buena, pero primero necesitaria saber qué es lo que tengo que instal... |
Cliente / Servidor | pues mira en mi poca experiencia con advantage te puedo decir que es una excelente solucion ademas la migracion de tus aplicaciones FW16, CLIPPER y FW32 para trabajar bajo el cliente/servidor realmente es de risa (claro que con el apoyo de gente como Rene todo es facil <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin... |
Cliente / Servidor | Hola....
Yo te aconsejo MySQL, es facil de aprender no es del todo gratis, pero puedes empezar sin gastar casi ni un centavo.
Ademas puedes enlazar varios puntos de trabajo por medio de internet sin costo solo tu linea de internet, si necesitas algo referente a MySQL por aqui estamos.
Saludos
Marco A. Delgado. |
Cliente / Servidor | [quote="Marco A. Delgado":ejnmo8lj]Hola....
Yo te aconsejo MySQL, es facil de aprender no es del todo gratis, pero puedes empezar sin gastar casi ni un centavo.
Ademas puedes enlazar varios puntos de trabajo por medio de internet sin costo solo tu linea de internet, si necesitas algo referente a MySQL por aqui estamo... |
Cliente / Servidor | Rafa, algunas veces tienes razón <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
Voto tambien por Postgresql, es muy potente, y es totalmente gratuito, es muy estable y seguro.
Saludos |
Cliente / Servidor | [quote="thefull":3jglxb92][quote="Marco A. Delgado":3jglxb92]Hola....
Yo te aconsejo MySQL, es facil de aprender no es del todo gratis, pero puedes empezar sin gastar casi ni un centavo.
Ademas puedes enlazar varios puntos de trabajo por medio de internet sin costo solo tu linea de internet, si necesitas algo referen... |
Cliente / Servidor | Rafa,
y EnterpriseDB <!-- m --><a class="postlink" href="http://www.enterprisedb.com/">http://www.enterprisedb.com/</a><!-- m --> ?
Saludos,
Félix |
Cliente / Servidor | Rafa,
y EnterpriseDB <!-- m --><a class="postlink" href="http://www.enterprisedb.com/">http://www.enterprisedb.com/</a><!-- m --> ?
Saludos,
Félix |
Cliente / Servidor | [quote="Baxajaun":3bour6k7]Rafa,
y EnterpriseDB <!-- m --><a class="postlink" href="http://www.enterprisedb.com/">http://www.enterprisedb.com/</a><!-- m --> ?
Saludos,
Félix[/quote:3bour6k7]
Felix, viendolo, creo que se basa en PostGre, por lo tanto, aceptamos
tambien a Enterprisedb como unos de los mejores <!-- s;... |
Cliente / Servidor | [quote="goosfancito":2s7mobsg][quote="thefull":2s7mobsg][quote="Marco A. Delgado":2s7mobsg]Hola....
Yo te aconsejo MySQL, es facil de aprender no es del todo gratis, pero puedes empezar sin gastar casi ni un centavo.
Ademas puedes enlazar varios puntos de trabajo por medio de internet sin costo solo tu linea de inter... |
Cliente / Servidor | Hola...
Tambien podeis probar SqlServer con MSDE que es graito para 5 conexiones simultanes o Sql Server 2005 Express, tambien gratuito.
Saludos,
José Luis Capel |
Cliente / Servidor | .
. |
Cliente / Servidor | [quote="thefull"][quote="Baxajaun"]Rafa,
y EnterpriseDB <!-- m --><a class="postlink" href="http://www.enterprisedb.com/">http://www.enterprisedb.com/</a><!-- m --> ?
Saludos,
Félix[/quote]
Felix, viendolo, creo que se basa en PostGre, por lo tanto, aceptamos
tambien a Enterprisedb como unos de los mejores <!-- s;-... |
Cliente FTP con FW+xH | Hola Gente... Buen Día a tod@s!!!
Feliz y Prospero 2012!!!
Tenia mucho tiempo si entrar al foro y veo muchos nombres nuevos, lo cual me dice mucho de la aceptación de FW por la comunidad de programadores...
Se me esta presentando una necesidad, nueva para mi, en la que necesito subir y bajar archivos de datos en un s... |
Cliente FTP con FW+xH | Así hago yo para subir archivos a un ftp
//----------------------------------------------------------------------------//
Function FTPSendFiles( cFTPSite, aSource, aTarget, cUserFtp, cPassFtp )
Local lEnd := .f.
Local nBufSize := 2000
Local oInternet, oFTP
MsgRun( "Conectando al Sitio FTP...", "Espere...",;
... |
Cliente FTP con FW+xH | Gracias por el ejemplo...
Lo copie tal cual, pero aun me sigue saliendo el dialogo con el mensaje "Cannot load WinINet.dll!"...
pero... dos maquinas tengan el mismo problema??
Seguire buscando, pero aun asi acepto mas tips/ejemplos/sugerencias/comentarios... |
Cliente FTP con FW+xH | Giancarlo,
¿Qué versión de FWH y de Harbour usas?.
Tiene pinta de que tienes una versión antigua... |
Cliente FTP con FW+xH | Esta solución me funciona perfecto..
viewtopic.php?f=6&t=20501&p=108900&hilit=JOHNSON+RUSSI#p108900
Johnson Russi
Colombia |
Cliente FTP con FW+xH | 1) Tienes que comenzar añadiendo en la cabecera los siguientes includes:
#include "Fivewin.ch"
#include "wininet.ch"
2) Escribe la siguiente funcion:
FUNCTION SubirFtp( cFtpAddress, cUser, cPass, cOrigen, cDestino, nPort, nService )
local hWinInet, hInternet, hConnect, lOk
// cargamos la DLL si no estaba cargada
hW... |
Cliente FTP con FW+xH | usando script:
[code=fw:2z4wy576]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />UploadFtp<span style="color: #000000;">(</span><span style="color: #ff0000;">"c:<span style="color: #000000;">\t</span>emp<span style="color: #000000;">\c</span>lientes.txt"</span><span style="color: #000000;... |
Cliente FTP con FW+xH | Estimados, he encontrado que en las versiones recientes de fwh y xharbour, con harour no he probado
la funcion file esta fallando en ubicar archivos ubicados en la misma carpeta de la applicacion
esto luego de ocupar la instrucion set defa to
por ejemplo
[code=fw:31bdq0y5]<div class="fw" id="{CB}" style="font-family... |
Cliente FTP con FW+xH | Gracias a todos por sus aportes...
Ciertamente mis versiones de xHarbour y de FW estaban algo desactualizadas, por lo que antes de intentar otras alternativas (incluidas algunas de las que me han sugerido en este hilo) decidi actualizar mis versiones de xH, FWH, y los sistemas que he desarrollado con esas herramientas... |
Cliente Servidor. Como empezar. | Hola a todos,
A ver como se lo explico a ustedes.
Ya les anticipo que aun no gogleado sobre el tema, y que soy autodidacta, no diplomado.
Se me presenta la ocasión de crear una aplicación del lado Servidor. (El cliente pedirá mediante un WebService [que ya veré como lo toreo]).
La aplicación recibirá peticiones de h... |
Cliente Servidor. Como empezar. | Carlos,
A cuantos clientes tendria que atender, aproximadamente ? |
Cliente Servidor. Como empezar. | [quote="Antonio Linares":1y9pbg3f]Carlos,
A cuantos clientes tendria que atender, aproximadamente ?[/quote:1y9pbg3f]
Gracias Antonio,
Podrían llegar a ser unas 10 ó 15 en el mismo instante (concurrentes), y el trabajo que debería realizar el ejecutable podría tardar de 3 a 5 segundos; por tanto estamos hablando en e... |
Cliente Servidor. Como empezar. | Carlos,
Doug ha desarrollado una aplicación cliente servidor por sockets bastante interesante:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=12269&start=0">viewtopic.php?f=3&t=12269&start=0</a><!-- l -->
Posiblemente puedas usar su trabajo como referencia y punto de p... |
Cliente Servidor. Como empezar. | [quote="Antonio Linares":1dphrrfj]Carlos,
Doug ha desarrollado una aplicación cliente servidor por sockets bastante interesante:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=12269&start=0">viewtopic.php?f=3&t=12269&start=0</a><!-- l -->
Posiblemente puedas usar su tr... |
Cliente Servidor. Como empezar. | Carlos,
Doug ha optado por construirse una solucion 100% suya, lo cual es muy interesante, pues podrias adaptarla a tus necesidades <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Cliente Servidor. Como empezar. | [quote="Antonio Linares":z0chq2lo]Carlos,
Doug ha optado por construirse una solucion 100% suya, lo cual es muy interesante, pues podrias adaptarla a tus necesidades <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:z0chq2lo]
Gracias, la tendré en cuenta.
Un saludo
... |
Cliente Telnet | Alguien tiene desarrollado algo con sockets para usar como cliente telnet. |
Cliente Telnet | Biel
You can try modify a FTP Class inputing de Telnet commands.
See this page with telnet commands explanation:
<!-- m --><a class="postlink" href="http://www.math.utah.edu/computing/unix/unix-commands.html">http://www.math.utah.edu/computing/unix ... mands.html</a><!-- m --> |
Cliente Telnet | Rochinha, thanks for your answer. I will take a look to the FTP class and the link you have sended. |
Cliente Telnet | Biel,
The class below is more complete:
[code:3tc5y7wu]
// Original work from Alex Shaft & Peter Kohler, with mods by Byron Hopp, Rimantas Usevicius
// Modified by Luis Krause May 10, 2003, Optimized and cleaned up code
// Fixed ::Retr() & ::Dir() ... |
Cliente Telnet | ¿ Alguna clase TELNET ? |
Cliente Telnet | Hola JM, tengo una implementacion muy basica para Telnet, si no necesitas emulacion de terminal VT100 ,VTxxx puede valerte, sino tendrias que desarrollar el modulo para interpretar las secuencias de escape.
Mandame un privado si te interesa lo que tengo hecho, soy Gabriel de Mallorca.
Un saludo |
Cliente Telnet | [quote="Biel EA6DD":3sh8en08]...tengo una implementacion muy basica para Telnet...[/quote:3sh8en08]
Igual me sirve.
No quiero un cliente telnet a lo bestia sino que me permita utilizar comandos.
Por ejemplo quiero entrar en una maquina Sun con Solaris 8 y pedirle cuales son sus interfaces de red.
Para ello me basta co... |
Cliente Telnet | [quote="Biel EA6DD":17sa1lza]...si no necesitas emulacion de terminal VT100 ,VTxxx puede valerte...[/quote:17sa1lza]
Pues precisamente necesito VT100.
Por lo que he podido comprobar con un cliente telnet (el de windows) y un sniffer Ethereal y Analyzer que desde que se establece la conexion TCPIP hasta que aparece la p... |
Cliente Telnet | Pues investigando podria salir del apuro con el RemoteShell (rsh.exe)
Puedo poner en un ventana de MS-DOS esto: [b:3dm8jbqt]rsh <host> -l <usuario> ifconfig -a[/b:3dm8jbqt] y me contesta con el resultado del comando.
Pero esto es en una ventana MS-DOS.
No puedo redireccionar (>) ya que eso supondria que es parte del co... |
Cliente Telnet | Hola,
si lo que deseas es tener simplemente informacion del equipo con UNIX, crea un servidor
con PERL en el unix en un determinado puerto y los dejas como servicio del unix, luego desde tu programa en FW con socket te conectas con el y te pasa la informacion que necesitas.
Claro lo complicado aqui es que tendrias qu... |
Cliente Telnet | [quote="Marcelo Via Giglio":36l2fi18]...Claro lo complicado aqui es que tendrias que poner este servicio en cada equipo unix...[/quote:36l2fi18]
No solo eso, sino que no soy el "amo" de los equipos y tienen lo que tiene y solo me dan login y pass...
Con "Remote Shell" seria feliz <!-- s:roll: --><img src="{SMILIES_PAT... |
Cliente Telnet | Bueno, pues al final lo he solucionado con el REMOTE SHELL.
Las maquinas Unix a las que "ataco" para pedir datos lo tiene activado.
Entonces con el comando [b:yfxz9e2e]rsh[/b:yfxz9e2e] de windows (el MS-DOS nunca muere) y la consola [b:yfxz9e2e]cmd[/b:yfxz9e2e] hago lo siguiente.
[code:yfxz9e2e]function main()... |
Cliente postgresql para mingw | Hola,
¿ Alguien sabe donde se puede descargar o como se puede construir la librería del cliente de postgresql, para mingw?
Mi idea es la pgsql.a pero como librería estática, es decir, no quiere tener una pgsql.dll y una .a para enlazar. Sólo la .a ya compilada con las funciones
dentro, sin depender de una .dll extern... |
Clipboard TEXT | hi,
i copy Filename from App to Clipboard
later i paste from Cliboard back to App and want "goto" File
but it does not work <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
paste Filename into Notepad
mark Filename "in" Notepad and copy back to Clipboard
no... |
Clipboard question | A couple months ago I incorporated a change from this forum, basic code below, to be able to fetch the clipboard contents, edit it, then put the edited version into the get . This stopped working with the last update, in the following code it crashes on the oClp:Open() line, giving me a TGet():MsgNotFound(0) error. Wha... |
Clipboard question | Robert,
Please modify this line this way:
oSegment:bGotFocus := { |oClp| ColToString() } // We don't provide oClp as a param, which it is a TGet object to function ColToString()
that way, oClp will arrive as a nil to function ColToString() and there should be no error TGet():MsgNotFound(0)
also you need to define ... |
Clipboard size | We have a problem when very long text (> 100.000 characters) is copied to the clipboard - only part of it can be pasted.What can be done?Is there a limit of the clipboard?Thanks for help,Dietmar |
Clipboard size | Dietmar,The clipboard should be able to support up to 2GB strings or more (limited by max available memory).Are you copying from a richedit control ? |
Clipboard size | no I'm using FGet (with many modifications for our use)with oClp:SetText( cText ) oClp:GetText( )I can see that only part of very long texts are copied.I there a limit by Windows? (same results with xP and vista)Thanks,Dietmar |
Clipboard size | If you Google "clipboard maximum size" you will get a lot of different opinions on this. It seems most people say that the limit was 32K in 16bit but in 32bit the maximum is limited to available memory which can, of course, vary from time to time even on the same computer. So, I think you are always going to have some ... |
Clipboard size | Dietmar,just an idea and not tested.Test your text string for binary zeroes.Clipper and xHarbour can handle these characters in a string.But in c language a '\0', which is chr( 0 ) terminates a string.May be that this causes your problem ?Regards,Detlef |
Clipboard size | Hello Dietmar,Did you ever get this issue resolved? I'm having a problem with the Windows Clipboard only accepting about 20k of text. I'm using FWH 8.10 and Windows XP. As a test I modified the PlaceSomeText() function of the TestClip.prg sample as follows:[code:pc3xym7e]
function PlaceSomeText()
local cT... |
Clipboard size | Patrick,We are going to test it in a few minutes... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Clipboard size | Patrick,You are right, it seems as its size is limited (around 32 Ks).The text that you want to copy, where will it be used from ? I mean, will it be used from the same application, or from another application ? |
Clipboard size | Antonio,The text will be used in another application. The particular feature I am implementing copies delimited email addresses to the Clipboard so that they may be pasted in the TO: or BCC: block of an email message using whatever email software our customer prefers to use. There may be a better way of allowing our cu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.