tag:blogger.com,1999:blog-24989625.comments2024-03-13T13:07:08.623-05:00Doug HennigDoug Hennighttp://www.blogger.com/profile/00208525487680844022noreply@blogger.comBlogger573125tag:blogger.com,1999:blog-24989625.post-59590590996040337702024-03-13T13:07:08.623-05:002024-03-13T13:07:08.623-05:00I guess you could change that from > 0 to <&...I guess you could change that from > 0 to <> 0.<br /><br />DougDoug Hennighttps://www.blogger.com/profile/00208525487680844022noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-74043699534602903852024-03-13T10:37:12.523-05:002024-03-13T10:37:12.523-05:00Hi,
my monitorhandle of the third monitor is nega...Hi,<br /><br />my monitorhandle of the third monitor is negative. <br />So i guess that handles can be negative. <br />In the api documentation is no information about that a monitor handle have to be > 0. <br /><br />Is there a reason why you check with handle > 0 ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-24989625.post-63024997168049884962024-01-03T08:20:47.093-06:002024-01-03T08:20:47.093-06:00Format goes beyond TEXTMERGE: it can format numeri...Format goes beyond TEXTMERGE: it can format numeric and date values and insert carriage returns and linefeeds easily. See the Git repository for details.Doug Hennighttps://www.blogger.com/profile/00208525487680844022noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-29096717201118445002024-01-03T05:49:34.289-06:002024-01-03T05:49:34.289-06:00I'd use TEXTMERGE() for such cases. I have not...I'd use TEXTMERGE() for such cases. I have not used the format function, I can imagine there is more cleverness in there, however for cases above TEXTMERGE() is just working fine for me.Walter Meesterhttps://www.blogger.com/profile/07838012327901548374noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-13718115774521518362023-12-16T12:12:54.675-06:002023-12-16T12:12:54.675-06:00Wow, my initial idea came a long way :) Congrats t...Wow, my initial idea came a long way :) Congrats to this clever solution! <br /><br />BTW, as they say "there are always three ways to skin a... errr: code a function in FoxPro", here's a IMHO slightly shorter code for<br />lcUser = alltrim(substr(sys(0), at('#', sys(0)) + 1))<br /><br />lcUser = GetWordNum(sys(0),2,'#')<br /><br />Greetings from good ol' Bavaria!<br />wOOdy wOOdyhttps://www.blogger.com/profile/00138379082749460354noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-51805884588375094372023-03-03T17:45:47.504-06:002023-03-03T17:45:47.504-06:00See this comment in the instructions at https://gi...See this comment in the instructions at https://github.com/DougHennig/SFMail:<br /><br />"Note: if your app runs from a network folder, you will likely need to distribute a config file that tells .NET to allow remote execution. Rename myapp.exe.config included in this repository to the name of your EXE; for example, for an EXE named Customers.exe, rename myapp.exe.config to Customers.exe.config and distribute it with the application."Doug Hennighttps://www.blogger.com/profile/00208525487680844022noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-78555029766309615772023-03-03T14:06:09.843-06:002023-03-03T14:06:09.843-06:00Hi, Doug.
I am getting this message...
Message not...Hi, Doug.<br />I am getting this message...<br />Message not sent: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does note enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkID-155569 for more information.<br /><br />I need help... How do I set the loadFromRemoteSources switch?<br /><br />Thank you! Art Lieberman support@meminfo.com<br />Anonymoushttps://www.blogger.com/profile/11078474387990367395noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-6145956408090918042022-09-16T16:39:19.577-05:002022-09-16T16:39:19.577-05:00Although I created the repository for it on GitHub...Although I created the repository for it on GitHub, I have not worked on it. Since you have the source code, you may be able to find what you need to change.Doug Hennighttps://www.blogger.com/profile/00208525487680844022noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-18160973023801931952022-09-16T16:36:52.846-05:002022-09-16T16:36:52.846-05:00by the way, now I remember you working https://git...by the way, now I remember you working https://github.com/VFPX/GenHTML<br />it is possible to generate the grid included in the form<br />best regard Mr DougHennigAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-24989625.post-23537308936385586552022-06-30T09:58:59.066-05:002022-06-30T09:58:59.066-05:00Parabéns a todos colaboradores Doug HennigParabéns a todos colaboradores Doug HennigRaimundo Bonfimhttps://www.blogger.com/profile/06506720107099084595noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-83054531750725357152022-06-16T05:58:08.774-05:002022-06-16T05:58:08.774-05:00Hello Doug;
I updated cdo mail code to SFmail on...Hello Doug; <br /><br />I updated cdo mail code to SFmail on my one of the projects.<br />Working like a charm.<br /><br />Thank you for SFmail and community collobration. <br />(Ugur YILMAZ)Ugur YILMAZhttps://www.blogger.com/profile/01641912115309279236noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-26156854043972602782022-05-31T16:48:58.603-05:002022-05-31T16:48:58.603-05:00I resolved the problem described in my last commen...I resolved the problem described in my last comment (actually the two problems). 1) I did not realize that the signing setup for Inno Script Studio was not duplicated in Inno Setup Compiler and 2) the "$p" parameter is still required in the command line syntax (which I believe I included at first, then eliminated in a desperate try-anything-to-see-if-it-works mode.Anonymoushttps://www.blogger.com/profile/04436588590669568053noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-69665812988292992642022-05-31T15:50:15.013-05:002022-05-31T15:50:15.013-05:00Up till this point (pre-signing certificate) I use...Up till this point (pre-signing certificate) I used a PRG called "Maker.prg" to build a batch file that called "c:\Program Files (x86)\Inno Script Studio\isstudio" -COMPILE, which worked fine. <br /><br />I was able to get InnoScript Studio to successfully sign the installer, so I moved to adapting the Maker procedure, which handles everything (including multiple exe functional scopes) to include command line <br /><br />However, in trying to add code signing, I followed your example using this code, except I used /a (as I did above) instead of specifying the certificate and password (this works if I sign the program executable as well as when I compile the installer from the InnoScript environment):<br /><br />FPUTS(lnBatchHandle, '"c:\Program Files (x86)\Inno Setup 6\iscc" ' + ;<br />'"/sSignTool=c:\ffezinst\distrib\signtool.exe sign /v /tr http://timestamp.digicert.com /td sha256 /fd sha256 /a $p" ' + ;<br />'"c:\ffezinst\distrib\Inno Setup Projects\FF&EZ\' + lcISSFile + '"')<br /><br /><br />...but the resulting installers were not signed (but also no error popped). Have I bungled the syntax here or is the certificate store not accessed by iscc.exe? Anonymoushttps://www.blogger.com/profile/04436588590669568053noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-51053237806431956072022-05-31T14:56:30.214-05:002022-05-31T14:56:30.214-05:00I hear ya! Buying a certificate for the first time...I hear ya! Buying a certificate for the first time is a huge PITA. Renewal isn't so bad. It took a lot of experimentation to get these instructions correct.Doug Hennighttps://www.blogger.com/profile/00208525487680844022noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-3258749731328853362022-05-31T14:51:36.052-05:002022-05-31T14:51:36.052-05:00WELLLLLL... Never mind re: comment posted 31-May-2...WELLLLLL... Never mind re: comment posted 31-May-2022: I got it to work with a simpler command from a newer blog post (and then stumbled on the inactive link to your own discussion of SHA-256 certificates.). I have to say, though, that trying to buy, create and then use a code signing certificate for the first time is easily the most brain-wracking programming task I've ever encountered. Anonymoushttps://www.blogger.com/profile/04436588590669568053noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-88373719097613551342022-05-31T14:09:49.389-05:002022-05-31T14:09:49.389-05:00If anyone can give me some advice about what is wr...If anyone can give me some advice about what is wrong with this signtool line I would hugely appreciate it (this is from the Inno Script studio run output). Note some names have been changed to protect the innocent: <br /><br />Running Sign Tool SignTool: "c:\myproginst\distrib\signtool.exe" sign /f "c:\myproginst\distrib\code_certificate\HJCarls_XXX.PFX" /tr http://timestamp.digicert.com /p NoNotMyPassword "C:\myproginst\distrib\workstation-inno\setup-ds-0403012.exe"<br />Compiler Error!<br />Sign Tool command failed with exit code 0x1.<br /><br />After banging my head against the wall just to get the certificate generated, I had to put this aside for a while, so I'm also not really sure which PFX file I need to be using for this. I included a path to the certificate, but it's also in my certificate store. Thanks!<br />Anonymoushttps://www.blogger.com/profile/04436588590669568053noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-29321572879949453172022-05-30T10:48:28.528-05:002022-05-30T10:48:28.528-05:00Yes, you can.Yes, you can.Doug Hennighttps://www.blogger.com/profile/00208525487680844022noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-64169985699576847922022-05-30T10:09:18.846-05:002022-05-30T10:09:18.846-05:00Very handy Rick.
Can I translate it and post it o...Very handy Rick.<br /><br />Can I translate it and post it on the "<a href="https://comunidadvfp.blogspot.com/" rel="nofollow">Spanish Visual Foxpro Community Blog</a>"? (Obviously with all credits to the author and his site)<br /><br />TIALuis Mariahttps://www.blogger.com/profile/01349796512778225709noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-30563567377233843322022-05-26T18:09:07.167-05:002022-05-26T18:09:07.167-05:00Man, you read my mind!
Thanks a lot. Now and every...Man, you read my mind!<br />Thanks a lot. Now and every timeMijhailnoreply@blogger.comtag:blogger.com,1999:blog-24989625.post-280542906559358692022-05-21T18:24:30.349-05:002022-05-21T18:24:30.349-05:00Very cool Doug! Thanks for sharing Very cool Doug! Thanks for sharing Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-24989625.post-17787901809750973292022-03-18T09:01:04.413-05:002022-03-18T09:01:04.413-05:00Credit where credit is due. My coworker, Brandon K...Credit where credit is due. My coworker, Brandon Klimek, was a huge help in this, especially with the Azure settings and C# code. He saved me at least 2 weeks of research!Anonymoushttps://www.blogger.com/profile/13242999657317768772noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-88525711932361834352022-02-01T17:25:36.411-06:002022-02-01T17:25:36.411-06:00Thanks a lot! ¡Muchas gracias!Thanks a lot! ¡Muchas gracias!Mijhailhttps://www.blogger.com/profile/18006078279694695888noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-50910543454149365132021-12-07T15:48:40.100-06:002021-12-07T15:48:40.100-06:00Thank you.
Great job!
Thank you.<br />Great job!<br />Anonymoushttps://www.blogger.com/profile/00800655704884474083noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-62991865297784524882021-11-09T15:12:02.332-06:002021-11-09T15:12:02.332-06:00Without the /tr parameter, the EXE won't be ti...Without the /tr parameter, the EXE won't be timestamped. Not sure if that's a problem, but I decided I wanted it.Doug Hennighttps://www.blogger.com/profile/00208525487680844022noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-19820855042752772021-11-09T13:23:31.889-06:002021-11-09T13:23:31.889-06:00I've been code signing for years, but your scr...I've been code signing for years, but your script raises a question for me. You're pulling from a DigiCert timeserver. Why? I have never done this. My initial certs were from GoDaddy, and I just switched to Sectigo. Is there something different about DigiCert products that you need to pull time?Dan Lauerhttps://www.blogger.com/profile/06994371789522027789noreply@blogger.com