AW: VFPA

2024-04-30 Thread juergen
Hi Chris, the password for the download of the free version at http://www.baiyujia.com/f_downloadproc_vfpa32.asp is a simple "ok" wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Chris Davis Gesendet: Dienstag, 30. April 2024 12:16 An: ProFox Email List Betreff: VFPA

AW: VFPA Shortcut Keys

2024-03-01 Thread juergen
Hi Eric, Me thinks that those new shortcuts are not really into Internationalization. For that "[" we here in German must press Alt+Ctrl+8. Now mix that with another Ctrl-Press for getting somen indention? Or it works by the physical key-position, then it would be Ctrl+ö or Ctrl+ä, which

AW: Run under WIN 11

2024-01-29 Thread juergen
Hi Charles, VFP3 would run, but only if you have less than 728 Mb of RAM. On today's usual boxes with at least 2Gb it errors out with "Insufficient Memory". Everything else from VFP5 upwards is still working ok. I tested all versions. But why would anyone use something even older than VFP9,

AW: Printer Dialogue

2023-12-21 Thread juergen
BTW: To get the oldfashioned printer dialogue for that SYS(1500) stuff, you need to do this once for every user: RUN "REG add HKCU\Software\Microsoft\Print\UnifiedPrintDialog /v PreferLegacyPrintDialog /t REG_DWORD /f /d 1" Change that trailing "1" to "0" for restoring the new print dialogue

AW: Printer Dialogue

2023-12-21 Thread juergen
It's the SYS(1037) dialogue. AFAIK, the VFPA version has that bug (and many others) fixed. http://www.baiyujia.com/vfpadvanced/f_vfpa_about.asp If that's not an option for you, you could write your own function: FUNCTION Sys1037 SYS(1500,'_mfi_sysprint','_mfile') RETURN You now only need to

AW: ChdkDsk from VFP

2023-12-08 Thread juergen
Hi Alan, Thanks for this much needed hint on the obvious way to go. Moreover, I had even given several DevCon talks about controlling the PC with the shell object etc, but that was many years ago. But I might have known :( Seems I'm getting really old :( wOOdy -Ursprüngliche Nachricht-

ChdkDsk from VFP

2023-11-30 Thread juergen
Hi guys, this time I need some help. I have the need to do a "CHKDSK D: /F" from within VFP on some USB-Sticks. Yes I could do a RUN, but that thingy still needs no, one ore more keypress sometimes. The next best thing would be a shell.run() and a shell.sendkeys() to that window, with

RE: ZPL

2023-11-14 Thread juergen
Hi Chris, I suspect that you have a "misbehaving char" in your hex data, something like Ctrl-Z, which terminates the standard DOS copy process. If you need to transfer binary data to your printer, you could use this routine here: ??? ChrTran(File2Str("yourPicture.jpg"), "{", "{{}") wOOdy

RE: ZPL

2023-11-13 Thread juergen
Hi Chris, You connect to the printer with a regular cPrinterName = GETPRINTER() SET PRINTER TO NAME (cPrinterName) Then you open the printer SET PRINTER ON And all commandlines starting with ??? get sent directly, without conversion of the Windows drivers. thus: #DEFINE CR CHR(13)+CHR(10)

RE: Programatically placing text boxes on a form - continued

2023-10-30 Thread juergen
This one even provides a working version :=) *** nStartRow = 10 nStartCol = 10 For nCol = 1 To 4 For nRow = 1 To 10 cTextBoxName = "TextBox" + Trans(nCol) + Trans(nRow) Thisform.AddObject( cTextBoxName, "textbox") With Thisform. .Left=

AW: Logging

2023-08-01 Thread juergen
... logging to Windows Eventlog. As well as reading that from VFP -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Eric Selje Gesendet: Dienstag, 1. August 2023 15:13 An: ProFox Email List Betreff: Logging I'm doing a session on logging at SW Fox. Just based on that information,

AW: Fox.wikis.com

2023-07-20 Thread juergen
This properly can't work, because the Wayback machine can only follow hardcoded links, but not dynamically generated content, coming from a database. -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Jeff Roberts Gesendet: Donnerstag, 20. Juli 2023 17:02 An: ProFox Email List

