Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cfsjohn

    Can I specify port for InternetConnect

    Here is my method used to do what we are talking about. The CASE tctransfer_acct_vendor_name=="IFS" is the particular code we are talking about: LPARAMETERS tcfiletoupload,tcftp_edv_host,tcftp_edv_userid,tcftp_edv_pw,tctransfer_acct_vendor_name LOCAL lcfiletouploadnopath,llretval,llsuccess &&...
  2. cfsjohn

    Can I specify port for InternetConnect

    Chris, I am not using InternetOpenA. I have never used that command. The command that I am using is InternetOpen and that is working just fine. I have been using the code I posted in my original post for at least 10 years. It works flawlessly. The only thing different is that I have never had...
  3. cfsjohn

    Can I specify port for InternetConnect

    Tried that. It still returns 0. I tried it with the port number (parameter 3) set to 0 and with it being set to 24160. Neither worked, John
  4. cfsjohn

    Can I specify port for InternetConnect

    InternetOpen returns a handle. It is in m.hInternet. lchost contains the ip. lcuserid contains my userid. lcpw contains my password. Can I tell InternetConnect to use port number 24160 by simply passing that value like: hConnection = InternetConnect(m.hInternet, lchost,24160,lcuserid, lcpw, 1...
  5. cfsjohn

    How do I use a particular version of a prg?

    Thanks Chris, Well your solution is the SMART solution albeit, yes I do dread it. It would be a much better world if I just suck it up and get that done. I'll set down that path. Thanks and have a good day, John
  6. cfsjohn

    How do I use a particular version of a prg?

    I use west-wind web connection libraries a lot. I have some programs that are many years old and that use older versions of some of west-wind's prg's. I am writing a new program. It must use the latest version of a few of the west-wind prg's. So that I do not adversely effect those older...
  7. cfsjohn

    Consume XML from a REST API

    I use Rick's Web Connection extensively. I am in the process of developing a website (no Foxpro) and using WC to write the foxpro business object so the website can access my VFP database. Basically the website is just the front end. I also read and downloaded the vfpx XML project (Thank you...
  8. cfsjohn

    Consume XML from a REST API

    Chris, I am not one to critique people that hang out on these forums and try to help others because I stay so busy that I have almost no time to do so. Having said that I do want to tell everyone that if they pay attention to detail and actually really really read the questions the way that you...
  9. cfsjohn

    Consume XML from a REST API

    I am acessing a REST API. It returns XML. I am trying to put that XML into a VFP9/foxpro cursor. I have never done this before. I call the service passing it a request in XML format. No problems with that part. lcXmlResult = loHttp.Post("http://10.81.1.22:4081/DataExchange/REST", lcXml...
  10. cfsjohn

    why is subquery inside iif effecting results?

    Chris, You are correct on 2 fronts. I really can't understand why "this idea is not working out" but that will have to wait for another day so don't be shocked to see me ask this again in a few years :-) With regard to 2 child forms, you are showing wisdom. Yes, that is what I should have done...
  11. cfsjohn

    why is subquery inside iif effecting results?

    Chris, You are correct that setting vp_lexcluderemoved=.t. does not work either. As long as the subquery is in the iif, it does not work irrespective anything else. If you take the subquery out and replace the subquery with .t. or .f. everything works as it should. With regard to using 2...
  12. cfsjohn

    why is subquery inside iif effecting results?

    Chris and Mike, Thanks. The 1st parameter of both iif's are really view parameters. I had set them to false just to simplify my examples. Here is the real view: SELECT Pl_dscs.cid; FROM itfwarehouse!pl_dscs; INNER JOIN itfwarehouse!nonbaggedsys_descs ON Pl_dscs.cnonbaggedsys_descs_id =...
  13. cfsjohn

    why is subquery inside iif effecting results?

    3 example queries: SELECT Pl_dscs.cid; FROM itfwarehouse!pl_dscs; INNER JOIN itfwarehouse!nonbaggedsys_descs ON Pl_dscs.cnonbaggedsys_descs_id = nonbaggedsys_descs.cid; WHERE PL_dscs.cnonbaggedsys_descs_id = lcnbsdcid AND; iif(.f.,pl_dscs.ldiscontinued=.f.,.t.) AND; iif(.f.,.t.,.t.) INTO...
  14. cfsjohn

    Open a jpg, mod jpg, close and save jpg

    Not a problem. Hope your injury is not too bad. Take your time, John
  15. cfsjohn

    External monitor stops working - Winkey+Ctrl+Shift+B fixes

    I love Tek-tips. I have used the Visual FoxPro forum for many years. The experts are sooooo very helpful. BUT, for several years I have steered clear of clicking a googled solution where the solution is on Tek-Tips website. Why? 90% of the time when I access Tek-Tips, my laptop screen and my...
  16. cfsjohn

    Open a jpg, mod jpg, close and save jpg

    Hi Rick and thanks for the offer. As I will have hundreds of these image files generated daily, I believe it would be a good idea to do whatever I can that would reduce the size of the files. Your tool sounds like it could help me accomplish that so Yes, I am interested. Thanks, John
  17. cfsjohn

    Open a jpg, mod jpg, close and save jpg

    Chriss, Olaf is correct. Sometimes I can't see the forest for the trees. I modified the height and width ratio so it is 3 x as wide as it is tall and I move the control to background and VOILA! Success! Thank you so much, John
  18. cfsjohn

    Open a jpg, mod jpg, close and save jpg

    and here is a picture of how that printed on my receipt.https://files.engineering.com/getfile.aspx?folder=0ab32797-d623-4c6e-bae5-378ce4fc72f7&file=IMG_0120.jpg
  19. cfsjohn

    Open a jpg, mod jpg, close and save jpg

    Here is a screenshot of my report with the bigger control.https://files.engineering.com/getfile.aspx?folder=392d1b6e-2411-4c72-a296-2df65f7e91fa&file=screenprint2.jpg
  20. cfsjohn

    Open a jpg, mod jpg, close and save jpg

    Maybe it only allows 1 file to be uploaded. here is the signature I describedhttps://files.engineering.com/getfile.aspx?folder=0eb5929e-2718-4e1c-b341-95395b0dec8e&file=00598942.jpg

Part and Inventory Search

Back
Top