topic
stringlengths
1
63
text
stringlengths
1
577k
A better Solution to adjust Panel-Height / Explorerbar ?
I found a adjustment oPanel4:nBodyheight, but it doesn't work like expected ( doesn't define a Panel-Area, to put some Controls ). It only adjusts the Distance to the next Panel. Maybe still another Solution : [img:io5ybmsj]http&#58;//www&#46;pflegeplus&#46;com/pictures/panel3&#46;jpg[/img:io5ybmsj] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A big hit: Neither Apache and mod_harbour are needed
Dear friends, Today a milestone hit has arrived: Apache (or IIS) and mod_harbour are NO LONGER needed <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> In less than 100 lines of code, both are no longer needed Stay tuned for a new revolution <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
A big hit: Neither Apache and mod_harbour are needed
What??? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
A big hit: Neither Apache and mod_harbour are needed
Can you give us a little clue ?
A big hit: Neither Apache and mod_harbour are needed
It is just a small library that you use from any Harbour app and you no longer need Apache neither mod_harbour <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> All your mod_harbour code will be compatible, but you can do it much much simpler <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
So you still have to install something on the web server, right? <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> EMG
A big hit: Neither Apache and mod_harbour are needed
Modern development languages as Node, etc. provide a powerful web server that you can easily built in your apps. Now we have such power in Harbour too <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> A simple class that turns your desktop app into a web server too. So we can have the best of both desktop and web in our apps. This opens endless possibilities... No need to install Apache, mod_harbour, etc... just keep coding using Harbour as usual, the language that we use and love <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> With just two lines of code you create the server and make it run. This is a dream come true
A big hit: Neither Apache and mod_harbour are needed
Dear Enrico, Nothing at all, except your Harbour app
A big hit: Neither Apache and mod_harbour are needed
I don't understand but looking forward to see how it will work. EMG
A big hit: Neither Apache and mod_harbour are needed
<!-- s:idea: --><img src="{SMILIES_PATH}/icon_idea.gif" alt=":idea:" title="Idea" /><!-- s:idea: --> <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A big hit: Neither Apache and mod_harbour are needed
I will be pending
A big hit: Neither Apache and mod_harbour are needed
Estoy deseando verlo!!!!!!! Actualmente TsPlus para hacer funcionar las aplicaciones de escritorio de Harbour en un entorno web.
A big hit: Neither Apache and mod_harbour are needed
Esta es la mejor noticias, que me han dado hoy que estoy de cumple años. Gracias Antonio Linares.
A big hit: Neither Apache and mod_harbour are needed
Hola a todos, Antonio, para los que usan Harbour+FiveWin... ¿Alguna solución? Aun así, lo que explicas es fantástico. Muchas gracias.
A big hit: Neither Apache and mod_harbour are needed
Saludos Antonio Favor no olviden a los que estamos en xHarbour ...
A big hit: Neither Apache and mod_harbour are needed
Funciona correctamente con ambos Harbour y xHarbour <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Y también con FiveWin <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
A big hit: Neither Apache and mod_harbour are needed
Let me know Antonio: we have two different running programs in two different machines (or in the same) Server Side and Client side, both written and compiled my me. Server Side performs database access and share information for client through tcp/ip protocol? is it correct? very very nice <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> congratulations
A big hit: Neither Apache and mod_harbour are needed
Dear Marco, You only need one harbour exe and you use it from the web browser (Chrome, edge, etc) You can use it locally accesing localhost from the web browser or remotely given its IP address. It's very simple and this allows to build web apps using Harbour very easily <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
Solo queda preguntar ... para cuando ?
A big hit: Neither Apache and mod_harbour are needed
Hi Antonio Does this mean that harbour app may be an internal server socket that works with HTTP/HTTPS? Something like an async function const requestListener = function (req, res) { res.writeHead(200); res.end("Hello World!"); }; This is interesting because I have written a JWT library <!-- m --><a class="postlink" href="https://github.com/matteobaccan/HarbourJwt">https://github.com/matteobaccan/HarbourJwt</a><!-- m --> and I'm working on an application written with apache+https and mod_harbour where I have put some rest web service with JWT authentication With an internal (mono or multithreaded? Like node or Spring Boot?) HTTPS server I can deploy web service more easily also on docker environment ciao matteo
A big hit: Neither Apache and mod_harbour are needed
Dear Matteo, HbWeb is a library that you can use from any Harbour app (text mode or GUI mode) and it delivers a web server using sockets. Previously we needed Apache (or IIS) + mod_harbour + PRGs (and HRBs) <---> web browser With HbWeb we only need a Harbour app <---> web browser We are still on development and as soon as the first demos are ready, we will share them.
A big hit: Neither Apache and mod_harbour are needed
[quote="Antonio Linares":3ndg5pli]Dear Matteo, HbWeb is a library that you can use from any Harbour app (text mode or GUI mode) and it delivers a web server using sockets. Previously we needed Apache (or IIS) + mod_harbour + PRGs (and HRBs) <---> web browser With HbWeb we only need a Harbour app <---> web browser We are still on development and as soon as the first demos are ready, we will share them.[/quote:3ndg5pli] Excellent!!
A big hit: Neither Apache and mod_harbour are needed
I'm interested! If you need more testers, let me know! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Patrick
A big hit: Neither Apache and mod_harbour are needed
Excelente Antonio esperaremos con paciencia <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
Que belleza!! Gracias Antonio por estar siempre ahí. Estaremos atentos a los primeros ejemplos.
A big hit: Neither Apache and mod_harbour are needed
i am interested... if need beta tester, i am here <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> thanks for your work
A big hit: Neither Apache and mod_harbour are needed
We are going to deliver the first demos real soon... <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
A big hit: Neither Apache and mod_harbour are needed
Hola Antonio Thanks for your big bigs efforts. a little suggestion by a os nix user if i can. The preferred directory where for example firebird sql server choose to install its software is /opt directory, clearly not all linux and nix os have this directory ( Ubuntu for example have it, freebsd not, but you can create this directory, whithout any problem. There ( /opt ) i clone harbour and many other software, and there i put for example my software app so under /opt there is /opt/harbour and /opt/myapp and for example /opt/netio server i change the ownership of this directories to myself with chown and chgrp to modify source and to run executables and there i build all my software. so i suggest to you that the software you create should work in /opt directory regards Domenico
A big hit: Neither Apache and mod_harbour are needed
Domenico, Many thanks for your valuable suggestions!
A big hit: Neither Apache and mod_harbour are needed
Hola a tod@s Antonio alguna imagen de como va hacer la nueva plataforma de harbourWEB <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
Patricio, Está a punto de salir del horno... <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
A big hit: Neither Apache and mod_harbour are needed
Execiting ! Hope turn out soon! Shuming Wang
A big hit: Neither Apache and mod_harbour are needed
In next FWH 22.06 an automatic "webapp" feature is available generating automatically a web app from our FWH desktop app. In example, we take FWH\samples\fivedbu.prg or any other app, we build it and we select the "webapp" feature: [img:b3d16sfq]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/webapp1&#46;jpg?raw=true[/img:b3d16sfq] Now we go to the web browser and go to "localhost" and see what we get: [img:b3d16sfq]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/webapp2&#46;jpg?raw=true[/img:b3d16sfq] Still there are many things to fine tune and solve, but I would say that it looks very promising... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
Amazing!! Enviado desde mi motorola edge 20 lite mediante Tapatalk
A big hit: Neither Apache and mod_harbour are needed
<!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
A big hit: Neither Apache and mod_harbour are needed
Dear Antonio, I'm looking forward to it. Best regards, Otto
A big hit: Neither Apache and mod_harbour are needed
Antonio, out of curiosity. Are you basing it on an embedded server or do you translate to html-js-css? or both? eager to try...
A big hit: Neither Apache and mod_harbour are needed
Victor, both. FWH automatically generates the HTML and launches a web server so the web app and the desktop app can communicate. We will be posting more examples and you will know and test its progress <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> We are going to need your feedback and there will be many things to fix, as we are opening a new road...
A big hit: Neither Apache and mod_harbour are needed
Muy bien, excelente Antonio. Estare pendiente
A big hit: Neither Apache and mod_harbour are needed
[quote="Antonio Linares":2710wstn]Victor, both. FWH automatically generates the HTML and launches a web server so the web app and the desktop app can communicate. We will be posting more examples and you will know and test its progress <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> We are going to need your feedback and there will be many things to fix, as we are opening a new road...[/quote:2710wstn] FWH 32b or 64b? O no importa? Algún compilador en concreto? Gracias,
A big hit: Neither Apache and mod_harbour are needed
[quote="Antonio Linares":fd712x8b]Victor, both. FWH automatically generates the HTML and launches a web server so the web app and the desktop app can communicate. We will be posting more examples and you will know and test its progress <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> We are going to need your feedback and there will be many things to fix, as we are opening a new road...[/quote:fd712x8b] Wow! Antonio it's hard and great work! something like XAML? code once for multiple environments...
A big hit: Neither Apache and mod_harbour are needed
Antonio: Actualmente sólo utilizo harbour en modo consola. ¿ Qué opción habrá disponible para los que no usamos FW ?
A big hit: Neither Apache and mod_harbour are needed
Paso a paso y ya veremos hasta donde podemos llegar... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
Mr. máster Linares, ¿ Para cuando una quedada por skype para que nos cuentes algo más del proyecto ? ¿ Algun exe que podamos crear ? Es que tenemos que crear "ambiente" entre los clientes Salu2
A big hit: Neither Apache and mod_harbour are needed
Dear Antonio, Will the code that "WebApp" generates be processed by the existing mod harbour server. Or will there be 2 mod harbour versions in the future? Best regards, Otto [img:3qchxgyt]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/webapp1&#46;jpg?raw=true[/img:3qchxgyt]
A big hit: Neither Apache and mod_harbour are needed
Exelente! Gracias Antonio.
A big hit: Neither Apache and mod_harbour are needed
Antonio Did you say you can take your desktop client server app and port it to a web app with 2 lines of code ?? Rick Lipkin
A big hit: Neither Apache and mod_harbour are needed
Dear Rick, I did not <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> I would be lying if I said so. Its a simpler way to the web, but there is still a lot of work to do. And we are just starting to understand it... It helps you to start with it, but there are things to change. How far can we go ? We still don't know it...
A big hit: Neither Apache and mod_harbour are needed
Antonio I am VERY interested ... put me on your List ... Rick Lipkin
A big hit: Neither Apache and mod_harbour are needed
On the right side there is a FWH dialog running, on the left side there is a HTML dialog automatically generated from the FWH one: Thanks to Cristobal, Charly, Bruno, Kwon... for their help and inspiration. Now we go for the most difficult part. Fingers crossed... <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> [img:177ob7i2]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/webapp3&#46;jpg?raw=true[/img:177ob7i2]
A big hit: Neither Apache and mod_harbour are needed
Hola se ve interesante, esto también funcionara la para los celulares ,o solo para computadores
A big hit: Neither Apache and mod_harbour are needed
Estimado Patricio, Para cualquier dispositivo que soporte un navegador web: telefonos, tablets, smartTVs, PCs, etc <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
Hola, es algo magnífico. Sólo tengo la duda si va a soportar las apps en 32-bit. Felicidades! Muchas gracias.
A big hit: Neither Apache and mod_harbour are needed
Estimado Joel, 32 y 64 bits saludos
A big hit: Neither Apache and mod_harbour are needed
[quote="Antonio Linares":1f30n9b3]On the right side there is a FWH dialog running, on the left side there is a HTML dialog automatically generated from the FWH one: Thanks to Cristobal, Charly, Bruno, Kwon... for their help and inspiration. Now we go for the most difficult part. Fingers crossed... <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> [img:1f30n9b3]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/webapp3&#46;jpg?raw=true[/img:1f30n9b3][/quote:1f30n9b3] Hola Antonio, Danos una alegría, como llevais el asunto de FWH por web? Muchas gracias,
A big hit: Neither Apache and mod_harbour are needed
Despacito y con buena letra <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
[quote="Antonio Linares":1f06mrcp]Despacito y con buena letra <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:1f06mrcp] Totalmente de acuerdo. Pero es que estoy pensando en actualizar mi versión de FWH... entonces claro...
A big hit: Neither Apache and mod_harbour are needed
Carlos, Si actualizas ahora, tendrás actualizaciones gratuitas hasta que completemos la capacidad WebApp (HTML) de FWH <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
A big hit: Neither Apache and mod_harbour are needed
Hello everybody, we are trying the new HbWeb functionality that seems really interesting. However in our tests on FiveDBU.exe we can't obtain the results shown in the forum. The Windows application FiveDBU.exe is generated with buildhmt.bat and seems to run as expected. When we start the webserver with the contestual menu item "WebApp" and go to <!-- m --><a class="postlink" href="http://localhost">http://localhost</a><!-- m --> on the browser we can see the main window of the Windows application. But clicking on any voice of the menu or button does nothing. The only thing that happens is that the URL is changed according to the button/menuitem we have selected but the rendering of the HTML page is not updated. At the same time, in the windows application, the contestual menu item "Controller" shows an empty list, and clicking on the item "Dialogs" we get the following error that close the application: [code=fw:2lelifeb]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br />&nbsp; &nbsp;Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">B</span>:\fwh2210\samples\fivedbu.exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">Size</span>: <span style="color: #000000;">7</span>,<span style="color: #000000;">683</span>,<span style="color: #000000;">072</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>r2008190002<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">22.10</span><br />&nbsp; &nbsp;C compiler version: <span style="color: #000000;">Borland</span>/Embarcadero C++ <span style="color: #000000;">7.0</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span>-bit<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Windows <span style="color: #000000;">10</span> <span style="color: #000000;">64</span> Bits, version: <span style="color: #000000;">6.2</span>, Build <span style="color: #000000;">9200</span> <br /><br />&nbsp; &nbsp;Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">17</span> mins <span style="color: #000000;">58</span> secs <br />&nbsp; &nbsp;Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">07</span>/<span style="color: #000000;">12</span>/<span style="color: #000000;">2022</span>, <span style="color: #000000;">17</span>:<span style="color: #000000;">26</span>:<span style="color: #000000;">59</span><br />&nbsp; &nbsp;Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1132</span> &nbsp;Bound error: <span style="color: #000000;">array</span> access<br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = H &nbsp; <span style="color: #000000;">&#123;</span>=><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> = C &nbsp; <span style="color: #0000ff;">Dialogs</span><br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\WEBAPP.PRG => WA_SHOWCODEDIALOGS<span style="color: #000000;">&#40;</span> <span style="color: #000000;">253</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">fivedbu</span>.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>BUILDPOPUPMENU<span style="color: #000000;">&#40;</span> <span style="color: #000000;">124</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">MENU</span>.PRG => TMENU:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1810</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">fivedbu</span>.prg => BUILDPOPUPMENU<span style="color: #000000;">&#40;</span> <span style="color: #000000;">127</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">fivedbu</span>.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>FIVEDBU<span style="color: #000000;">&#40;</span> <span style="color: #000000;">92</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => TMDICLIENT:<span style="color: #000000;">RBUTTONDOWN</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">2184</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> TMDICLIENT:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3689</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> WINRUN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => TMDIFRAME:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1114</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">fivedbu</span>.prg => FIVEDBU<span style="color: #000000;">&#40;</span> <span style="color: #000000;">92</span> <span style="color: #000000;">&#41;</span><br /><br />System<br />======<br />&nbsp; &nbsp;CPU type: <span style="color: #000000;">Intel</span><span style="color: #000000;">&#40;</span>R<span style="color: #000000;">&#41;</span> Core<span style="color: #000000;">&#40;</span>TM<span style="color: #000000;">&#41;</span> i9-9900K CPU @ <span style="color: #000000;">3</span>.60GHz <span style="color: #000000;">3600</span> Mhz<br />&nbsp; &nbsp;Hardware memory: <span style="color: #000000;">32434</span> megs<br /><br />&nbsp; &nbsp;Free System resources: <span style="color: #000000;">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; GDI &nbsp; &nbsp;resources: <span style="color: #000000;">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; User &nbsp; resources: <span style="color: #000000;">90</span> %<br /><br />&nbsp; &nbsp;Windows total applications running: <span style="color: #000000;">6</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">1</span> , B:\fwh2210\samples\fivedbu.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">2</span> , C:\WINDOWS\System32\shcore.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">3</span> , C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6<span style="color: #000000;">.0</span><span style="color: #000000;">.19041</span>.1110_none_a8625c <br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">4</span> DDE <span style="color: #00C800;">Server</span> <span style="color: #0000ff;">Window</span>, C:\WINDOWS\System32\OLE32.DLL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">5</span> GDI+ <span style="color: #0000ff;">Window</span> <span style="color: #000000;">&#40;</span>TabTip.exe<span style="color: #000000;">&#41;</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">6</span> GDI+ <span style="color: #0000ff;">Window</span> <span style="color: #000000;">&#40;</span>fivedbu.exe<span style="color: #000000;">&#41;</span>, C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style="color: #000000;">.1</span><span style="color: #000000;">.19041</span>.1348_none_d94f9953e1060d <br /><br />Variables in use<br />================<br />&nbsp; &nbsp;Procedure &nbsp; &nbsp; Type &nbsp; Value<br />&nbsp; &nbsp;==========================<br />&nbsp; &nbsp;WA_SHOWCODEDIALOGS<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">ERROR</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>BUILDPOPUPMENU<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">A</span> &nbsp; &nbsp;Len: &nbsp; &nbsp;<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">5</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">6</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">7</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">8</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">9</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp;<span style="color: #000000;">10</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp;<span style="color: #000000;">11</span>: &nbsp; &nbsp;<span style="color: #000000;">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp;<span style="color: #000000;">12</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp;<span style="color: #000000;">13</span>: &nbsp; &nbsp;<span style="color: #000000;">H</span> &nbsp; &nbsp;<span style="color: #000000;">&#123;</span>=><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp;<span style="color: #000000;">14</span>: &nbsp; &nbsp;<span style="color: #000000;">C</span> &nbsp; &nbsp;<span style="color: #ff0000;">"Dialogs"</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp;<span style="color: #000000;">15</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp;<span style="color: #000000;">16</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TMENU:<span style="color: #0000ff;">ACTIVATE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TMENUITEM</span><br />&nbsp; &nbsp;BUILDPOPUPMENU<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">370</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">755</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TMDIFRAME</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">5</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">A</span> &nbsp; &nbsp;Len: &nbsp; &nbsp;<span style="color: #000000;">2</span><br />&nbsp; &nbsp;<span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>FIVEDBU<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">370</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">755</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TMDIFRAME</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TMENU</span><br />&nbsp; &nbsp;TMDICLIENT:<span style="color: #000000;">RBUTTONDOWN</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">370</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">755</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TMDICLIENT</span><br />&nbsp; &nbsp;TMDICLIENT:<span style="color: #000000;">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">370</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">755</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">2</span><br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">516</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">24249075</span><br />&nbsp; &nbsp;WINRUN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">24249075</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">516</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">24249075</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">5</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">2</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TMDICLIENT</span><br />&nbsp; &nbsp;TMDIFRAME:<span style="color: #0000ff;">ACTIVATE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">N</span> &nbsp; &nbsp;<span style="color: #000000;">4659632</span><br />&nbsp; &nbsp;FIVEDBU<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">C</span> &nbsp; &nbsp;<span style="color: #ff0000;">"MAXIMIZED"</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">B</span> &nbsp; &nbsp;<span style="color: #000000;">&#123;</span>|| ... <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">4</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">5</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">6</span>: &nbsp; &nbsp;<span style="color: #000000;">B</span> &nbsp; &nbsp;<span style="color: #000000;">&#123;</span>|| ... <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">7</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">8</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style="color: #000000;">9</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">10</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">11</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">12</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">13</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">14</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">15</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">16</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">17</span>: &nbsp; &nbsp;<span style="color: #000000;">B</span> &nbsp; &nbsp;<span style="color: #000000;">&#123;</span>|| ... <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">18</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">19</span>: &nbsp; &nbsp;<span style="color: #000000;">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style="color: #000000;">20</span>: &nbsp; &nbsp;<span style="color: #000000;">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">1</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TMDIFRAME</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">2</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TSCROLLBAR</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Local</span> &nbsp; <span style="color: #000000;">3</span>: &nbsp; &nbsp;<span style="color: #000000;">O</span> &nbsp; &nbsp;<span style="color: #00C800;">Class</span>: <span style="color: #000000;">TSCROLLBAR</span><br /><br />Linked RDDs<br />===========<br />&nbsp; &nbsp;DBF<br />&nbsp; &nbsp;DBFFPT<br />&nbsp; &nbsp;DBFBLOB<br />&nbsp; &nbsp;DBFCDX<br />&nbsp; &nbsp;DBFNTX<br /><br />DataBases in use<br />================<br /><br />Classes in use:<br />===============<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">1</span> ERROR<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">2</span> HBCLASS<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">3</span> HBOBJECT<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">4</span> TPREVIEW<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">5</span> TINI<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">6</span> TFONT<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">7</span> TWINDOW<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">8</span> TCONTROL<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">9</span> TBITMAP<br />&nbsp; &nbsp; <span style="color: #000000;">10</span> TMDIFRAME<br />&nbsp; &nbsp; <span style="color: #000000;">11</span> TMENU<br />&nbsp; &nbsp; <span style="color: #000000;">12</span> TREG32<br />&nbsp; &nbsp; <span style="color: #000000;">13</span> TMENUITEM<br />&nbsp; &nbsp; <span style="color: #000000;">14</span> TMRU<br />&nbsp; &nbsp; <span style="color: #000000;">15</span> TBRUSH<br />&nbsp; &nbsp; <span style="color: #000000;">16</span> TMDICLIENT<br />&nbsp; &nbsp; <span style="color: #000000;">17</span> TSCROLLBAR<br />&nbsp; &nbsp; <span style="color: #000000;">18</span> TBAR<br />&nbsp; &nbsp; <span style="color: #000000;">19</span> TRECT<br />&nbsp; &nbsp; <span style="color: #000000;">20</span> TBTNBMP<br />&nbsp; &nbsp; <span style="color: #000000;">21</span> TMSGBAR<br />&nbsp; &nbsp; <span style="color: #000000;">22</span> TMSGITEM<br />&nbsp; &nbsp; <span style="color: #000000;">23</span> TTIMER<br />&nbsp; &nbsp; <span style="color: #000000;">24</span> HBWEBSERVER<br />&nbsp; &nbsp; <span style="color: #000000;">25</span> TDIALOG<br />&nbsp; &nbsp; <span style="color: #000000;">26</span> TXBROWSE<br />&nbsp; &nbsp; <span style="color: #000000;">27</span> TXBRWCOLUMN<br />&nbsp; &nbsp; <span style="color: #000000;">28</span> TCLIPBOARD<br />&nbsp; &nbsp; <span style="color: #000000;">29</span> GDIBMP<br />&nbsp; &nbsp; <span style="color: #000000;">30</span> TCHECKBOX<br />&nbsp; &nbsp; <span style="color: #000000;">31</span> TSAY<br />&nbsp; &nbsp; <span style="color: #000000;">32</span> TCOMBOBOX<br />&nbsp; &nbsp; <span style="color: #000000;">33</span> TGET<br />&nbsp; &nbsp; <span style="color: #000000;">34</span> <span style="color: #0000ff;">GET</span><br />&nbsp; &nbsp; <span style="color: #000000;">35</span> TCLIPGET<br />&nbsp; &nbsp; <span style="color: #000000;">36</span> TBUTTON<br />&nbsp; &nbsp; <span style="color: #000000;">37</span> TSTRUCT<br /><br />Memory Analysis<br />===============<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">754</span> <span style="color: #00C800;">Static</span> variables<br /><br />&nbsp; &nbsp;Dynamic memory consume:<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">Actual</span> &nbsp;Value: &nbsp; &nbsp;<span style="color: #000000;">2555904</span> bytes<br />&nbsp; &nbsp; &nbsp; Highest Value: &nbsp; &nbsp;<span style="color: #000000;">2555904</span> bytes<br />&nbsp;</div>[/code:2lelifeb] Looking at the code we got the impression that the variable hWebApp has no "Dialogs" key inside. Could someone point out what are we doing wrong? Thanks in advance.
A big hit: Neither Apache and mod_harbour are needed
I just saw this today and find it very interesting. I wanted to test it out, and looked at your example with FiveDBU. I have FWH 2210, Harbour, and MSvC 2022 for the build. I used BuildH32 to build FiveDBU. The first problem I found was that the Function WebServer had to be commented out because it exists in the FW library. Secondly, I do not see, in the running program, any option for the Webserver option you show on the screen shot. I am looking forward to working with this, so I hope to resolve my confusion here.
A big hit: Neither Apache and mod_harbour are needed
Dear Tim, FiveDBU must be built using Harbour multithread mode, this requires to use hbmk2 with the flag -MT
A big hit: Neither Apache and mod_harbour are needed
hi all there is news about WebApp ? TIA Maurizio Menabue
A big hit: Neither Apache and mod_harbour are needed
Dear Maurizio, We had several issues to attend, so for now, the development is delayed
A bitmap transparent on another bitmap
it is possible ? and How ?
A bitmap transparent on another bitmap
A transparent VTitle without Border : [img:1fxcgu6u]http&#58;//www&#46;pflegeplus&#46;com/pictures/bmp_bmp&#46;jpg[/img:1fxcgu6u] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A bitmap transparent on another bitmap
can you post the source NO vtitle please
A bitmap transparent on another bitmap
The same with NO VTitle : [img:1bmsrp9g]http&#58;//www&#46;pflegeplus&#46;com/pictures/bmp_bmp1&#46;jpg[/img:1bmsrp9g] [code=fw:1bmsrp9g]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br />...<br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">MAXIMIZED</span> ;<br /><span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">PAINT</span> W_ALPHA<span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span> &nbsp;;<br /><span style="color: #0000ff;">VALID</span> MsgYesNo<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Do you want to end?"</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span><span style="color: #000000;">&#40;</span> <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br /><br /><br /><span style="color: #B900B9;">// --------- W-ALPHA-BMP &nbsp;--------------------------------------</span><br /><br /><span style="color: #00C800;">FUNCTION</span> W_ALPHA<span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> oBmp1, oBmp2<br /><br /><span style="color: #B900B9;">// Left / Top</span><br /><span style="color: #0000ff;">DEFINE</span> BITMAP oBmp1 FILENAME <span style="color: #ff0000;">"EARTH1.BMP"</span><br />ABPaint<span style="color: #000000;">&#40;</span> hDC, <span style="color: #000000;">760</span>, <span style="color: #000000;">20</span>, oBmp1:<span style="color: #000000;">hBitmap</span>, <span style="color: #000000;">220</span> <span style="color: #000000;">&#41;</span><br />oBmp1:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #0000ff;">DEFINE</span> BITMAP oBmp2 FILENAME <span style="color: #ff0000;">"PREVIEW.BMP"</span><br />ABPaint<span style="color: #000000;">&#40;</span> hDC, <span style="color: #000000;">820</span>, <span style="color: #000000;">170</span>, oBmp2:<span style="color: #000000;">hBitmap</span>, <span style="color: #000000;">220</span> <span style="color: #000000;">&#41;</span><br />oBmp2:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br />&nbsp;</div>[/code:1bmsrp9g] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->]
A bitmap transparent on another bitmap
thanks I resolve and with your help I arrive here : [img:31m9yj1j]http&#58;//img51&#46;imageshack&#46;us/img51/2661/ribbon3&#46;jpg[/img:31m9yj1j]
A bitmap transparent on another bitmap
Very nice !!!!!!!!!!! Congratulations <!-- s:!: --><img src="{SMILIES_PATH}/icon_exclaim.gif" alt=":!:" title="Exclamation" /><!-- s:!: -->
A bitmap transparent on another bitmap
I used only : ribbon class,trbtn class,rpanel class and only bitmap and btnbmp class I not modify any class I worked only on the test.prg We had the solution before our eyes
A bug in a disable get
Hi everyoneThis code below have a 3 gets, all enabled in first momentThe first get have a valid calling a function and this one show amessage, set the variable lWhen2 with .F. (disabling the secondget) and returns .T.But the cursor dont focus in the third get, it´s back to the firstplease, try the code below and check if the problems realy exist[code:2nb1jd5p] #include "FiveWin&#46;ch" FUNCTION Test&#40;&#41; nCpo = 0 nCp2 = 15 cCp3 = SPACE&#40;20&#41; lWhen1 = &#46;T&#46; lWhen2 = &#46;T&#46; lWhen3 = &#46;T&#46; define dialog oDlg from 01,01 TO 25,50 @ 01,01 say 'I have a valid&#58;' of oDlg @ 01,10 get oCpo var nCpo pict '9999' of oDlg when lWhen1 valid xFunc&#40;&#41; @ 02,01 say 'I am enable for while&#58;' of oDlg @ 02,10 get oCp2 var nCp2 pict '99' of oDlg when lWhen2 @ 03,01 say 'I am enable forever&#58;' of oDlg @ 03,10 get oCp3 var cCp3 pict '@!' of oDlg when lWhen3 activate dialog oDlg center RETURN FUNCTION xFunc&#40;&#41; MSGINFO&#40;'Testing&#46;&#46;&#46;'&#41; lWhen2=&#46;F&#46; oDlg&#58;Aevalwhen&#40;&#41; SysRefresh&#40;&#41; RETURN &#46;t&#46; [/code:2nb1jd5p]regards and many thanks
A bug in a disable get
Maybe tyhe 'msginfo' is disturbing the fosus set by the dialog.Have you tried with tracelog ? Frank
A bug in a disable get
The above program works correctly as expected without MsgInfo(). Even with MsgInfo(), it works second time onwards.But why should it not work when there is MsgInfo() ? I think this is the main quetion raised by Yuri. It is not unusual to have some messages to the user in the valid clauses.
A bug in a disable get
Yuri,This code is properly working here:[code:n0pnbwu7] #include "FiveWin&#46;ch" function Main&#40;&#41; local nCpo &#58;= 0, nCp2 &#58;= 15, cCp3 &#58;= SPACE&#40;20&#41; local lWhen1 &#58;= &#46;T&#46;, lWhen2 &#58;= &#46;T&#46;, lWhen3 &#58;= &#46;T&#46; define dialog oDlg from 01,01 TO 25,50 @ 01,01 say 'I have a valid&#58;' of oDlg @ 01,10 get oCpo var nCpo pict '9999' of oDlg when lWhen1 valid &#40; lWhen2 &#58;= &#46;F&#46;, &#46;T&#46; &#41; @ 02,01 say 'I am enable for while&#58;' of oDlg @ 02,10 get oCp2 var nCp2 pict '99' of oDlg when lWhen2 @ 03,01 say 'I am enable forever&#58;' of oDlg @ 03,10 get oCp3 var cCp3 pict '@!' of oDlg when lWhen3 activate dialog oDlg center RETURN nil [/code:n0pnbwu7]
A bug in a disable get
Mr AntonioThe problem is when the valid is changed to include a msginfo. The problem is when the above code is written as :.... valid ( msginfo( 'something' ), lWhen2 := .f., .t. )
A bug in a disable get
Yes, right, because the focus sequence can not be interrupted.
A bug in a disable get
Mr. Antonio and Mr.NageswaraRao, thanks for your suport !The problem happens with any dialog open in a valid function, in exemple above I used a msginfo for a test, but if were a dialog (define dialog...) happen the same error...If no exists dialog or message in the valid function it's works fine, disabling the second get and focus in the third...it would be possible to correct the get/control class for avoid this error ?
A bug in a disable get
Hi everyone,With a setfocus in the valid function directing the cursor for the third get it's works, but I think that it's not correct, because should be a natural behavior of FWH when the next control is a get and it's enable...for now I solved this way, but I think that should be receive the proper treatment in the FWH classes...regards[code:bbgozrrl] #include "FiveWin&#46;ch" FUNCTION Test&#40;&#41; nCpo = 0 nCp2 = 15 cCp3 = SPACE&#40;20&#41; lWhen1 = &#46;T&#46; lWhen2 = &#46;T&#46; lWhen3 = &#46;T&#46; define dialog oDlg from 01,01 TO 25,50 @ 01,01 say 'I have a valid&#58;' of oDlg @ 01,10 get oCpo var nCpo pict '9999' of oDlg when lWhen1 valid xFunc&#40;&#41; @ 02,01 say 'I am enable for while&#58;' of oDlg @ 02,10 get oCp2 var nCp2 pict '99' of oDlg when lWhen2 @ 03,01 say 'I am enable forever&#58;' of oDlg @ 03,10 get oCp3 var cCp3 pict '@!' of oDlg when lWhen3 activate dialog oDlg center RETURN FUNCTION xFunc&#40;&#41; MSGINFO&#40;'Testing&#46;&#46;&#46;'&#41; lWhen2=&#46;F&#46; oDlg&#58;Aevalwhen&#40;&#41; SysRefresh&#40;&#41; oCp3&#58;SetFocus&#40;&#41; ==> HERE RETURN &#46;t&#46; [/code:bbgozrrl]
A bug in a disable get
Yuri,Your solution is fine, because there is no way to know where the focus should go once you open a dialogbox on top of the controls.Windows API uses GetNextDlgTabItem() on a standard change focus sequence:<!-- m --><a class="postlink" href="http://msdn.microsoft.com/en-us/library/ms645495(VS.85">http://msdn.microsoft.com/en-us/library/ms645495(VS.85</a><!-- m -->).aspxbut if such sequence is altered, then its the programmer responsability to decide where the focus should go.
A bug in a disable get
[quote:219mreip] Yuri, Your solution is fine, because there is no way to know where the focus should go once you open a dialogbox on top of the controls. Windows API uses GetNextDlgTabItem() on a standard change focus sequence: <!-- m --><a class="postlink" href="http://msdn.microsoft.com/en-us/library/ms645495(VS.85">http://msdn.microsoft.com/en-us/library/ms645495(VS.85</a><!-- m -->).aspx but if such sequence is altered, then its the programmer responsability to decide where the focus should go. [/quote:219mreip]thanks Mr.Antonio, you are right, I understand your explanation... regards
A bug in a disable get
I find it cleaner and neater to code it this way:[code:2qmftqga]@ 01,10 get oCpo var nCpo pict '9999' of oDlg when lWhen1 valid xFunc&#40;oDlg, oCpo&#41; &#46; &#46; FUNCTION xFunc&#40;oDlg, oGet&#41; MSGINFO&#40;'Testing&#46;&#46;&#46;'&#41; lWhen2=&#46;F&#46; oDlg&#58;Aevalwhen&#40;&#41; SysRefresh&#40;&#41; oDlg&#58;GoNextCtrl&#40;oGet&#58;hWnd&#41; RETURN &#46;t&#46; [/code:2qmftqga]That way, if in the future I add new Gets, the jumping of the focus will follow the tab order that I specified within Resource Workshop. I won't have to remember to recode the setFocus part. Of course all of my screens were developed using Resource Workshop, not using the @..,.. syntax.Just my 2 cents
A bug in a disable get
Hua,Thanks for your suggestion, anyhow keep in mind that there is no way to know in advance where the programmer wants to send the focus to, if he shows a dialogbox where the user may select or fill something.
A calendar for Fivewin ( Upd. 2.0 / 11.01.2008 )
Some people asked for a calendar. There is one for download at <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fivewin">http://www.pflegeplus.com/fivewin</a><!-- m --> I think, it might be useful, because there are some new functions included. Update 2.0 English and German - Version More functions added. Greetings from Germany U. König <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A calendar for Fivewin ( Upd. 2.0 / 11.01.2008 )
[quote="ukoenig":1n05zswz]Some people asked for a calendar. There is one for download at <!-- m --><a class="postlink" href="http://www.pflegeplus.com/fivewin">http://www.pflegeplus.com/fivewin</a><!-- m --> I think, it might be useful, because there are some new functions included. In the moment it is still in german. I think the translation will be finished tomorrow. Greetings from Germany U. König <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->[/quote:1n05zswz] Well, this calendar have big problem, the paint calendar is VERY SLOW! Please, put 12 month in any Window, one by every month. The problem is method paint, level PRG , not C language. Regards
A calendar for Fivewin ( Upd. 2.0 / 11.01.2008 )
A english-version is ready with some more functions. I can try, to make it a bit faster. I checked it on a slow ( old ) computer. The speed wasn' t slow. Greetings from Germany U. König <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A collection of Date/Time-functions ( Upd. 2 02.01.08 )
There are the first Date / Time functions of a collection. Some more functions added ( 02.01.2008 ). greetings from germany <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A collection of free source code and tools for FiveWin
[url:25og6dp4]http&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/list[/url:25og6dp4] [url:25og6dp4]http&#58;//code&#46;google&#46;com/p/fivewin-contributions/[/url:25og6dp4]
A complete statistic Rpreview - and xBrowse - example
Hello, a complete xbrowse and print example of a statistic printing counted services during a year splitted in types ( column-color ) Download <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Print.zip">http://www.pflegeplus.com/DOWNLOADS/Print.zip</a><!-- m --> xBrowse service-statistic of a year. [img:98s3ouek]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/SPrint1&#46;jpg[/img:98s3ouek] Reports showing the linedrawing horizontal and vertical ( rpreview ) [img:98s3ouek]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/SPrint2&#46;jpg[/img:98s3ouek] a special footer for totals on last page ( EOF ) month totals are displayed on two lines for better reading [img:98s3ouek]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/SPrint3&#46;jpg[/img:98s3ouek] regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
A complete statistic Rpreview - and xBrowse - example
Uwe If you want, you could put your example on the Christmas tree <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=17&t=34973#p207949">viewtopic.php?f=17&t=34973#p207949</a><!-- l --> Thanks
A complete statistic Rpreview - and xBrowse - example
Christobal, nice idea <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> maybe there will be some more improvements ( thinking about a bar-graph ) It is easy to define any other logic like counting sold products during the year instead of counting services. I added some more options Download <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Print.zip">http://www.pflegeplus.com/DOWNLOADS/Print.zip</a><!-- m --> Silvio wrote [quote:tv33t17l]How set and draw margins into Rpreview ? I wish have the vertical and Hozintal lines into rpreview How we can draw it ?[/quote:tv33t17l] optional < landscape-format > thumbs ON / OFF I added a extra statistic of service-types [img:tv33t17l]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/SPrint4&#46;jpg[/img:tv33t17l] regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
A converter from text-file ( with delimiters ) to DBF ?
Hello, i have to create a converter from Text to DBF.The textfile can have many texlines and is the result of another software.( telefon-calls )The first thing i have to do is to create a empty DBF with the fieldnames of the first text-line.Second : a scanning of each textline for delimiter ; that means to write the text from ( 0 to the first ; ) to the 1. DBF-field,then from the first ( ; between the second ; ) to the next DBF-fieldand so on. I tested a text-import with EXCEL but the result, saving the import as a DBF-file was bad.The problem : sometimes, the telefon-company changes the text-structure.That means, every time, before i start the converting, at first i have to create the DBF-structure from the 1. textline.The textfile includes Character, date and numeric-fields.For the import i can ignore the different field-types.The field-types i can change, after the converting is done.Somebody knows a better, easy solution to do this ?Rechnung;Kundennr;Rufnummer;Netz;Art;Gesprdat;Gesprzeit;gewRufnr;gewNetz;Zeitber;Dauer;Volumen;Kennzeich;Preis;CodeC813354668;1063567698;0160 / 1853735;E+;NX;07.07.08;18:58:11;01732644433;VF;;00:28;0;0,0823;0,0000;NXC813354668;1063567698;0160 / 1853735;E+;NX;08.07.08;13:09:19;017650146215;o2;;00:03;0;0,0088;0,0000;NXC813354668;1063567698;0160 / 1853735;E+;NX;09.07.08;10:21:07;017650146215;o2;;00:30;0;0,0881;0,0000;NXC813354668;1063567698;0160 / 1853735;E+;NX;10.07.08;14:12:36;01604789082;TM;;01:40;0;0,2938;0,0000;NXRegardsUwe
A converter from text-file ( with delimiters ) to DBF ?
Hello Uwe,I use STRTOKEN.Regards,OttocToken := StrToken( cText,2,';' )// <cText> The text from where we want to extract a token.// <nOcurrence> The numeric ocurrence of the token inside <cText>.// <cSepChar> The character that separates the tokens. By default it is a space (" ").
A converter from text-file ( with delimiters ) to DBF ?
Hi UweStrToken() is probably the most flexible approach but if you are after a quick and dirty no programming type solution you could use[code:2bqyrwal]APPEND FROM <text-file> DELIMITED WITH ";"[/code:2bqyrwal]RegardsxProgrammer
A converter from text-file ( with delimiters ) to DBF ?
Hello Otto,i don't want to extract a token, i need the text between 2 delimiters for the DBF-fields.sample :The textfile[code:w740r54n] AAAA;BBBB;CCCC;DDDD;EEEE // Text-Header 111;2;33;4;5555 // values 1&#46; Line 11;333;5;88;7 // values 2&#46; Line The DBF at the end must look like &#58; AAAA BBBB CCCC DDDD EEEE // Fieldnames 111 2 33 4 5555 // Values 11 333 5 88 7 [/code:w740r54n]In my tool-collection, i found a function < PARSESTR >with this function it is possible,to extract a stringpart between 2 delimiters.To create a empty DBF from the 1. textline is no problem,but to find out the field-length.For that, i have to look for the max., used length between 2 delimitersfor each field.but maybe there is something, to do it in a better way.Thank youRegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A converter from text-file ( with delimiters ) to DBF ?
Hello xProgrammer,I tested :APPEND FROM <text-file> DELIMITED WITH ";"The Textfile appends but the fields are wrong.it works only like "AAA";"BBB";"CCC"but i have : AAA;BBB;CCCI think, i have to write something with my function PARSESTR()Thank you very muchUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A converter from text-file ( with delimiters ) to DBF ?
Uwe,Take a look at the TLex class.>I don't want to extract a token, i need the text between 2 delimiters for the DBF-fields.The text between delimiters is called a token.James
A converter from text-file ( with delimiters ) to DBF ?
Sorry, sometimes my bad english-translation.i mixed token and delimiter.That is the function < PARSESTR > I can scan a textline and save the stringpart between two delimiters to a array. Maybe it is a solution for my problem.[code:1cic4wox] FUNCTION PARSESTR&#40;cText, cDelim&#41; /* Parses a string into substrings wherever <cDelim> is found and returns an array of these substrings&#46; An empty string will result in an empty array&#46; <cDelim> defaults to a comma&#46; Example&#58; PARSESTR&#40;"AAA;BBB;CCC"&#41; => &#123; "AAA", "BBB", "CCC" &#125; */ local aTemp_ &#58;= &#123;&#125; local cWork, n &#58;= 1 default cDelim &#58;= "," if !empty&#40;cText&#41; cWork &#58;= cText do while n > 0 n &#58;= at&#40;cDelim, cWork&#41; if n > 0 aadd&#40;aTemp_, left&#40;cWork, n - 1&#41;&#41; cWork &#58;= substr&#40;cWork, n + len&#40;cDelim&#41;&#41; else aadd&#40;aTemp_, cWork&#41; endif enddo endif Return&#40;aTemp_&#41; [/code:1cic4wox]RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A converter from text-file ( with delimiters ) to DBF ?
As a small sample I coverted the data given in the first post into an multidimenttional array and browsed it with xbrowse with the following code: ( This code works with xHarbour )[code:1bdzz4yo] #include 'fivewin&#46;ch' #include 'xbrowse&#46;ch' function Main&#40;&#41; local cBuf local aData, aHeaders cBuf &#58;= MemoRead&#40; 'input&#46;txt' &#41; // parse and make a multi dimentional array if cBuf&#91; -1 &#93; == 26 // check and remove Ctrl-Z cBuf &#58;= Left&#40; cBuf, Len&#40; cBuf &#41; - 1 &#41; endif if Right&#40; cBuf, 2 &#41; != CRLF // pad with CRLF if needed, not to miss the last line cBuf += CRLF endif cBuf &#58;= StrTran&#40; cBuf, CRLF, Chr&#40; 10 &#41; &#41; aData &#58;= hb_aTokens&#40; cBuf, Chr&#40;10&#41; &#41; AEval&#40; aData, &#123; |c,i| aData&#91; i &#93; &#58;= hb_aTokens&#40; c, ';' &#41; &#125; &#41; aHeaders &#58;= aData&#91; 1 &#93; aData &#58;= ADel&#40; aData, 1 &#41; aSize&#40; aData, Len&#40; aData &#41; - 1 &#41; // Parsing is done // now view the data quickly in xbrowse before writing in DBF xBrowse&#40; aData, ; // data to browse "Parsed Data as Array", ; // title &#46;f&#46;, ; // no autosort &#123; |oBrw| AEval&#40; oBrw&#58;aCols, &#123; |o,i| o&#58;cHeader &#58;= aHeaders&#91; i &#93; &#125; &#41; &#125; ; &#41; // codeblock above assigns header names return nil [/code:1bdzz4yo]This is the result[url=http&#58;//imageshack&#46;us:1bdzz4yo][img:1bdzz4yo]http&#58;//img212&#46;imageshack&#46;us/img212/7306/parsedsl5&#46;jpg[/img:1bdzz4yo][/url:1bdzz4yo]Then I clicked the Excel button, and saved the excel sheet produced by xbrowse in DBF format.Once parsing is done I am sure it becomes easier for us to ascertain data types, lengths and write in to DBF with appropriate structure.
A converter from text-file ( with delimiters ) to DBF ?
Above sample is extended to check field widths and write to DBF.[code:3fnr8cal] #include 'fivewin&#46;ch' #include 'xbrowse&#46;ch' function Main&#40;&#41; local cBuf local aData, aHeaders cBuf &#58;= MemoRead&#40; 'input&#46;txt' &#41; // parse and make a multi dimentional array if cBuf&#91; -1 &#93; == 26 // check and remove Ctrl-Z cBuf &#58;= Left&#40; cBuf, Len&#40; cBuf &#41; - 1 &#41; endif if Right&#40; cBuf, 2 &#41; != CRLF // pad with CRLF if needed, not to miss the last line cBuf += CRLF endif cBuf &#58;= StrTran&#40; cBuf, CRLF, Chr&#40; 10 &#41; &#41; aData &#58;= hb_aTokens&#40; cBuf, Chr&#40;10&#41; &#41; AEval&#40; aData, &#123; |c,i| aData&#91; i &#93; &#58;= hb_aTokens&#40; c, ';' &#41; &#125; &#41; aHeaders &#58;= aData&#91; 1 &#93; aData &#58;= ADel&#40; aData, 1 &#41; aSize&#40; aData, Len&#40; aData &#41; - 1 &#41; // Parsing is done // now view the data quickly in xbrowse before writing in DBF xBrowse&#40; aData, ; // data to browse "Parsed Data as Array", ; // title &#46;f&#46;, ; // no autosort &#123; |oBrw| AEval&#40; oBrw&#58;aCols, &#123; |o,i| o&#58;cHeader &#58;= aHeaders&#91; i &#93; &#125; &#41; &#125; ; &#41; // codeblock above assigns header names // Extending the program to Write DBF WriteToDBF&#40; 'INPUT&#46;DBF', aData, aHeaders &#41; // Check the DBF USE INPUT XBrowse&#40;&#41; return nil static function WriteToDBF&#40; cDbf, aData, aHeaders &#41; local aStruct &#58;= &#123;&#125; local n, nLen &#58;= Len&#40; aData &#41; AEval&#40; aHeaders, ; &#123; |c| AAdd&#40; aStruct, ; &#123; Upper&#40; Left&#40; Trim&#40; c &#41;, 10 &#41; &#41;, 'C', 2, 0 &#125; &#41;; &#125; &#41; // desirable to remove embedded chars not acceptable in fieldnames // and to check for duplicates // that logic is not included here for n &#58;= 1 to nLen AEval&#40; aData&#91; n &#93;, ; &#123; |c,i| c &#58;= Trim&#40; c &#41;, ; aStruct&#91; i &#93;&#91; 3 &#93; &#58;= Max&#40; Len&#40; c &#41;, aStruct&#91; i &#93;&#91; 3 &#93; &#41;, ; aData&#91; n &#93;&#91; i &#93; &#58;= c ; &#125; &#41; next n dbCreate&#40; cDbf, aStruct &#41; USE &#40; cDbf &#41; NEW ALIAS OUT EXCLUSIVE for n &#58;= 1 to nLen OUT->&#40; dbAppend&#40;&#41; &#41; AEval&#40; aData&#91; n &#93;, &#123; |c,i| OUT->&#40; FieldPut&#40; i, c &#41; &#41; &#125; &#41; next OUT->&#40; dbCloseArea&#40;&#41; &#41; return nil [/code:3fnr8cal]With an input text file of 40,000 rows, the program ( obviously not optimized for speed ) took 0.44 secs to parse and 2.9 seconds to write dbf.
A converter from text-file ( with delimiters ) to DBF ?
Uwe,As Otto has pointed, StrToken() is highly optimized as it is entirely based in C language so its speed is excellent. Here you have a working example:[code:2ct33u2h] #include "FiveWin&#46;ch" function Main&#40;&#41; local cText &#58;= "C813354668;1063567698;0160 / 1853735;E+;NX;07&#46;07&#46;08;18&#58;58&#58;11;01732644433;VF;;00&#58;28;0;0,0823;0,0000;NX" local n, cResult &#58;= "" for n = 1 to 15 cResult += StrToken&#40; cText, n, ";" &#41; + CRLF next MsgInfo&#40; cResult &#41; return nil [/code:2ct33u2h]