This line was the problem:
oXMLHTTP.Open("POST", sHyperCaster + sCMbyFN + fnMedia, .f.)
POST needs to be GET. For some reason, the older servers did not seem to mind.
oXMLHTTP.Open("GET", sHyperCaster + sCMbyFN + fnMedia, .f.)
Found out that...
"..if you give a man a fish he is hungry...
The new servers did not get new IPs. The IP is correct.
The title not found I believe is referring to the "CHURCH_ADBC_20230122.mov" from the fnMedia = "CHURCH_ADBC_20230122.mov" not being found. But I have confirmed that is on there. And if I take the combination of those variables...
Hello,
A vendor I work with upgraded a few of their servers we use and now a VFP program that connects to it via its APIs has started erroring.
This code use to work.
**** HyperCaster API Info
sHyperCaster = "http://192.168.14.235/"
sADDFolder = "content_api"
sCMbyFN =...
Arial is not missing. See attached image.
"..if you give a man a fish he is hungry again in an hour. If you teach him to catch a fish you do him a good turn."
-- Anne Isabella Thackeray Ritchie.
I am only seeing this with VFP and I have double checked my scaling and font settings for Windows. Everything is at 100%. I even tried changing the font in Windows and that did not change the tabs in Tools | Options or the status bar of VFP.
This is a fresh install of VFP.
"..if you give a...
Chriss,
I am not seeing Windows scaling any of the fonts. They are set to 100%.
Thanks,
Jasonn....
"..if you give a man a fish he is hungry again in an hour. If you teach him to catch a fish you do him a good turn."
-- Anne Isabella Thackeray Ritchie.
Mike, thanks for the info and confirmation, but unfortunately I do not have any backup copies of those FOXUSER files to restore/copy from. So, I am trying to figure out how to change the settings in VFP and then I'll make new backup copies and store them somewhere no man will ever be able to...
Our IS Dept had to rebuild both of my computers and now VFP's IDE windows look terrible. The fonts are too big/wrong for the tabs as well as for browsing tables.
I remember whenever we would install a new PC, there were some configuration files (FOXUSER.DBF...) we would copy over but it has...
I am trying to see if I can get VFP 9 to work with the SQL API in Elasticsearch. I have only a limited experience with VFP and APIs so any help/advice would be appreciated.
"..if you give a man a fish he is hungry again in an hour. If you teach him to catch a fish you do him a good turn."...
Understood. Much thanks, again.
"..if you give a man a fish he is hungry again in an hour. If you teach him to catch a fish you do him a good turn."
-- Anne Isabella Thackeray Ritchie.
Learn something new everyday!
I have those three project folder in a more central location, instead of directly in this project's folder, and atlopes's code (from this thread) is working for me, now.
What other projects are required other than those three you mentioned?
"..if you give a man a...
atlopes,
I'm willing to download all that is needed, just not sure where it goes.
In the "C:\Program Files (x86)\Microsoft Visual FoxPro 9\" folder?
Or in the folder of my program, X:\VFPPrograms\CheckGeoCodes\?
X:\VFPPrograms\CheckGeoCodes\overHere-master\...
atlopes,
Trying to test the code you supplied. Getting the error "RG is not an object" on this line:
m.RG.Proximity.Set(43.9454, -90.7956)
Sure I've missed something, but do not know what. I have downloaded the following PRGs to the same folder:
- here_api.prg
- reverse.prg
- geocode.prg...
First off, thanks to all for the responses. They have all been most helpful.
I got to the point to where I did not think I would be able to use my NEWS table to do a reverse lookup of the Lat and Long, but also know I am not the best at math so just wanted to ask.
The suggestions for the...
I am trying to find the best method in VFP to check a given set of latitude and longitude coordinates.
Starting simple and just want to confirm that a set is in a given US state. And so far I have a table of the northern and southern latitude points and the eastern and western longitude...
- Since the index is compound by default, then yes. When I run that INDEX ON command, I get that "Invalid Key Length" error. And yes, this is a lot of fields to use but it is what I need.
- Okay, what would be a better idea?
- MACHINE
- I will test this. Always thought you needed the...
How can I make that index a compound index?
"..if you give a man a fish he is hungry again in an hour. If you teach him to catch a fish you do him a good turn."
-- Anne Isabella Thackeray Ritchie.
I need to mark records in one table that are considered duplicates of another table, but the five fields that determine the duplicate are too large to put into one index. I get "Invalid Key Length" when I try.
INDEX ON...
Mike,
Yes, working on that.
Atlopes,
Very interesting. Much thanks. Will study that.
Jason...
"..if you give a man a fish he is hungry again in an hour. If you teach him to catch a fish you do him a good turn."
-- Anne Isabella Thackeray Ritchie.
I am trying to avoid having a long list of STRTRAN()'s for each entry and try to come up with something more general. That, or have some sort of "spell check" table.
That FOR .. ENDFOR loop looks promising. But a problem would be when a title is like "A New Little Store". I do not want to...
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.