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

Making VFP Application Portable

Status
Not open for further replies.

LotusE

Programmer
Nov 22, 2002
25
BE
Hello,

Maybe a stupid question (I already searched this forum but couldn't find an answer): is it possible to make my stand-alone VFP application portable?

In other words: can I put it on a USB drive and run it from another machine WITHOUT first having to install some dll's or other files on the other machine?

Or should I look for an other programming language to do this?

Thanks in advance!

Cheers

Steve
 
You can quite easily make a VFP app portable like this.

All you have to do is include all the .dll files in the sam folder on the memory stick as the application is in.

There are, however, a couple of gotchas;

Firstly, you will need to be a bit wary of using data environments to help you with temporary files - as they probably don't want to be on the memory stick.

Secondly, the stick itself is subject to a couple of gotchas! It will come up as different drive letters in different machines and sometimes the drive letter chosen may conflict with a permanent drive mapping to a network.

Lastly, setting up shortcuts is problematic - they need an identifiable path to be created - and that makes for difficulties when you don't know the path to you app! (which you can't because it might be on F: today or J: tomorrow!).


Regards

Griff
Keep [Smile]ing
 
Hello GriffMG,

Thanks for your answers and your tips. I'm already glad that I can run my usb application from a stick.

As for shortcuts: I won't be creating them, so that shouldn't be a problem.

The data environment will probably pose a problem. Perhaps I can run with flat files. My app won't really rely on a database.

Thanks again for the answers!

Cheers

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top