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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote connection within VFP

Status
Not open for further replies.

1010ash1957

Programmer
Jan 25, 2007
22
HK
Is there any way to connect via internet to a Remote PC within VFP application to support customer's. Please advise ?

Ash
 
The answer is yes. But involves coding and permissions set on the customers server/computer. Please elaborate on why and what you want to do.
If you merely want fix a bug or update with your latest exe and they are running XP, have them send you a “Remote Assistance” request.
If you “freely” connect to their machine without permission it could lead to more headaches than its worth.
 
Ash,

You don't say whether you just want access to the customer's data, or you want to run the entire application.

For the former, you can use the normal SQL pass-through functions (especially SQLEXEC()), specifying the IP address in the ODBC setup. If the database does not have an up-to-date ODBC driver (as is the case with recent versions of VFP), use a cursoradapter with an OLE DB provider.

If you want to actually run the app, you can use XP's remote dekstop, or any third-party equivalent, such as PC Anywhere. Obviously, you'll need the customer's co-operation in setting it up.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Mike/Imaginecorp/Mgagnon

I am looking for two solutions..
1. connect customer remote PC or server (windows 2000 ot Windows 2003 or XP) and open vfp to modify report or modify database stru etc.

2. connect and run the application on the client Pc similar to Termial Server or remote desktop?

Pl advise.

Thanks/Ash
 
Ash,

It does rather sound as if you need to use Remote Desktop/Terminal Services (Or any of a number of other similar utilities - PC Anywhere, etc.)

The first thing you will need is an account with permissions that allow you to access the customer's machine via T/S and you will need permissions to run the app.

Modifying the app may be a little difficult if your customer does not have VFP installed on that machine.

You could use a VPN connection into your customer's computer to modify the app. You will need an account with DialIn permission on the customer's machine to do this. Be advised - modifying an app on the customer's machine via VPN is fantastically slow but it can be done. You are probably better off modifying it on your machine and then you can simply upload the resulting report/exe, etc. (Doing it this way, the customer does not need to have VFP installed on his machine.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top