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 Mike Lewis 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

    RDP with no HDD

    Chris, I'm not going to tell you I understand all of what you said but I was able to understand enough to use getenv("appdata"). I have that working BUT, now I have run into something I failed to consider. Any user should be able to connect to our cloud server and run our app from any...
  2. cfsjohn

    RDP with no HDD

    Chris, I believe we are getting dangerously close to a solution, but not there yet. Thank you for your help. When setting up a workstation to access my app, step 1 is to create a folder on the users local C drive named C:\Reports (it's actually something like C:\MyAppsHomeDirectory\Reports but...
  3. cfsjohn

    RDP with no HDD

    Chris, I believe I understand enough to be able to ask the question. My VFP app needs to be able to read from, and write to, some location on the client. My customer is telling me that location should be %appdata% My app allows user to generate reports that are saved as pdf's on the client...
  4. cfsjohn

    RDP with no HDD

    I agree that Piotr has made me think about something. I know that I can and always add this line to the rdp file that runs my app: drivestoredirect:s:C:\; and I am sure I can add additional drive letters like drivestoredirect:s:C:\;D:\; etc Now I need to go back to the IT personnel at my new...
  5. cfsjohn

    RDP with no HDD

    I have a VFP9 app written with framework Visual FoxExpress. My app uses a native VFP database. Over 200 tables and over 2000 views. Basically an accounting app with Point-Of-Sale features. I have many companies using my app. Each company has it's own instance of my app that resides on one of...
  6. 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 &&...
  7. 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...
  8. 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
  9. 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...
  10. 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
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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 =...
  18. 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...
  19. cfsjohn

    Open a jpg, mod jpg, close and save jpg

    Not a problem. Hope your injury is not too bad. Take your time, John
  20. 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...

Part and Inventory Search

Back
Top