AW: XLSX-Workbook-Class

2020-11-26 Thread juergen
It would help if you would specify, which xlsx class you're referring to. Link? -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Chris Davis Gesendet: Donnerstag, 26. November 2020 16:53 An: profox@leafe.com Betreff: XLSX-Workbook-Class Can anyone help with this ???

RE: VFP and VSS Database does not exist

2020-11-23 Thread juergen
Hi Martin, wow. Somebody stil uses the real VSS? Dude... Why not at least use VAULT from SourceGear.com? It's free for SingleUsers, and replaces VSS perfectly. It also integrates the very same in VFP. They even had some conversion / import tools for VSS, if I remember correctly. wOOdy

Re: Greg Reichert / GLRsoftware.com

2020-06-24 Thread juergen
SXQgd2FzIHN0aWwgYWN0aXZlIGluIDIwMTgsIHNpbmNlIGF0IHRoYXQgdGltZSBJIGRvd25sb2Fk ZWQgc29tZSBvZiBoaXMgc3R1ZmYuSGUgYWxzbyB3YXMgbGFzdCBzZWVuIGF0IFVuaXZlcnNhbFRo cmVhZCBpbiAyMDE5SG1tbS5Wb24gbWVpbmVtIFNhbXN1bmcgR2FsYXh5IFNtYXJ0cGhvbmUgZ2Vz

RE: We''re getting old ;)

2019-11-07 Thread juergen
Thanks for those pictures! Seeing all of that faces really gets you to realize how times are flying by. And you realize, that yourself must be also getting older... Besides of Cathy of course, she always looks just stunning... wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von

AW: [NF] Asian folder name found in my registry

2019-11-04 Thread juergen
It's just a Unicode Entry in a different language. Any information at the subfolders? You could always use the SysInternals tool to watch for that key, and see which program is using it. wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von MB Software Solutions, LLC Gesendet:

AW: Exporting Tables

2019-10-31 Thread juergen
In case you don't know who or what "Vilhelm" is, you'll find him here: http://praisachion.blogspot.com/ -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Koen Piller Gesendet: Donnerstag, 31. Oktober 2019 16:24 An: ProFox Email List Betreff: Re: Exporting Tables Gene, Vilhelm made

AW: Will Visual FoxPro run on Windows 10's successor?

2019-10-22 Thread juergen
Hi Wes, just by coincidence I stumbled across that discussion on Quora, which perfectly fits to debunk your miserable lies (as in "all support for Win10 will end" etc) https://www.quora.com/When-will-Windows-11-come-out wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von

AW: Will Visual FoxPro run on Windows 10's successor?

2019-10-20 Thread juergen
Hi Wes, Yes I see your motivation behind posting such stuff :) Unfortunately, your information is just FUD, as we see in that tiny little tidbid here: "a new operating system called Windows 12 in early 2019". "Early 2019" is already gone, isn't it? And do we have any info on a Win12? Nope.

AW: VFP App Startup Program

2019-10-07 Thread juergen
Hi Gene, normally your Starter programm just runs the main program, after checking for updates, and then quits itself. The starter cannot update himself, thus another program / task has to do this. The easiest way would be to first install a new main program, which checks the starter for

AW: VFP9SP2 DBC -- update trigger

2019-10-04 Thread juergen
Another option for generating a robust trigger code Including an optional AuditTrail) would be AMRI, which is a replacement for VFP's original RI builder. This was Freeware from Markus Auer (hence the "A M" in the name). If you can't find it at the usual tools libraries, send me a PM. wOOdy

AW: APPEND BLANK with immediate field values set right after

2019-10-03 Thread juergen
Sorry but SQL INSERT always does position on the new record. This is documented even in the helpfile: - If the table you specify is open, SQL INSERT appends the new record to the table. If the table is open in a work

AW: Another refactoring question regarding unused columns in a DBF table

2019-10-03 Thread juergen
Hi Mike, 243 - 139 makes 104 useless fields. Plus their indices. Good catch! Question remains: why are there 104 seemingly useless fields? Are those fields completely blank / empty? Maybe they have been added for some planned but never finished additional module. Maybe they are a leftover from

AW: Question regarding updates to backend DBF table

2019-10-03 Thread juergen
You are touching an indexed field. VFP doesn't care what you are writing to that field, it just updates the table and subsequentally the index. wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von MB Software Solutions, LLC Gesendet: Mittwoch, 2. Oktober 2019 20:10 An:

AW: APPEND BLANK with immediate field values set right after

2019-10-03 Thread juergen
Hi Mike, I have seen this coding style sometimes. Yes, you can change the APPEND BLANK / REPLACE combos with an INSERT INTO without any negative siedeeffects. The part with that GO BOTTOM / SEEK() was normally done for repositioning other tables, which are linked with a SET RELATION. You could

AW: Bad style, but any chance it would ever fail to update properly?

2019-10-03 Thread juergen
Hi Mike, Imagine this scenario: USE AA IN 0 USE BB IN 0 USE CC IN 0 Select AA && do something unsuccessful in that table: LOCATE FOR AA.Field1 = "Nonsense" && Now your replace: REPLACE BB.Field1 WITH CC.Field2 This Replace will not happen, since the working alias of the Replace is AA (which is

AW: VFP9 App: Running on Windows 7 and Windows 10

2019-09-19 Thread juergen
Hi Alan, do you have a link to some Knowledgebase entry to your advise? wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Alan Bourke Gesendet: Donnerstag, 19. September 2019 10:05 An: profox@leafe.com; profoxt...@leafe.com Betreff: Re: VFP9 App: Running on Windows 7 and

AW: VFP9 App: Running on Windows 7 and Windows 10

2019-09-18 Thread juergen
Hi Desmond, Make sure that on those Win10-boxes the SMB-Caching is switched off. If not, that would lead to index corruption, which in turn crashes the application. The easiest way to set those settings is by running this MSI package, which just sets three RegistryKeys:

AW: SET DEFAULT or ?

2019-08-14 Thread juergen
Normally a SET PATH TO would be sufficient. If you're using a DBC, then just explicitly open that DBC with the provided path is all you need. wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Gene Wirchenko Gesendet: Mittwoch, 14. August 2019 05:58 An: ProFox Email List

AW: Get file path and name from file handle

2019-08-05 Thread juergen
Betreff: RE: Get file path and name from file handle Hi Juergen The FCREATE/FOPEN is used in several places throughout the code and I would need to somehow store and preserve the open file details. Being able to find the file from the file handle would be much more convenient Paul Newton

AW: Get file path and name from file handle

2019-08-02 Thread juergen
Or asked differently: Why do you have a FileHandle, but not the FileName? Sounds like a strange way of encapsulation :) -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von juer...@wondzinski.de Gesendet: Freitag, 2. August 2019 17:26 An: 'ProFox Email List' Betreff: RE: Get file path

RE: Get file path and name from file handle

2019-08-02 Thread juergen
Just curious: Normally YOU would create the filename, and then FCREATE() does its job. Why don't you know the filename you put into the function? [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance:

AW: vfp9 exe

2019-07-23 Thread juergen
Hi Koen, now that's a very old coding style. Probably from the time before TRY/CATCH was invented. wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Koen Piller Gesendet: Dienstag, 23. Juli 2019 20:32 An: ProFox Email List Betreff: Re: vfp9 exe Hi, you can make use of Craig

AW: [NF] How to Get Black Bars on Monitor

2019-07-23 Thread juergen
You need to change the settings on the monitor itself. It normally rescales automatically if you send him non-native resolutions, thus you need to set the monitor to "Do not scale". [excessive quoting removed by server] ___ Post Messages to:

AW: Super bizarre page.init bug on form.pageframe -- it never runs! (VFP9SP2)

2019-07-04 Thread juergen
As long as you have no MemberClass from a MemberClassLibrary defined in your pageframe, new pages are always plain stock standard pages from VFP's internal baseclass. I have a simple PRG for those nonvisual Memberclasses, which is basically just a DEFINE MyPage AS PAGE ENDDEFINE Save that

AW: Funny bug

2019-06-06 Thread juergen
Cool thing! But: STORE .F. TO Next(1) && no kaboom :) -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Bill Anderson Gesendet: Donnerstag, 6. Juni 2019 01:59 An: ProFox Email List Betreff: Funny bug DECLARE Next(1, 1) Next(1) = .F. && Boom! Bill Anderson --- StripMime Report

[NF] Lianja and Python

2019-06-05 Thread juergen
For those dabbling around with Python, this maybe is interesting: Lianja (aka VFP11) has now upgraded their builtin Python engine from 2.7 to 3.7. You have the full Lianja Framework to use with Python just as you do with Lianja/VFP, JavaScript and PHP. wOOdy --- StripMime

AW: Filtering Oddity

2019-05-15 Thread juergen
We don't talk about endusers, we are the experts. Experts are using data directly and edit directly in a browse. PAH!! wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Koen Piller Gesendet: Mittwoch, 15. Mai 2019 20:37 An: ProFox Email List Betreff: Re: Filtering Oddity

AW: Filtering Oddity

2019-05-15 Thread juergen
I totally agree with Gene. xBase was originally developed for interactive use, and those commands are just perfect for hacking around in real live data. No clumpsy and verbose SQL statements, just USE your data and massage it as you want. I often also do some ON KEY LABEL xx REPLACE / STUFF /

RE: Old Andy Kramek trick from WhilFest years ago...I can't recall exactly how he said it

2019-05-07 Thread juergen
Hi Gene, yepp, either be very serious about the counterparts, or just issue a thisform.lockscreen = 0 and don't give a shit about that counterparts; just flip it to OFF in any situation. wOOdy -Ursprüngliche Nachricht- Von: MB Software Solutions, LLC Gesendet: Mittwoch, 8. Mai

AW: Old Andy Kramek trick from WhilFest years ago...I can't recall exactly how he said it

2019-05-07 Thread juergen
Maybe it was, that Lockscreen also accepts a numeric 0 instead of .F. Every lockscreen = .t. increments an internal counter, and every lockscreen = .F. decrements it. Thus you really need to watch out to always have a balanced on/off couple count. You can override that with just setting that

RE: [NF] StackOverflow Developer Survey Results

2019-04-11 Thread juergen
Even that I know of StackOverflow as a website, I haven't visited them since a decade or so. Does this make me a bad programmer? I even didn't know of that survey. Maybe that's the reason of those results? Maybe those at StackOverflow are just those who need to copy'n'paste some codefragments

AW: Your laptop

2019-03-25 Thread juergen
I was a long time Dell Latitude fan, but the current series is nowhere as useful as the 55 / 65 series. Nowadays I'm quite happy with my Microsoft Surface Book. You can tear it apart to be only a Tablet, or use it as a regular Laptop. Not exactly on the cheaper side of products, but very

AW: [NF] Looking for current summary of VFP clones

2019-03-13 Thread juergen
Hi Fletscher, Lianja is up and running and Kickin'Ass! https://www.lianja.com/resources/the-lianja-vision Most of your VFP code will run unchanged. Lianja uses a VFP-compatible Object hierarchy as well as PEMs, and has lots of extensions to the original VFP language. You use any choice of VFP,

AW: [NF] Migrating Skills From Foxpro to Xojo

2019-02-24 Thread juergen
Hi Paul, >> rather than debate the benefits of everyone’s favorite FoxPro replacement << Dude, have you considered Lianja? Then you could use VFP, Phyton, PHP and JS at the same time! Just teasing...  wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Paul H. Tarver

AW: Error building sort key (Error 2186)

2019-02-21 Thread juergen
Maybe the result length of the GROUP BY is longer than 120 char? That's the maximum key length in an index, which VFP uses to sort the intermediate results. wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Paul Newton Gesendet: Donnerstag, 21. Februar 2019 15:51 An:

AW: Automating Exchange Calendar (and Outlook, possibly)

2019-02-12 Thread juergen
Hi Ted, I would use Redemption, which offers a whole objectstack to address the Exchangeserver directly. http://www.dimastr.com/redemption/home.htm wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Ted Roche Gesendet: Dienstag, 12. Februar 2019 21:09 An: profox@leafe.com

AW: [NF] Microsoft Account

