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://www.pflegeplus.com/pictures/panel3.jpg[/img:io5ybmsj] Best Regards U...
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="{SMILIE...
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_PA...
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 ca...
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="{SMIL...
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_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 ...
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...
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 ...
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 cre...
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&#...
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...
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" /><...
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" /><...
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 ...
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" a...
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 sr...
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 contestua...
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...
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 <spa...
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 ...
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 ...
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 ...
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 F...
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.microsof...
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(V...
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&#4...
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....
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....
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 ...
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 ...
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 t...
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 ...
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=...
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 ...
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 cBu...
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...
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...