I've developed an application use VP6. Users are using a VPN with cable
and DSL. They say it runs a little slow. The application is loaded on the
local machine and it looks to the server across the network for the data. Is
there anything I should have done or could have done to make processing the
information quicker.
Note I developed the application use all free tables.

Rusty G

Re: Virtual Private Networks and VP6 by Edhy

Edhy
Mon Feb 14 00:21:51 CST 2005

This is a multi-part message in MIME format.

------=_NextPart_000_0081_01C51233.8FC14FD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Rusty G.

a.. You can modify the application to use Local Views to try to speed =
up some forms. =20
b.. Make sure you have all the proper indexes required by your =
business rule.
c.. If possible, convert the application to use MySQL, MSDE or SQL =
Server Express 2005 (Beta 2) with Remote Views, this will definitely =
increase the application data processing by just transferring the data =
needed by the user in the current form, instead of loading the whole =
data into memory with VFP tables.=20
--=20
Edhy Rijo
www.progytech.com
Bronx NY


"Rusty G" <ogallo@columbus.rr.com> wrote in message =
news:x7VPd.39509$i42.16600@fe1.columbus.rr.com...
> I've developed an application use VP6. Users are using a VPN with =
cable=20
> and DSL. They say it runs a little slow. The application is loaded on =
the=20
> local machine and it looks to the server across the network for the =
data. Is=20
> there anything I should have done or could have done to make =
processing the=20
> information quicker.
> Note I developed the application use all free tables.
>=20
> Rusty G
>=20
>
------=_NextPart_000_0081_01C51233.8FC14FD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi Rusty G.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<UL>
<LI><FONT face=3DArial size=3D2>You can modify the application to use =
Local Views=20
to try to speed up some forms.&nbsp; </FONT></LI>
<LI><FONT face=3DArial size=3D2>Make sure you have all the proper =
indexes required=20
by your business rule.</FONT></LI>
<LI><FONT face=3DArial size=3D2>If possible, convert the application =
to use MySQL,=20
MSDE or SQL Server Express 2005 (Beta 2) with Remote Views, this=20
will&nbsp;definitely increase the application data processing by=20
just&nbsp;transferring the&nbsp;data needed by the user in the current =
form,=20
instead of loading the&nbsp;whole data into memory with&nbsp;VFP=20
tables.&nbsp;</FONT></LI></UL>
<DIV><FONT face=3DArial size=3D2>-- <BR>Edhy Rijo<BR></FONT><A=20
href=3D"http://www.progytech.com"><FONT face=3DArial=20
size=3D2>www.progytech.com</FONT></A><BR><FONT face=3DArial =
size=3D2>Bronx=20
NY</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"Rusty G" &lt;</FONT><A=20
href=3D"mailto:ogallo@columbus.rr.com"><FONT face=3DArial=20
size=3D2>ogallo@columbus.rr.com</FONT></A><FONT face=3DArial =
size=3D2>&gt; wrote in=20
message </FONT><A =
href=3D"news:x7VPd.39509$i42.16600@fe1.columbus.rr.com"><FONT=20
face=3DArial =
size=3D2>news:x7VPd.39509$i42.16600@fe1.columbus.rr.com</FONT></A><FONT=20
face=3DArial size=3D2>...</FONT></DIV><FONT face=3DArial =
size=3D2>&gt;&nbsp;&nbsp;&nbsp;=20
I've developed an application use VP6. Users are using a VPN with cable =
<BR>&gt;=20
and DSL. They say it runs a little slow. The application is loaded on =
the=20
<BR>&gt; local machine and it looks to the server across the network for =
the=20
data. Is <BR>&gt; there anything I should have done or could have done =
to make=20
processing the <BR>&gt; information quicker.<BR>&gt;&nbsp;&nbsp;&nbsp; =
Note I=20
developed the application use all free tables.<BR>&gt; <BR>&gt; Rusty =
G<BR>&gt;=20
<BR>&gt;</FONT></BODY></HTML>

------=_NextPart_000_0081_01C51233.8FC14FD0--


Re: Virtual Private Networks and VP6 by Wolfgang

Wolfgang
Mon Feb 14 12:24:13 CST 2005

Hi Rusty!

I think one problem is that VFP loads all CDX in memory. So if you have big
indexes the app seem to be slow at least if the table is used or a SEEK or
LOCATE command is executed for the first time
So I would suggest to use a client server architicture for apps which are
connected over DSL or something like that. You may use MSDE or the SQL
Server or a Terminalserver based Solution.

--
----------------------------------------------

Mit freundlichen Grüßen

Wolfgang Schmale



--------------------------------------------
"Rusty G" <ogallo@columbus.rr.com> schrieb im Newsbeitrag
news:x7VPd.39509$i42.16600@fe1.columbus.rr.com...
> I've developed an application use VP6. Users are using a VPN with cable
> and DSL. They say it runs a little slow. The application is loaded on the
> local machine and it looks to the server across the network for the data.
> Is there anything I should have done or could have done to make processing
> the information quicker.
> Note I developed the application use all free tables.
>
> Rusty G
>
>



