Hey all,
I hope this is possible.
Is there a way to place a command to run VFP and open a table in the
shortcut?
i.e.
C:\VFP9\VFP.exe use f:\data\shipper.dbf
??
Thanks,
Philip
Author: MB Software Solutions, LLC
Posted: 2009-10-09 12:18:07 Link
Philip Borkholder wrote:
> Hey all,
> I hope this is possible.
> Is there a way to place a command to run VFP and open a table in the
> shortcut?
> i.e.
>
> C:\VFP9\VFP.exe use f:\data\shipper.dbf
>
> ??
Hi Philip,
You could use the config.fpw and put a command in there, iirc.
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
On Fri, Oct 9, 2009 at 11:45 AM, Lew <lew1716@gmail.com> wrote:
> On the windows dt, what happens if you drag a dbf =A0over your vfp icon
--------------
The fox licks it!
--=20
Stephen Russell
Sr. Production Systems Programmer
SQL Server DBA
Web and Winform Development
Independent Contractor
Memphis TN
901.246-0159
T24gdGhlIHdpbmRvd3MgZHQsIHdoYXQgaGFwcGVucyBpZiB5b3UgZHJhZyBhIGRiZiAgb3ZlciB5
b3VyIHZmcCBpY29uDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogUGhpbGlwIEJv
cmtob2xkZXIgPHBsYm9ya2VyQG5ldHplcm8ubmV0Pg0KRGF0ZTogRnJpLCAwOSBPY3QgMjAwOSAx
MjowNzozNiANClRvOiA8cHJvZm94dGVjaEBsZWFmZS5jb20+DQpTdWJqZWN0OiBTaG9ydGN1dCBD
b21tYW5kIGxpbmUgdG8gb3BlbiB0YWJsZQ0KDQpIZXkgYWxsLA0KSSBob3BlIHRoaXMgaXMgcG9z
c2libGUuDQpJcyB0aGVyZSBhIHdheSB0byBwbGFjZSBhIGNvbW1hbmQgdG8gcnVuIFZGUCBhbmQg
b3BlbiBhIHRhYmxlIGluIHRoZSANCnNob3J0Y3V0Pw0KaS5lLg0KDQpDOlxWRlA5XFZGUC5leGUg
IHVzZSBmOlxkYXRhXHNoaXBwZXIuZGJmDQoNCj8/DQoNClRoYW5rcywNClBoaWxpcA0KDQoNCl9f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpQb3N0IE1lc3Nh
Z2VzIHRvOiBQcm9Gb3hAbGVhZmUuY29tDQpTdWJzY3JpcHRpb24gTWFpbnRlbmFuY2U6IGh0dHA6
Ly9sZWFmZS5jb20vbWFpbG1hbi9saXN0aW5mby9wcm9mb3gNCk9ULWZyZWUgdmVyc2lvbiBvZiB0
aGlzIGxpc3Q6IGh0dHA6Ly9sZWFmZS5jb20vbWFpbG1hbi9saXN0aW5mby9wcm9mb3h0ZWNoDQpT
ZWFyY2hhYmxlIEFyY2hpdmU6IGh0dHA6Ly9sZWFmZS5jb20vYXJjaGl2ZXMvc2VhcmNoL3Byb2Zv
eA0KVGhpcyBtZXNzYWdlOiBodHRwOi8vbGVhZmUuY29tL2FyY2hpdmVzL2J5TUlEL3Byb2ZveC80
QUNGNUZDOC44MDYwNzA3QG5ldHplcm8ubmV0DQoqKiBBbGwgcG9zdGluZ3MsIHVubGVzcyBleHBs
aWNpdGx5IHN0YXRlZCBvdGhlcndpc2UsIGFyZSB0aGUgb3BpbmlvbnMgb2YgdGhlIGF1dGhvciwg
YW5kIGRvIG5vdCBjb25zdGl0dXRlIGxlZ2FsIG9yIG1lZGljYWwgYWR2aWNlLiBUaGlzIHN0YXRl
bWVudCBpcyBhZGRlZCB0byB0aGUgbWVzc2FnZXMgZm9yIHRob3NlIGxhd3llcnMgd2hvIGFyZSB0
b28gc3R1cGlkIHRvIHNlZSB0aGUgb2J2aW91cy4NCg0KDQpSZXBvcnQgW09UXSBBYnVzZTogaHR0
cDovL2xlYWZlLmNvbS9yZXBvcnRBYnVzZS80QUNGNUZDOC44MDYwNzA3QG5ldHplcm8ubmV0DQo=
Philip,
I'm not sure if this is what you want but from Windows Explorer, you can =
right click the table you want to open and "create shortcut." This will
work if the PC is setup to open dbf files with VFP.
Joe Yoder
On Friday, October 09, 2009 12:07 PM, Philip Borkholder wrote:
>
>Date: Fri, 09 Oct 2009 12:07:36 -0400
>From: Philip Borkholder
>To: profoxtech@leafe.com
>cc:
>Subject: Shortcut Command line to open table
>
>Hey all,
>I hope this is possible.
>Is there a way to place a command to run VFP and open a table in the
>shortcut?
>i.e.
>
>C:\VFP9\VFP.exe use f:\data\shipper.dbf
>
>??
>
>Thanks,
>Philip
>
>
[excessive quoting removed by server]
OK Stephen - you made me laugh my butt off on that one! And, I actually =
do it without making noise (so I won't disturb the other programmers =
around me) - and that's a difficult feat in and of itself!
:-)
So - Thanks for the laugh!!!
-K-
-----Original Message-----
From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] =
On Behalf Of Stephen Russell
Sent: Friday, October 09, 2009 12:40 PM
On Fri, Oct 9, 2009 at 11:45 AM, Lew <lew1716@gmail.com> wrote:
> On the windows dt, what happens if you drag a dbf =A0over your vfp =
icon
--------------
The fox licks it!
--=20
Stephen Russell
Well, from the prompt:
start mydbf.dbf
will start the application associated with DBF, i.e. VFP, with the DBF
open.
So that would work in a batch file run by a shortcut too, one presumes.
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm