Information générale
Catégorie:
Applications Internet
Don,
I think you can do pretty much everything you want to do using either XMLHTTP or WinHttpRequest (both accessible via COM interface from within VFP). I prefer XMLHTTP (MSXML) because with it, it's quite easy to post form data as well as perform HTTP gets. This is pretty much all you need to drive a VFP app via HTTP server-side connectivity. There are some older API functions (e.g., something like InternetReadFile, etc) but I think they are pretty much obsolete. A nice thing about XMLHTTP is that its syntax/use translates pretty much seamlessly to browser-side javascript for AJAX-like things you might want to do.
Let me just give many thanks to Rick Strahl for his white papers and overall generosity with his expertise. He has helped a lot of VFP web developers, including me, and I like to give his work a thumbs up every chance I get.
>Can an application which is installed on a users PC as an EXE, access and interact with data that is made available on a web server? I know I can access internet data with asp pages and a COM server built as a dll, but can I get to the data using a traditional EXE, and if so how?
>
>Thanks
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement