Re: VFP Code Conversion Workbench
> Does this Workbench really work? Could he C# codes be compiled and > linked into executable right after conversion? ;) Can it convert black box functions where you put something simple in and get something simple back out? Why not. Applications with a database backend and a user interface aren't really made of those, though. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/672f84f1-13d3-42d0-8419-afe3d8722...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: FoxPro Conf Binder
Very cool piece of ancient history. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/d2938b1f-4c2d-41f9-a26e-4f38a5b49...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Lister program for VFP code
Something like this might get you some of the way: lcHeadings = set("HEADINGS") set headings on type "my_prg_file.prg" to printer auto prompt number set headings &lcHeadings So that will print out the prg, with a heading containing the filename and date\time, wrap long lines, include line numbers and prompt for the printer. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/3f702b25-8ca6-49cc-9a95-8a3d318f0...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Windows handle of VFP combo box via API
VFP controls are managed by VFP itself with a few exceptions, and don't get a Windows hWnd. https://hackfox.github.io/section4/s4g868.html -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/fdeb904b-0528-44e8-ba9f-769bd9785...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Outlook Automation Help Needed
On Tue, 13 Aug 2024, at 2:37 PM, Ed Leafe wrote: > I've always suspected that Microsoft adopted this approach not because > it was useful to users, but because it bloated the storage requirements > for a business running Exchange, forcing companies to pay lots more > money for storage. I certainly fail to see who is benefiting from the new Outlook (i.e. the web application in a container) other than the Azure division's bean counters. Fine, as a replacement for the default simple Windows mail application - but as a replacement for the full fat desktop client, I just don't get it. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/e79f3de0-3386-4bfb-ba78-882c7b1a9...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Outlook Automation Help Needed
The thing about Outlook automation is that its days are probably numbered in the medium to long term. Once the 'new' Outlook client is the default and the current native application is unsupported none of the MAPI or Object Model stuff will apply anymore. Using the Outlook Graph API is probably the future for this sort of requirement. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/7840c618-7c2e-4068-aaeb-d6d6df871...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Make Software Simple Again (like the Fox)
There's a lot to be said for all of that - I would shy away from anything UI related in the .NET world because of the insane complexity, and developing anything for the web is even worse. -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Wed, 31 Jul 2024, at 4:07 PM, MB Software Solutions, LLC wrote: > https://shiftmag.dev/dhh-make-software-simple-again-3829/ > > ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/4c3a50e9-13ea-42df-a0c8-f8a37271e...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: OS(3) number result for Windows 11
Even if you run Get-ComputerInfo in Powershell on Windows 11 it will return Windows 10 as the WindowsProductName, since 11 is not that different than 10 internally. I would think you would have to maintain a list of build numbers (like for example at https://www.gaijin.at/en/infos/windows-version-numbers) and then look at the CurrentBuild value in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion So anything > 22000 is Windows 11, for example. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/ca13ea5f-5406-4fd3-b7f7-bef6e1a07...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: vfp
Absolutely, although are you actually running anything VFP on the server or do you just have data in a shared folder? -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/07003fae-69c4-4cb0-86c2-c136a85fa...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Network issue
Windows Update won't have changed anything. They would not break permissions like that. It'll be AV or something. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/ab389897-6a8a-4425-9095-8b9b92394...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFP and SSO
Desmond Absolutely although you may have to involve a third party library. For example Oauth2 you could look at Chilkat: https://www.example-code.com/foxpro/oauth2.asp ... for which Bill Anderson of this parish has provided a VFP wrapper: https://github.com/billand88/ChilkatVFP?tab=readme-ov-file or see: https://weblog.west-wind.com/posts/2021/Nov/27/NTLM-Windows-Authentication-Authentication-with-HttpClient -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/208f71d9-92e2-4064-9cdd-fd9f04db1...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFPAdvanced - My Problem, My Tests & Some Results
You're very welcome Paul, my invoice is in the mail ;) -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/0055989e-c7cc-448b-83cc-c063a9038...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFPAdvanced - My Problem, My Tests & Some Results
WRT large memory allocation, try throwing a sys(1104) in maybe. "Purges memory cached by programs and data, and clears and refreshes buffers for open tables. You can improve performance by calling SYS(1104) after executing commands that make extensive use of memory buffers. This function also clears internal buffers for open tables, forcing the tables to be refreshed, which is useful with large tables and in multiuser environments." -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/dfeb5c23-cef6-4e43-9ad7-e4dbaa663...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: PDF Scraping
Chris This is not easy in general and probably not possible without going outside of VFP. You're probably looking at leveraging Ghostcript somehow to parse the PDF files and dump the text out. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/c073fe82-ac75-47ad-8a8b-e0e69350a...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Printer Dialogue
Not following Chris - do you mean GetPrinter() ? -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/3f226581-4c14-49fe-9110-4709e4098...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: ChdkDsk from VFP
Or Powershell 'repair-volume' https://learn.microsoft.com/en-us/powershell/module/storage/repair-volume?view=windowsserver2022-ps -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/dcf0ac52-d877-4f05-ad74-ea15bd96e...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: ChdkDsk from VFP
You could skin it a different way and use WMI: strComputer = "." objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" + strComputer +"\root\cimv2") objDisk = objWMIService.Get("Win32_LogicalDisk.DeviceID='D:'") errReturn = objDisk.ChkDsk(.f.) && or .t. to fix errors ? errReturn I believe the return codes etc are as described here: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/vdswmi/chkdsk-method-in-class-win32-volume -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/e1732083-1a77-438c-b1d4-c3f01695c...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Log4VFP or Log4Fox
I just have my own class that I create a global instance of, and that logs to file under a specified folder structure based on date, like: app\logs\2023\10\05\app.log Then an append method like: myApp.goLogger.Append("some text") Which updates the log file like: 2023-10-05T14:44:58:some text If I needed features like logging to a table, different log levels and so forth I'd use one of the two you mentioned. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/d324c3c8-18cb-4099-b9b7-b396c2d81...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: vfp and thor set up on a clean windows 11 machine
For VFP9 on Windows 11 I pretty much just install it with all options ticked from the .ISO image, into the default location, then install all the service packs that are on VFPX. If I had to have an earlier version around I'd probably run that in a VM. Regarding Thor if I remember I just followed the instructions - what error are you getting ? -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/f4feb115-5460-4b46-8814-3a6cfa346...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: .csv file imports to VFP
'Append from' has always been bombproof in my experience, as long as what you're giving it is correct. Do those problem rows have any weird non ASCII characters ir anything? -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Sun, 16 Apr 2023, at 3:35 AM, Joe Yoder wrote: > I have an accounting system data dump that I export each year at tax time, > I think I have always had a few records that got mangled but this year I > would like to solve the problem. > > My preferred technique is to create a cursor with the fields I need to > import along with any required place holders. I then append from the ,CSV > file type delimited. This is very fast and seems to be perfect except for > about 24 records out of 10,000. What happens is that fields that belong in > later positions in some records show up in the first field position. It > seems some records are handled as though they have a carriage return > linefeed too early and what follows ends up at the beginning of the > following record. > > I have investigated Low level file input using an fgets function to pull > records out one at a time. This is obviously slower and still seems to > have the same problem. > > Another possible approach would be to pull the entire file into memory and > parse everything out from there. This will take much more time and be a > lot of work to set up but might make sense to try. > > Finally I have opened the file in Excel with no problem. Some of the > fields that want to show up in the left field in VFP stay where they belong > in Excel. I don't like to add a process in another package but it may make > sense to do so. > > Any wisdom will be much appreciated. > Thanks in advance, > > Joe > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/b76a442c-7131-42d2-9d68-3fea23864...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Fun with .Net DLLs
On Wed, 5 Apr 2023, at 1:15 PM, Richard Kaye wrote: > Apparently because the solution is a "Helper" class library, > direct debugging is not possible. How you test it is to add another class library project to the solution. Then install the NUnit package (or MSTest, or one of the others). Create a class like this in the test project: https://gist.github.com/AlanPBourke/cb615f95508a0639605cc7038fe5a7a2 Those methods decorated with [Test] will then be visible in Visual Studio Test Explorer (View menu\Test Explorer). You can then run the tests individually or as a group. If you want to debug, set a breakpoint in your class being tested, then right-click on the test in Test Explorer and select 'Debug'. Debugging then will proceed as normal. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/b17f759a-dd46-4b20-9066-ebc4b4d2d...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Fun with .Net DLLs
Richard I assume you created a project of type 'Class Library'. No you can't debug those, you need to host it in some other sort of exectuable project. To debug that you either need to add another project of a type that is executable to your solution (like a Windows Forms, WPF or Console application) and reference the output from the first project in that, so you can test it. You need to right-click on that project in Solution Explorer and select 'Set As Startup Project'. Normally I would recommend to test it on the .NET side you actually use a proper testing framework like MSTest or NUnit. However what you're trying to really needs to be checked visually so that's probably overkill initially. Did you make the relevant methods COM-visible, i.e. like: [ComVisible(true)] [Guid("8C019E76-59BE-43A6-9DD9-66F7C9CAE67B")] [ProgId("MyApp.ExcelConvert")] [ClassInterface(ClassInterfaceType.AutoDual)] [ComSourceInterfaces(typeof(IExcelConvertEvents))] public class ExcelConvertHelper { ... } I must confess I've never gotten the wwDotNetBridge registration-free COM to work. I've always had to add an installer project in .NET and just make users install and register the assembly. Don't forget you have to build it as 32-bit to use it from VFP. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/48366147-3ce6-49f0-bc3c-6574dce98...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: HTTPS GET using Winsock
Via Winsock specifically ? Why complicate it? -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/a83723c4-d16c-4f59-9bb1-e464c1289...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: CDO Email
Apparently you can: .Item("http://schemas.microsoft.com/cdo/configuration/sendtls";) = True -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/f1ae00a0-64e4-4047-8a82-eae8989bc...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Queries re: Python & Such...
> a bad thing. But, for folks that are Not programmers - and who have NOT > setup a Python Dev environment, and don't know how to DL specific > packages - its not an Easy thing. The only finicky thing I found with Python is how imports work, i.e. referencing other Python files or packages. It's very confusing when you're starting. As a language it's fantastic. Visual Studio Code is free and has excellent built-in Python support, it will install everything you need and make things as easy as possible. Assuming you're in Windows land of course. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/27281f69-bec6-4d93-9082-57d2d0497...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Queries re: Python & Such...
Kurt There's the official Python forums: https://python-forum.io/forum-8.html Also StackOverflow if you can provide a code sample. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/fe593652-2996-446b-9953-dfd108c87...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Using OpenAI like ChatGPT?
> If ChatGPT could understand Python, it should not be too hard for it to It doesn't *understand* anything, it's monkeys on typewriters. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/49bb97cc-883a-421f-93c5-0e2dabda3...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Using OpenAI like ChatGPT?
Does it have any opinions on the lovely Rachel Riley ? ;) -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/da7d781f-0a4a-4488-8da8-18178bb31...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Using OpenAI like ChatGPT?
It will churn out something that looks vaguely passable, but it is all smoke and mirrors. There is no 'I' involved. It's a fancy search engine. -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Sat, 4 Feb 2023, at 3:08 AM, Man-wai Chang wrote: > I am just wondering whether Visual Foxpro could make use of OpenAI > like ChatGPT :) > > I don't have any purpose nor objective in mind. > > -- > .~. Might, Courage, Vision. SINCERITY! > / v \ 64-bit Fedora 35 Server Spin > /( _ )\ http://sites.google.com/site/changmw > ^ ^ May the Force and farces be with you! > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/76a61145-4d66-499e-8ab0-5c161b445...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Small Report/Label Designs
Well, with a Zebra I would forget the VFP report designer and just send it ZPL commands. And use this to to the design. http://labelary.com/viewer.html -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Sun, 15 Jan 2023, at 10:56 AM, Chris Davis wrote: > Something similar to a Zebra. > > -Original Message- > From: ProfoxTech On Behalf Of Alan Bourke > Sent: 13 January 2023 12:28 > To: profoxt...@leafe.com > Subject: Re: Small Report/Label Designs > > What label printer are you printing them on ? > > > -- > Alan Bourke > alanpbourke (at) fastmail (dot) fm > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/4fb1edcc-dc10-4994-9826-93f8abc14...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Small Report/Label Designs
What label printer are you printing them on ? -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/1abf290a-93dd-4c2a-8289-282efb05f...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Equation solving from VFP
Thinking aloud, if you could guarantee 32-bit Excel was available you could probably use Excel automation to do it, i.e. Create a Workbook programmatically Fill defined cells with your input values Do a Goal Seek with result in a defined cell Read that value back to VFP. Range("B4").GoalSeek Goal:=-900, ChangingCell:=Range("B3") -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/d46dc8ac-2a1f-4b83-852b-4fd327ef8...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Right-click Open with options
I'd try copying the EXE to pspadadmin.exe and set a shortcut to that accordingly -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Sat, 12 Nov 2022, at 3:10 PM, Paul Newton wrote: > Hi > > In my setup I have PSPad.EXE and PSPad (Admin).EXE. The latter is > simply a copy of the former but with "Run as administrator" set in its > properties. If I right-click on, for example, Config.FPW, I already > have PSPad as an option but I can also "choose another program" and > select PSPad (Admin).EXE and "Just once". The next time I right-click > on Config.FPW there are two choices for "PSPad". One opens PSPad.EXE > and the other opens PSPad (Admin).EXE which is great except for the fact > that both are simply labelled "PSPad". > > Any ideas how I can get PSPad (Admin) to show as the second choice? > Where does Windows store these "Open with" choices? Are they in a > folder somewhere or in the registry? > > Many thanks > > Paul Newton > > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/32f28d9d-6532-4f8e-b438-132ef1795...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: dreaming of vfp and vscode integration
Jeff I had a play around with this last year. It involved creating a VS Code build task, which in turn ran a VBScript (.vbs) script. The script took the .PRG filename as an argument and created a VFP COM object, then told that to compile the .PRG. Given the above and the Visual FoxPro syntax highlighting plugin for VS Code, it worked well enough for individual files. However it didn't help with code in visual elements like form classes and that's the show-stopper with trying to use external editors with VFP. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/adc29883-2ee3-456d-9641-43de95414...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Anyone with C# (and obviously VFP) chops looking for a 99% remote gig ?
I have had someone get in touch with the below on LinkedIn, I'm not going for it but if anyone fancies it I can give them your details: "I'm currently working with a well established multi-company group in the manufacturing domain who are looking for a C# Developer with experience in Visual FoxPro to work on a migration project for a large number of their internal applications. Following this FoxPro to C#.Net migration, there will be a lot of scope to work on new Cloud based projects in C#.Net. Good flexibility offered in the role, no red tape and working alongside a small team of 5 to accelerate this project forward." UK based, he says 99% remote working, £60k - £70k -- Alan Bourke alanpbourke (at) fastmail (dot) fm --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/f0913c92-6c1a-428a-8925-0e8bd2b01...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: fox.wikis.com
Ugh, no need for this sort of thing. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/957a40cd-ecd9-4676-9c7a-fe8b692a6...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
fox.wikis.com
What's going on there then? -- Alan Bourke alanpbourke (at) fastmail (dot) fm --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/18a3e190-4785-4930-81b2-9046c5438...@app.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: ChilkatVFP 1.0 Released
Thanks Bill will come in very useful -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/c6d1dea3-2340-4789-b760-4cbaa051b...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Creating a hyperlink on a PDF via XFRX.
Turns out it's a real pain in the ass to do this on a VFP report layout directly. So I knocked up a .NET COM-visible DLL which uses a third party library to place the relevant hyperlink onto an already-created PDF file. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/ef0b613f-2ba3-4819-a2e9-68e548af9...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Creating a hyperlink on a PDF via XFRX.
Thanks. I will look into those options. I also considered having a placeholder URL and then postprocessing the PDF file as hyperlinks seem to be plain text inside them. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/eab638fc-344f-46c4-82ec-7a0856331...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Creating a hyperlink on a PDF via XFRX.
I'm reporting to PDF using XFRX. I need to create a hyperlink to an internet URL. The method XFRX uses for this is via a string in the Comments field of a report expression, so for example if I add a report expression with value = "Click Here" and put this in the comments: #UR A HREF="https://www.rte.ie"; <https://tinyurl.com/yfzyu2s9> Then the created PDF will have a clickable "Click Here" link to that site. However I need to take the URL from a table field, i.e. not a static string, but I can't get it to work. I've tried: #UR A HREF=#+mytable.myfield #UR A HREF=mytable.myfield #UR A HREF=eval(mytable.myfield) Has anyone ever done this ? -- Alan Bourke alanpbourke (at) fastmail (dot) fm --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/a05f8d3a-f5c3-4ddc-9d44-cade907b7...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Pictures in a table
IMO don't ever store binary objects in a relational database table. Store a relative path and filename from a root disk location. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/33966052-c52d-48d1-aba4-eb9360802...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Need Help - Foxpro & Chilkat & Rest API
I'd sell it back to Chilkat. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/9547c418-0a83-4184-899c-18d1472d9...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
On Mon, 18 Jul 2022, at 1:50 PM, Eric Selje wrote: > "RubberDucking" > > https://en.wikipedia.org/wiki/Rubber_duck_debugging Haha, excellent. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/2b142725-fec3-42b1-af51-61a7c5621...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
On Sat, 16 Jul 2022, at 11:49 PM, Paul Newton wrote: > Isn't it marvellous how simply posting a question to this esteemed list > somehow kicks ones brain into gear ... albeit only after posting I call it the Stackoverflow effect. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/a94c3806-e5af-4295-b067-389ce6a33...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: GDIPlusX GetHue() and GetBrightness()
Paul The .NET syntax is very similar: https://dotnetfiddle.net/b2uIkS However it returns the lightness value in a range of 0 .. 1 so you have to multiply by 100 to express in a % which seems to be how everyone else does it. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/73caac35-b27d-427c-bb9a-87bbe176a...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: GDIPlusX GetHue() and GetBrightness()
I don't think its implementation of these methods is correct Paul, comparing with what .NET would return. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/86807077-0db1-4c14-8bb2-1d2f710ac...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: GDIPlusX GetHue() and GetBrightness()
Try Cast(loColor.GetHue() as Integer) or Cast(loColor.GetHue() as Numeric(12, 2)) ... -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/fe02800c-e015-4a69-a9ce-5e83b2b66...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: GDIPlus - Resize
Also https://docs.microsoft.com/en-us/previous-versions/windows/desktop/wiaaut/-wiaaut-startpage -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/5391558c-d687-4c80-9b6f-584ebae29...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: GDIPlus - Resize
Paul Take a look at the Windows Image Acquisition API, the link below is a method that I use to resize images from a signature pad. https://gist.github.com/AlanPBourke/b4ad122636978245a678a65155ba51e7 -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/2b6aae5e-0f38-4a14-a8de-b7ed08de2...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Monitor woes
VGA only. Well, you can get DVI or HDMI to VGA converters but this is no different than the first monitor, a VGA connection is a D-SUB type connection. The old Atari joystick style! -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/7c233a5e-399b-47fe-aea2-d154debc6...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Monitor woes
What model number is the second one Paul? I find it kind of odd that a modern flat panel capable of full HD would only have an analogue input. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/536bc8e6-3455-4d15-80f9-496272382...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: IE's death
I think all that happened yesterday is that IE won't get any more updates or patches and any attempt to launch it via the shortcut will shove you towards Edge instead. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/1de3e86e-71b9-48a8-8389-36bc1fd8b...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Legacy app using wwipstuff.dll fails sending Office365 email
For anything we have that sends through using SMTP, if a customer wants to send through a Microsoft mail server they definitely have to set up a relay as per the document Richard linked to. Which is why I get them to use Amazon SES instead if possible. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/42d27c57-e481-47f5-bfa0-122fa4f2e...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] VGA/DVI to HDMI
Or strictly speaking, HDMI (laptop) to DVI (monitor) -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/d12155eb-113f-4e59-8bad-95348c5ba...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] VGA/DVI to HDMI
Hi Paul HDMI-DVI all day long, VGA is analogue which is crap in this day and age. You'll get a better, more stable image and Windows will be able to control it better. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/9a872592-bd07-4c72-84b5-24ae1bf65...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Problem setting ActiveX control property (Folderview and Fileview controls)
Paul The control might just be really particular about the parameter being a long integer. I have seen discussion of this sort of problem where the person ended up writing a VB6 wrapper and calling that from VFP instead. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/dc8d19ab-b43a-47f4-b2e9-ce5fa07c4...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: fox wiki down for anyone else?
Yes 503 here. Steven Black is the hombre responsible IIRC -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/235b3b93-f139-41c3-a27c-99a2490f8...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] MHTML woes
Paul You could try a browser extension like https://chrome.google.com/webstore/detail/singlefile/mpiodijhokgodhhofbcjdecpffjipkle?hl=en -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/af7e2b01-0fa8-4c3a-99d0-71922c67f...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFP 9: Invalid Path or File Name
On Sun, 15 May 2022, at 2:53 PM, Desmond Lloyd wrote: > if I change the file name after throwing the error the copy > executes just fine if I run the copy again it fails??? So at the point of failure if you try to re-execute the COPY TO with the intended filename in the Command Window and it fails also? Is there a hidden ARINVT01.TXT in the output location ? Try erase "output\arinvt01.txt" copy to yada yada -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/b71f78a0-73bd-47bb-b0fb-e25686672...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFP 9: Invalid Path or File Name
Try wrapping the filename in quotes. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/c66f2814-62a3-449b-b8ce-eb4e177be...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Those were the days ... ISP charges
On Mon, 25 Apr 2022, at 3:55 AM, Kurt @ Gmail wrote: > Was that REALLY the cost for CompuServe? Yikes! In theearly 1980s, in the US, yep. You could download a copy of the 20c print edition of the NYT which would take maybe 5 hours at $5 an hour. By the time I was using it in the UK in the mid 1990s it was about £10 a month with phone call charges on top. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/e82147ec-b398-4a3f-83b6-b6d77d3e3...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VRunFox
Kurt > If you Create an EXE - all you then need to do is > pass along the DLL files with your project EXE - and then the EXE should > run... For sure, but this is to be able to run full VFP, get the Command Window and all that, in a portable fashion. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/6c3a1c3a-88ca-4493-9f93-b9839003a...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VRunFox
If you just want something that you can use onsite without actually installing VFP, just take the following files from your VFP\Windows folders, zip them, then just unzip them in a folder on whatever machine and run the EXE. This is better than vrunfox because it's the full enchilada. vfp9.exe vfp9r.dll vfp9t.dll vfpenu.dll vfprenu.dll gdiplus.dll (c:\windows\syswow64\) msvcp71.dll (c:\windows\syswow64\) msvcr71.dll (c:\windows\syswow64\) ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/a4b90d3d-cecb-4389-a45e-d007a3249...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: 1001 Things You Wanted to Know About Visual FoxPro
Normally I'd harass people on Twitter but Whil doesn't appear to have been on that since 2019. Maybe call the number on the website ? -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/326da7ce-c3db-4a46-8597-89ab16555...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Remember when Google's motto was "Don't be Evil"?
I use Firefox exclusively and Vivaldi on phone. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/bca0b227-393c-433d-8fde-7593757d8...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Determine if a File is Open
Probably the easiest way is just trying to open it and trapping the error. So assuming you know the file exists then lnHandle = fopen(lcMyFileName) if lnHandle = -1 * -- The file couldn't be opened so is open somewhere else. else fclose(lnHandle) endif To close it you would have to find the file handle from the other process, i.e. whatever they're using to read PDF files, and use the Windows API to close that handle. Bearing in mind that they could be using any web browser, Acrobat Reader or any number of PDF readers to view the PDF. Maybe extract it in their temp folder and don't worry about erasing it. -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Tue, 29 Mar 2022, at 4:33 PM, Carl Lindner wrote: > I extracted "d:\test_dir\test.pdf". Then used ShellExecute to open it. The > user reads the pdf and later I want to erase it. But, it will not erase if > the user has not previously closed it. > > > > How can I tell if it is closed? Even better, is there a way I can close it? > > > > Carl Lindner > > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/29b86b12-c9ed-4303-8d81-1552df207...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Facets Database???
It's a good name for a database though. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/1bc19b7c-f3c2-4d4d-a504-da4fbc5b7...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Converting RTF to HTML
Very handy that. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/40f7f272-a9c0-4c78-8448-2af6f9b51...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Back from the Dead & MS PowerApps...
I've had a play with PowerApps - ti was PowerApps For Teams which is (or was) more limited than full-fat PowerApps. For example at the time you could only use Sharepoint Lists as your data backend but I understand now there is a 'Dataverse For Teams' also. For serious LOB applications for end users you or your customer would need the full PowerApps on your Office 365 subscription. As ever with these low-code tools, it's great until you start hitting edge cases but I was quite impressed. Of course business application style reporting and printing is a distinct afterthought as it seems to be with every tool that isn't Visual FoxPro ;) Take a look at April Dunnam's excellent Youtube tutorials. https://www.youtube.com/watch?v=-H4ljf4FuTE -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/a1878473-1001-401c-8fb4-851246f8f...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Report to Microsoft PDF Printer creates text as images.
Great, will try that! Danke. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/40719084-22cb-4394-84df-75d15d415...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Report to Microsoft PDF Printer creates text as images.
Hmm I might suggest that to them thanks -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Tue, 22 Feb 2022, at 12:12 PM, j...@johnweller.co.uk wrote: > I don't know if this will help but if you open a PDF in Word it will > automatically convert it to a Word document - even if the pdf actually > contains an image. > > John > > John Weller > 07976 393631 ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/896898b7-964b-4cb0-a389-118a9e4d0...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Report to Microsoft PDF Printer creates text as images.
No worries thanks -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Tue, 22 Feb 2022, at 12:07 PM, paul.newton.h...@gmail.com wrote: > Hi Alan ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/91697fc8-0cbf-4634-b737-99d907a5c...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Report to Microsoft PDF Printer creates text as images.
We have a customer who when printing a particular report from a Visual Foxpro application sometimes selects the Microsoft PDF Printer (installed with MS Office). This then prompts for a PDF file to save the report output to. They then open the PDF in Acrobat Reader or whatever and need to select and copy some text from it. The problem is that sometimes the PDF is rendered as an image so no individual elements are selectable in Acrobat Reader. All fonts on the layout are standard Arial. There are no settings on the PDF printer to adjust and nothing on the VFP side that I can see would affect it. Replicating this process with the report layouts in question on my PC works fine. Has anyone ever come across this ? -- Alan Bourke alanpbourke (at) fastmail (dot) fm --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/d03f7130-70f4-476e-a7d4-3a2701e41...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Problem installing Thor
Paul My Thor folder zipped is here: http://sendanywhe.re/APZLD964 I am set up as follows: The contents of that zip are in c:\users\xx\dev\vfpdev\thor\ My config.fpw for vfp9.exe has do mysetup.prg That prg is in the same folder as vfp9.exe and among other things has Do "c:\users\xx\dev\vfpdev\thor\thor.app" HTH -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/fcf56b79-b614-4b76-97f6-f475f9d7d...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFP code editor syntax highlighting not working properly (totally screwed up) - SOLVED
On Tue, 15 Feb 2022, at 11:54 AM, paul.newton.h...@gmail.com wrote: > Is there/might there be a way to force VFP to respect the > changed colours immediately? =SYS(3056,1) "Forces Visual FoxPro to read its registry settings again and update itself with the current registry settings, or to write its settings to the registry." -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/7d3231d0-342b-41db-9d85-b1438bf47...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Transparent commandbuttons in Windows 11
https://iili.io/lPsOcg.md.png -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/838ae194-da82-4753-8deb-e9cfda6b3...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Help With VB.Net
Assuming you are using Windows Forms and not WPF ... You can detect an 'Enter' keypress via the KeyPress event. Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress If e.KeyChar = Microsoft.VisualBasic.ChrW(Keys.Return) Then MessageBox.Show("Enter") End If End Sub That won't detect focus leaving the textbox via tab or mouse click etc though. For that you might have to use the Validating event. Private Sub TextBox1_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating Dim isValid As Boolean isValid = True ' Check what you need to check here. If isValid = False Then e.Cancel = True End If End Sub -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Mon, 10 Jan 2022, at 2:14 PM, j...@johnweller.co.uk wrote: > I am trying to help a friend write an app in VB.Net. I need some code > to fire when a number is entered into a textbox and Enter pressed, as > in the Valid event in VFP, but can’t seem to find the appropriate VB > event – any suggestions gratefully received. I’m asking here because > it is easier to specify the problem in VFP terms 😊 > > > > TIA > > > > John > > > > John Weller > > 07976 393631 > > > > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/ff7aa0e9-31a4-4925-86ec-11aaf958f...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Problem trying to run a Powershell script as an Explorer shell command (Fox related)
> I have everything working as expected for SCX, VCX, MNX, FRX and LBX. I am > still to address DBF, DBC, PRG and, perhaps, QPR What have Queen's Park Rangers got to do with it :) -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/9b0bfa69-b27e-4eb6-a881-e579a9fde...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Problem trying to run a Powershell script as an Explorer shell command (Fox related)
Paul Same registry values, same expected action on double clicking here. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/9d7ed687-b07d-46d4-9563-1614984a5...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Problem trying to run a Powershell script as an Explorer shell command (Fox related)
Paul For me double-clicking a PJX in Windows also opens VFP9 with the project file open and ready. When I examine the .pjx entry using FileTypesMan (https://www.nirsoft.net/utils/file_types_manager.html) the registry key is: HKEY_CLASSES_ROOT\Visual.FoxPro.Project\shell\open\command and the value is a REG_SZ equal to "C:\Program Files (x86)\Microsoft Visual FoxPro 9\vfp9.exe" -SHELLOPEN "%1" HTH -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/9db77cfb-1c7f-4345-a702-f7f60401e...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Life in the old dog\cat yet*
The TIOBE index of programming language popularity is out for 2021, and the 'ol fox is hanging in there at 21, ahead of upstarts like Rust, Dart and Julia. Python remains the daddy. https://www.tiobe.com/tiobe-index/ * There's a joke that foxes are basically dogs running cat firmware. -- Alan Bourke alanpbourke (at) fastmail (dot) fm --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/ba4ab129-c1dc-482e-83aa-49e559976...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] My laptop performance is soooo bad in ANY browser
Start Task Manager, Performance tab, then Resource Monitor option at bottom. Flick between the tabs there and see what process is utilising CPU and\or Disk. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/a0e0990d-694c-430e-abf0-8997d0510...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: sftp for vfp6?
The free WinSCP application handles FTP, FTPS, SCP, SFTP, WebDAV and S3. It also has a COM-callable .NET assembly that you could use. It's usable from VBScript so I assume you could also use it directly from VFP, or use VBScript or Powershell from VFP etc. https://winscp.net/eng/docs/library -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/75bfd88e-b68a-4e2b-973f-ee85c0107...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: looking docs or code for reading and exporting vfp menus that I can understand
If you run the built-in report below it will show you how the MNX file is structured: Modify Report (Home() + "Tools\Filespec\60mnx.frx") ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/019e43f9-cd04-439d-9f0b-9c9baa57a...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Windows 10 32 bit on current Hardware
They have stopped releasing 32 bit OEM builds as of Windows 10 2004. So all new machines from OEMs are 64 bit, as are all OEM installers. It could be that. I bet an off the shelf 32 bit consumer SKU would work. -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Thu, 4 Nov 2021, at 2:38 PM, Philip Borkholder wrote: > Hello, > > I have a customer who is still running a FoxPro 2.6 application and has > been for years. > Their hardware is getting old and their IT/Network group is telling me > that they've tried to install WIndows 10 32 bit on several new > workstations and both Intel and AMD CPU based PC's are denying the > ability to install the 32 bit version of Windows 10. > They say neither AMD nor Intel are allowing the 32 bit installation to > start. > > Has anyone run into this recently? Does anyone have any suggestions or > work arounds? > There are a lot of "well it should work" comments I've been given but > has anyone actually been able to do it on new hardware? > > Thanks, > > Philip B. > Vicksburg, MI > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/4da77c2a-af7b-433e-8003-9bd5d0659...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Matt Slay
That's terrible news, he was a real expert and a credit to the community. RIP -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/69a4b82f-5e26-49b8-bd4b-77639deab...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Windows 10 Home networking and Explorer
Don't enable SMB1 support. You might as well leave your front door open when you leave the house. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/62bef3e2-5687-4ec3-8d22-18ead7ef5...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFP equivalent of SQL Server 'script table'
Thanks folks. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/f925be49-f0b0-47f4-865f-c85295ec2...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
VFP equivalent of SQL Server 'script table'
In MSSQL you can script a table out to a Transact SQL script, including all CREATE statements and multiple INSERT statements for the data. Is there a VFP equivalent that anyone knows of? This is for including test data in source control, it's better to have a PRG that can generate the database than adding binary DBF files etc. -- Alan Bourke alanpbourke (at) fastmail (dot) fm --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/c8289ef0-1f85-4355-aaa6-8e3d9891b...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] - Is Bigger Always Better When It Comes To Your Monitors? :)
On Wed, 25 Aug 2021, at 6:16 PM, Eric Selje wrote: > They might have even > squeaked into Win 10. > The FancyZones Powertoy for Windows 10, mentioned in the article, has effectively been incorporated into Windows 11. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/f67026c1-1fb5-42d3-b68b-e2e9535a2...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Retire the CSV?
On Tue, 24 Aug 2021, at 9:45 AM, data...@adam.com.au wrote: > You wont get rid of the CSV anytime soon. It reminds me of the > University Professor who declared that email was old-hat and 'dead' Ah yes, we're about due another bout of "email is dead, here's the new thing" aren't we? Happens every five years or so. If it's not that it's 'Excel is dead'. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/265d00a8-6cf6-47cd-8dbf-cfa227bee...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Winforms
> Thanks for all your replies. Don't understand why Microsoft haven't sorted > visual inheritance properly. You're assuming that they view it as a problem. If they did they'd have fixed it in the .NET Core version of WinForms. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/ea30ebd2-14d5-4210-a961-7dae60d63...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Retire the CSV?
Can relate, however despite all its many drawbacks it will never die because: It's easy for non programmers to read and understand, as opposed to the hierarchical structure of JSON and XML. It's easy for non programmers to generate, or easy to make third-party applications generate if they have any sort of built-in report generating at all. It's easy for non programmers to view and work with CSV files using Excel. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/3ab94eed-388e-45ed-b5f7-b9a6531dc...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Winforms
Graham I'd definitely consider Windows Presentation Foundation over Winforms if this inheritance thing is a problem for you, because WPF *does* support that sort of visual inheritance, and i will set you up for WinUI going forward. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/311644bc-832d-4196-8e88-314833fb5...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Winforms
On Wed, 18 Aug 2021, at 5:34 PM, Graham Brown wrote: > What am I missing? You're not missing anything. Visual inheritance in the Windows Forms designer does not work like VFP, Delphi or whatever. It didn't in 2002, and on inspection still doesn't now. This is how you do it with a UserControl. https://docs.microsoft.com/en-us/dotnet/desktop/winforms/controls/creating-a-wf-control-design-time-features?view=netframeworkdesktop-4.8 -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/e3bfd959-ae8a-4fdd-9e52-8203c1050...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: [NF] Winforms
It's been many years since I used WinForms but if I remember visual inheritance and WinForms designer support in Visual Studio don't work the same as you would be used to from VFP or VB6. Basically you have to programmatically add designer support, or as you say programmatically update any control properties you want to change. WPF and its successors are much better in this regard. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/f29ec5af-8c25-410a-87a7-ef2e40794...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Disappearing pop-up windows (like the Find window dialog in Code References, and sometimes the entire Debug window)
I've never gotten VFP to work reliably with this sort of setup. IMO it's from a time before dual monitors and doesn't know what the hell is happening. -- Alan Bourke alanpbourke (at) fastmail (dot) fm On Tue, 10 Aug 2021, at 12:56 AM, MB Software Solutions, LLC wrote: > VFP9SP2 Win10Pro Dell Latitude 3400 and my favorite color today is red. > > Has anyone come across where your resource file just seems to get crazy > and show windows in coordinates that are entirely off-monitor and you > cannot see them? I do! Started not too long ago. I use a dual-monitor > setup and on very rare occasion have my laptop lid open too while on the > dock for a (unintended) 3rd monitor display. I can only guess that my > re-arrange monitors perhaps has caused this. It's very frustrating. > I've nuked the resource.dbf file a couple times but it repeats > behavior. (Off the top of my head, I can't recall if the ZAP of > resource.dbf fixes it or not, but if it does, eventually it happens > again where I cannot see the Find window.) > > Only thing more I can contribute: leftmost monitor is #1 and right (and > sometimes middle) is #2. Laptop sits at far right of my desk. > > Ideas? Tia. > > -- > Michael J. Babcock, MCP > Fox/VFP dev since 1997 > Developer of FabNet estimating software - mbsoftwaresolutions.com > > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/b780adac-7211-4f89-8526-0239a93ad...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: New Job & The Silence is Killing Me...
On Wed, 21 Jul 2021, at 3:33 AM, Kurt at VR-FX wrote: > Seems an oddity occured - and I started getting these ProFox emails > again to my main email addy. So - just noticed this recently... > *Something* happened, I didn't get any mails for a while there. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/c5659de7-ef74-41de-8d7e-d11c528bf...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Windows 11???
Got a VM up and running with the current build of Windows 11, and everything VFP appears to work as per Windows 10. There are fairly hefty changes to many elements of the Windows UI. Ribbon-style menus appear to be gone, and context menus are significantly different. I'm sure they've dicked around a lot with the location and appearance of Windows configuration screens but really these days doesn't everyone just type 'network' or whatever into the search box? -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/8b503025-db85-4095-b2cd-762a29103...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.