That was a typo, I didn't actually have the quotes around cTest:
IF EMPTY(cTest) is what I actually have.
I'm working on switching over to Harbour to try out the scripting features but I'm getting compile errors (started another post regarding this).
Search found 912 matches
- Sat Nov 18, 2017 12:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Macro
- Replies: 2
- Views: 594
- Sat Nov 18, 2017 11:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Compile Errors
- Replies: 2
- Views: 540
Compile Errors
I am trying to switch from xHarbour to Harbour so I can use the scripting ability of Harbour. Using the ..\samples\BuildH.bat to compile and I get the following compiler errors. What am I missing? Compiling... Harbour 3.0.0 (Rev. 16951) Copyright (c) 1999-2011, http://harbour-project.org/ Compiling ...
- Fri Nov 17, 2017 1:41 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Macro
- Replies: 2
- Views: 594
Macro
I'm playing around with an idea (using FWH and xHarbour). I have a text file, in this file I want to put some code. Sample code (not the code in the text file): #include "FiveWin.ch" Function Main() LOCAL cText:=MemoRead("myfile.txt") &cText Return Nil The above works...
- Wed Oct 11, 2017 7:28 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Replace Text
- Replies: 2
- Views: 610
Re: Replace Text
I figured it out.
A combination of AT() and STUFF() did the trick.
A combination of AT() and STUFF() did the trick.
- Wed Oct 11, 2017 5:20 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Replace Text
- Replies: 2
- Views: 610
Replace Text
Is there a function that will replace text between two tokens? Example: cOldString := "[START]some text, some more text[END]" What I'm looking for is something like: cNewString := "This is the new text" cFinalString := ReplaceText( "[START]", "[END]", cOldStri...
- Fri Sep 08, 2017 6:33 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Test to see if text is in column 1
- Replies: 3
- Views: 554
- Fri Sep 08, 2017 2:05 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Test to see if text is in column 1
- Replies: 3
- Views: 554
Test to see if text is in column 1
I have a text string that I grab from a Memo field. What I need to do is find out if certain text in that string is located in the first column of whatever line it may appear in. Example of the text: >> Hello, this is a TEST. This is another line. TEST again. Some other text in the string. << In thi...
- Wed Jul 05, 2017 11:54 am
- Forum: Utilities / Utilidades
- Topic: OT: Docx to PDF Converter
- Replies: 5
- Views: 1220
Re: OT: Docx to PDF Converter
Just checked.... yes you can select text from the pdf ![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
- Tue Jul 04, 2017 1:19 pm
- Forum: Utilities / Utilidades
- Topic: OT: Docx to PDF Converter
- Replies: 5
- Views: 1220
Re: OT: Docx to PDF Converter
Hi Carlos
I haven't dug that deep into this software.
I programmatically make my changes to the docx file (without using word) then just needed to convert it to pdf.
I think there are extra functions you can do with it but have not tried.
I haven't dug that deep into this software.
I programmatically make my changes to the docx file (without using word) then just needed to convert it to pdf.
I think there are extra functions you can do with it but have not tried.
- Fri Jun 30, 2017 6:49 pm
- Forum: Utilities / Utilidades
- Topic: OT: Docx to PDF Converter
- Replies: 5
- Views: 1220
Re: OT: Docx to PDF Converter
Found one that seems to work well. http://www.weenysoft.com/free-word-to-pdf-converter.html If you end up using this via command line you will need to click on the settings tab (bottom of window) and un-check the "Open the directory when conversion completes" then click FILE-> Save Profile...
- Fri Jun 30, 2017 5:31 pm
- Forum: Utilities / Utilidades
- Topic: OT: Docx to PDF Converter
- Replies: 5
- Views: 1220
OT: Docx to PDF Converter
Does anyone know of a good command line program to convert DOCX files to PDF that does not require Word installed?
Preferably free![Smile :)](./images/smilies/icon_smile.gif)
Preferably free
![Smile :)](./images/smilies/icon_smile.gif)
- Wed May 31, 2017 12:15 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Text File (SOLVED)
- Replies: 3
- Views: 516
Re: Text File (SOLVED)
Thank you. Works perfectly now ![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
- Tue May 30, 2017 11:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Text File (SOLVED)
- Replies: 3
- Views: 516
Text File (SOLVED)
I have a text file the when opened with Notepad, all the data is strung together. If I open the same file with UltraEdit it asks me "Do you want to convert test.asc to DOS format" When I answer "yes" the data is separated into individual lines. This is what I am looking to get vi...
- Thu May 18, 2017 10:36 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DBF repair tool
- Replies: 13
- Views: 1800
Re: DBF repair tool
Thanks Enrico but I was able to solve the issue. The customer actually had a backup of the file. It was a weird issue, the info in the dbf had a bunch of hex looking data and the data that was correct was in the wrong fields. I think I will end up buying dbf doctor as it was the only tool I tried th...
- Thu May 18, 2017 5:45 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DBF repair tool
- Replies: 13
- Views: 1800
Re: DBF repair tool
Thanks again Uwe but still no luck ![Sad :(](./images/smilies/icon_sad.gif)
![Sad :(](./images/smilies/icon_sad.gif)