Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. atlopes

    Export Foxpro 9 DBF to Dbase 5 File

    The following code will produce 0x03 files: CREATE CURSOR tmp (pk N(5), abc c(10)) INSERT INTO tmp VALUES (1, 'www') INSERT INTO tmp VALUES (2, 'xyz') COPY TO test-foxplus.dbf TYPE FOXPLUS COPY TO test-fox2.dbf TYPE FOX2 MESSAGEBOX(CAST(LEFT(FILETOSTR(GETFILE("dbf")), 1) AS W)) Adding a memo...
  2. atlopes

    Export Foxpro 9 DBF to Dbase 5 File

    GBCPastor, Run the following command, select one of the dBase 5 files your client uses, and share the result. MESSAGEBOX(CAST(LEFT(FILETOSTR(GETFILE("dbf")), 1) AS W))
  3. atlopes

    WorkbookXLSX R30

    GBCPastor, In the Init method, you have: TRY this.oXDOM = CREATEOBJECT('MSXML2.DOMDocument') CATCH TO loException * this.oXDOM = .NULL. this.oXDOM.preserveWhiteSpace = .T. &&& ADDED by SK 082924 ENDTRY It must be: TRY...
  4. atlopes

    WorkbookXLSX R30

    Can you attach your patched version of Greg's library?
  5. atlopes

    WorkbookXLSX R30

    Put the class in scope by running the following: SET CLASSLIB TO vfpxworkbookxlsx.vcx ADDITIVE Or instantiate the class using NEWOBJECT() instead: Excel = NEWOBJECT("VFPxWorkbookXLSX", "vfpxworkbookxlsx.vcx")
  6. atlopes

    WorkbookXLSX R30

    GBCPastor (and Greg), The problem comes from how the XML DOM treats spaces in text nodes. First of all, apply the patches Greg mentioned in the thread. Then, in the method Init of the VFPxWorkbookXLSX class, add a line #39 with the following contents: this.oXDOM.preserveWhiteSpace = .T...
  7. atlopes

    Strip leading characters from a string

    David, You can use LTRIM() with distinct trim characters and even strings. So, simply ? LTRIM("FA144174000", 1, "FA", "0") ? LTRIM("FA007074000", 1, "FA", "0")
  8. atlopes

    The new look....

    Frederico, Those will be the Watched Forums. I changed my Tek-Tips bookmark to https://www.tek-tips.com/watched/forums, and now my entry point in Tek-Tips is similar to what I was used to in the previous interface/system.
  9. atlopes

    curious syntax-error (problem solved)

    Chris, The VFP compiler only replaces whole defined words in [] delimited strings or regular code statements (I couldn't figure out if you were stating this or otherwise). CLEAR #DEFINE SEPCHAR - LOCAL TestDummy AS Dummy m.TestDummy = CREATEOBJECT("Dummy") ? m.TestDummy.SepCharacter ...
  10. atlopes

    curious syntax-error (problem solved)

    Most probably, SepChar is being #DEFINEd somewhere in your application. You can check this by issuing #UNDEFINE SEPCHAR just before the statement that is raising the error.
  11. atlopes

    Report Form print sizing problem

    Chris, As long as the executable declares its DPI-Awareness, the standard VFP9 report engine produces a correct output. This can be demonstrated by the code posted in the https://www.tek-tips.com/threads/report-behavior-when-sending-to-pdf.1798781/post-7453555']thread [/URL]I mentioned above.
  12. atlopes

    Report Form print sizing problem

    There are a few discussions on the issue here at TekTips and elsewhere. You may start here: https://www.tek-tips.com/viewthread.cfm?qid=1798781
  13. atlopes

    Report Form print sizing problem

    TinyNinja, Is the Windows text scale setting higher than 100%? If so, try setting it to 100% and rerunning the report. If the report is okay, you'll have to signal your application as DPI-Aware.
  14. atlopes

    Control Date/Time

    1962dez, A different question, a different thread, please. But, in anticipation of your new thread, when you say that the website is "time synchronized to (something)", do you mean it's in a different time zone?
  15. atlopes

    Getting a USB drive letter programmatically

    Chriss, I would take any misidentification between Marco and me as a badge of honour, but you should edit your posts to refer to Marco appropriately :-)
  16. atlopes

    OpenAI Speech-To-Text

    Vernpace, Did you try a with [highlight #FCE94F]+ CRLF[/highlight] after the final [highlight #FCE94F]"--"[/highlight]?
  17. atlopes

    Class Browser with DataEnvironment

    Umarcon, You may use https://github.com/fdbozzo/foxbin2prg for that.
  18. atlopes

    Running SQLEXEC on MySQL Database

    Abe, You may try two or three things to solve the issue or to gather more information: Use a MariaDB ODBC connector instead (select Windows 32-bit as OS). Try to connect with the database through ODBC but using another application, like Excel. Use a database frontend administrator, such as...
  19. atlopes

    Outlook Calendar Holidays

    herbstgy, Once you export the Outlook calendar in iCalendar format, you can use the iCal4VFP library (at https://github.com/atlopes/iCal4VFP) to ingest the events dates into a cursor and work from there. This is the basic code to export the calendar from Outlook and import it into a VFP...
  20. atlopes

    .NULL. or null

    Alastair, Bear in mind that the Properties window treats null and .null. differently: a property initialized as .null. is set to .NULL., whereas a property initialized as null or NULL or Null is set to a string ("null", "NULL", or "Null", ...). To use the dotless notation, you have to prepend...

Part and Inventory Search

Back
Top