Re: Virtual Private Networks and VP6 by Fred

Fred
Mon Feb 14 19:27:24 CST 2005

No, it doesn't load all the CDX into memory, but it might have to read the
entire CDX over the link. There's your slow part.

--
Fred
Microsoft Visual FoxPro MVP


"Wolfgang Schmale" <Spamkocher@strang.lt> wrote in message
news:uyjRkJsEFHA.1836@tk2msftngp13.phx.gbl...
> Hi Rusty!
>
> I think one problem is that VFP loads all CDX in memory. So if you have
> big indexes the app seem to be slow at least if the table is used or a
> SEEK or LOCATE command is executed for the first time
> So I would suggest to use a client server architicture for apps which are
> connected over DSL or something like that. You may use MSDE or the SQL
> Server or a Terminalserver based Solution.
>
> --
> ----------------------------------------------
>
> Mit freundlichen Grüßen
>
> Wolfgang Schmale
>
>
>
> --------------------------------------------
> "Rusty G" <ogallo@columbus.rr.com> schrieb im Newsbeitrag
> news:x7VPd.39509$i42.16600@fe1.columbus.rr.com...
>> I've developed an application use VP6. Users are using a VPN with
>> cable and DSL. They say it runs a little slow. The application is loaded
>> on the local machine and it looks to the server across the network for
>> the data. Is there anything I should have done or could have done to make
>> processing the information quicker.
>> Note I developed the application use all free tables.
>>
>> Rusty G
>>
>>
>
>



Re: Virtual Private Networks and VP6 by lemmebe

lemmebe
Mon Feb 14 19:30:43 CST 2005

On Mon, 14 Feb 2005 03:43:25 GMT, "Rusty G" <ogallo@columbus.rr.com> wrote:

You might give some thought to putting everything on the server and having
the users access it with Terminal Server (ideally using a Citrix server).
It'll run like it's all local.

> I've developed an application use VP6. Users are using a VPN with cable
>and DSL. They say it runs a little slow. The application is loaded on the
>local machine and it looks to the server across the network for the data. Is
>there anything I should have done or could have done to make processing the
>information quicker.
> Note I developed the application use all free tables.
>
>Rusty G
>

My real address is alan at sprint dot ca
(with a 'p' on 'alan' making it 'alanp',
and no spaces). I'm sick of email spam.

Re: Virtual Private Networks and VP6 by Dan

Dan
Tue Feb 15 11:37:44 CST 2005

Any file-based database like VFP will be slow over a VPN.

We have remote users who have VPN connections to the office LAN, but they
also have access through Terminal Services for times when they need to
access a VFP app or VSS. (To name a few.)

I'd switch to terminal services if I were you.

Dan

Rusty G wrote:
> I've developed an application use VP6. Users are using a VPN with
> cable and DSL. They say it runs a little slow. The application is
> loaded on the local machine and it looks to the server across the
> network for the data. Is there anything I should have done or could
> have done to make processing the information quicker.
> Note I developed the application use all free tables.
>
> Rusty G



Re: Virtual Private Networks and VP6 by Dennis

Dennis
Wed Feb 16 12:38:02 CST 2005

On Tue, 15 Feb 2005 09:37:44 -0800 in
microsoft.public.fox.programmer.exchange, "Dan Freeman"
<spam@microsoft.com> wrote:

> I'd switch to terminal services if I were you.
>
From my experience PC Anywhere works much better.

At least on a VPN you can direct printing to your local printer
even if you are running the program on a remote PC.


Dennis P. Harris, Property Manager
Wright Services, Inc.
5454 Shaune Drive, Juneau, AK 99801-9539
(907) 780-5454
wright.jnumgr@alaska.com

Re: Virtual Private Networks and VP6 by Cyrus

Cyrus
Wed Feb 16 19:55:09 CST 2005

Dennis P. Harris wrote:
> On Tue, 15 Feb 2005 09:37:44 -0800 in
> microsoft.public.fox.programmer.exchange, "Dan Freeman"
> <spam@microsoft.com> wrote:
>
>
>>I'd switch to terminal services if I were you.
>>
>
> From my experience PC Anywhere works much better.
>
> At least on a VPN you can direct printing to your local printer
> even if you are running the program on a remote PC.
>
>
> Dennis P. Harris, Property Manager
> Wright Services, Inc.
> 5454 Shaune Drive, Juneau, AK 99801-9539
> (907) 780-5454
> wright.jnumgr@alaska.com

Terminal services does that. You may need to make sure the driver is
on the server, but it does a reasonable job. I have not found a printer
I coudn't get to work but have found an easier way for servers with lots
of users.

--
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com