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

Browser - Ever need VFP on a remote PC?

Status
Not open for further replies.

GriffMG

Programmer
Mar 4, 2002
6,333
FR
I often need to do something pretty simple on a machine that isn't mine or is on the other side of the planet... sometimes it would be nice to have VFP installed on that
machine, but it can't be for licensing reasons.

In the past I have had a really simple .exe that took optsions as command line parameters and enabled me to browse a table and make changes.

Today, while I was thinking about a problem (VP automation of Excel2010) I thought I would turn that .exe interactive.

It's quick, it's dirty, but it works.

You need to have the VFP9 runtimes installed on your remote PC - which I take to be a given, in view of the fact that you want to manipulate VFP tables - and all you have to do is either drop the .exe in the folder that the tables are in or use the command prompt to navigate there and then type the path to whereever you do put the .exe

Here is a link if you are interested.

executable:

zip:


Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
I can't get it to do anything, Griff. (?)
If I click on the folder icon it closes.

In that same vein, here's a little routine I compiled into an exe for testing stuff on another computer:

Code:
ON ERROR WAIT WINDOW MESSAGE()
SET ESCAPE OFF
ON ESCAPE USE
DO WHILE .T.
   STORE SPACE(125) TO cmd
   @ 0,0 GET cmd
   READ
   @ 1,0 SAY ''
   IF EMPTY(cmd)
      LOOP
   ENDIF
   IF UPPER(cmd) = 'QUIT'
      EXIT
   ENDIF
   EXECSCRIPT(cmd)
ENDDO
ON ERROR
CLOSE ALL 
QUIT


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
To click on the folder icon, I guess you have a list of tables displayed... so double click on the one of interest...

B-)

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
VFP comes with a per user license, not a per cpu/computer license, so you actually can take VFP with you or install it anywhere. It's true though, that the main user of another computer isn't licensed and thus you should only install temporary, if at all.

For example you can easily cope th VFP program folder on USB and it mainly works if you set file paths in the options.

In regard of your exe there already is a runtime command window like exe from Ed Leafe - vRunFox 9. See
Bye, Olaf.
 
Thanks Olaf

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
I've always used FoxBox, which I think I originally got from Kirtland Associates. It gives you a fully-functioning command window, plus a table browser and a few other bits.

But I haven't checked any other products, so I can't say how it compares.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top