2019-01-23 Thread juergen
Advantages: Keeps backup of your Windows Settings, and MS Store / Windows-Apps. Helps locating your Laptop/Mobile/Tablet (if enabled) OneDrive Storage Disadvantages: You need to remember your credeentials -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Charles Hart Enzer, M.D.

AW: Custom Scrollbar

2019-01-06 Thread juergen
>> I want to create my own grid WHY, just WHY? Haven't yet found a problem for which I would need a homegrown grid. What can't you do in VFP's native grid, in combination with the excellent container hierarchy which you could add into any / every column of a grid? Build a set of controls, save

AW: REINSTALL FOX PRO 9

2018-12-11 Thread juergen
Ok I bit the bullet and translated that stuff to english (with some enormous help of DEEPL). Take a look here: http://woody-prolib.blogspot.com/2018/12/how-to.html wOOdy -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von juer...@wondzinski.de Gesendet: Dienstag, 11. Dezember 2018

AW: REINSTALL FOX PRO 9

2018-12-10 Thread juergen
You may want to take a look at my install advice at http://woody-prolib.blogspot.com/2010/01/vfp9-komplett-installieren.html Unfortunately written in German, but with a little help from Google Translator you may get the whole thing up and running again in some minutes. wOOdy

AW: Visual FoxPro Toolkit for .NET

2018-11-22 Thread juergen
The main usecase for the toolkit is replicating / packaging classic VFP functions into object calls. If you're an "oldfashioned" FoxPro guy, you're used to commands and functions and you know them in and out. Thus you're tempted to have the same "ease of use" with NET. That's absolutely ok, but

AW: AW: Reallocating drive space

2018-11-21 Thread juergen
Yes that iTunes Backup-files is a huge spacekiller, especially if you have "Roaming Profiles" in your Domain LogOn and LogOff then takes tens of minutes... Only solution is to make a Symbolic Link of that directory to somewhere else outside the User-directory (use MKLINK.exe for that), since

AW: Visual FoxPro Toolkit for .NET

2018-11-21 Thread juergen
What do you expect from a NET Class-library from 2002 ? -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Paul Newton Gesendet: Mittwoch, 21. November 2018 15:07 An: 'profox@leafe.com' Betreff: Visual FoxPro Toolkit for .NET Hi all

AW: Reallocating drive space

2018-11-20 Thread juergen
Maybe you should first clean up your C drive: Open a CMD window with administrative Rights. Start "CleanMgr /sageset:1" In that dialogue select all entries, beside of "User Shadow Copies" Close it. That selection is now saved as "set 1" Now run it: CleanMgr /sagerun:1 Everytime you need a

RE: disappearing methods in forms

2018-11-20 Thread juergen
>> Installation in the default folder - C:\Program Files (x86) That's maybe the culprit. Everything installed in "Program files" is readonly for normal users, thus for VFP this isn't the ideal homebase, since it cannot write anything in it's folder hierarchy (like temp files or support

AW: disappearing methods in forms

2018-11-19 Thread juergen
In which folder did you install your VFP ? -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von Ajit Abraham Gesendet: Montag, 19. November 2018 17:06 An: profox@leafe.com Betreff: disappearing methods in forms Hello All, This is the second time I am facing this issue on Windows 10.

AW: [NF] Tool for editing multiple files for huge search/replace operation

2018-10-30 Thread juergen
And, BTW, that's just a 3Liner in VFP: FOR i = 1 TO ADIR(aFiles, "*.txt") STRTOFILE(STRTRAN(FILETOSTR(aFiles(i,1)), "OldText", "NewText"), aFiles(i,1)) ENDFOR Or, maybe for easier disassembly: FOR i = 1 TO ADIR(aFiles, "*.txt") cFile = aFiles(i,1) ? cFile

AW: [NF] Tool for editing multiple files for huge search/replace operation

2018-10-29 Thread juergen
Even the "Code References" tool from FoxPro lets you do a global search and replace over multiple files... -Ursprüngliche Nachricht- Von: ProFox Im Auftrag von mbsoftwaresoluti...@mbsoftwaresolutions.com Gesendet: Montag, 29. Oktober 2018 22:18 An: ProFox Betreff: [NF] Tool for