Found it! In the Windows Registry - something had changed this entry:
HKEY_CLASSES_ROOT\http\shell\open\ddeexec\Application
That's what the _hyperlink class uses in the procedure (forgot the name) that gets the default browser.
The entry had been written to have the value of "IExplorer" - as...
I've been using the same hyperlink labels and buttons for a couple of years now in my VFP9 app - no changes to them and no need to change them. Suddenly, and unexpectedly, they are launching MS Internet Explorer even though IE is not now and has never been the default browser.
Oddly, it does...
Hey dbMark,
Nope. I just stuck a super-simple IF that says
IF LEN(ALLTRIM(m0tmpf1)) < 1
m0tmpf1 = "0"+ALLTRIM(m0custno)
ENDIF
Old School style.
But, I watch the the temp files that get created through the whole process and it never uses the custno - it always uses the name that was...
An update of sorts and thanks for all your suggestions!
OK, following the simplest path first, I put in an IF to see if the variable was populated (which should have thrown an error if it didn't exist or had been released or out of scope).
The variable always existed and it was always populated...
Thanks for the tips!
I discovered another quirky thing with it today - it fails to resolve the variable in the file name portion on the first couple of tries so the user ends up with the variable name as the file name - not good but works for some folks OK.
Then, later in the same code, it...
Thank you both! Always reliable and helpful are the two of you and it is greatly appreciated.
I have already done some of what Olaf is suggesting - checked carefully to make sure my variable is populated (and spelled correctly) - that's part of the puzzle that it creates the desired file name...
I have some very old code that has always used a "double macro" substitution for creating temporary files.
Now, in VFP9, I'm getting very different results from the same code that's been around for ages.
There's a lot of this but most all of it looks like this:
** Establish blank temporary...
Hello Mike - sorry I didn't give a better explanation of the "huge difference" the first time - my phone started ringing as I now have another serious issue with my app.
But, the difference was that the subsequent reports in the chain worked as you said in an earlier post:
PROMPT for the first...
OMG!
I cannot believe how I missed that! NOEJECT != NOPAGEEJECT
Thank you very much! I'm not done with this but that made a huge difference.
LESSON: when working with code originally developed in FoxPro 2.5...
Al
Thanks again, Mike!
I went back and commented out all the SET PRINTER stuff and just put the the "PROMPT" on the first of the chained reports - sure enough, the first report went to the printer I selected from "PROMPT" and all the others went to the Windows default printer.
UGH! This is a...
Thank you Mike.
I've already done that. In fact, I've read all of your articles and tried every tip you have posted. I've also read every article by Olaf and Mike Gannon and have been through all of those tips, tricks, hacks, strips, etc.
I know it's not the "save environment" thing because...
Hello,
I recently built my VFP7 app using VFP9 but I have not really begun the full migration project.
I can select the correct printer when using PROMPT but nothing seems to be able to "overcome" the Windows default printer when it comes to issuing my SET PRINTER commands. I've done hours...
Thank you all for your help. I still don't have this working but I've had to set this aside for a few weeks.
I MUST get this package working so, I'll be trying all your suggestions carefully and let you know if I have success.
I know lots of people use this package with ease and to great...
I've been working with XFRX for several days now - I have the commercial package (not source code). I have read and re-read all the documentation, all the info I can find on the web, etc. I have gone through every suggestion slowly and methodically but I'm missing "something" and I'm sure...
Dan - your points are well taken. Thanks for that!
My current situation with VFP is that I bought a company that built its products in VFP and there are about 750k lines of code and a couple of hundred DBF files involved in the systems.
I *used* to develop a lot in xBase (dBASE, Fox, Clipper)...
Thanks folks!
I've been researching these solutions for about 6 months now so I'm aware of what most of you are telling me. My question was more about the "how" than the "why". I don't know everything and the VFP front-end is where my experience is somewhat limited.
WRT the ODBC thing - I...
I've been trying to research using SQLite from a VFP9 front end. I've only found threads here discussing how to move data from SQLite into FoxPro.
I don't think MySQL (or any of the direct competitors) is a good fit for my applications since it seems to be too complicated to deploy and run for...
XFRX, from Eqeus - I bought it and found it very well documented, supported, and full of more features than I expect I'll ever use.
It's also pretty easy to implement.
I have included it in any production code yet but that's only because I just haven't had time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.