AW: AW: Check my wording on this and tell me if I'm right

2017-12-07 Thread Jürgen Wondzinski
Hi Mike,

>> I'm confused?
Yes you are. :)  

First:  The MS information. Use the horizontal slider bar at the bottom of the 
table listing to scroll to the left. The first column lists the Keys. The third 
column is the "Parent", the folder where those keys are. (Those tables are 
standardized format at MS documentation, and it could well be that several 
registry keys are in different places, thus the third column would then show 
different valus. In our case they are all at the same tree-node) 

Second: If those keys aren't present, then their internal default is used. But 
if they are present, then they take precedence over the defaults.  Thus just 
add those keys and life is good. Or use the mentioned installer to see those 
Keys and their Values to magically show up.
The installer just adds those three keys, and has the benefit to do a simple 
uninstall (thus reverting them back), if you're later on don't deed those 
settings anymore (because you changed to a ODBC/OLEDB dataprovider)

wOOdy




-Ursprüngliche Nachricht-
Von: ProFox [mailto:profox-boun...@leafe.com] Im Auftrag von 
mbsoftwaresoluti...@mbsoftwaresolutions.com
Gesendet: Freitag, 8. Dezember 2017 05:11
An: ProFox Email List 
Betreff: Re: AW: Check my wording on this and tell me if I'm right

On 2017-12-01 08:15, Jürgen Wondzinski wrote:
> The effect which Tracy mentioned (single network user is faster than
> multiple users), is only partly related to that topic, but mostly with 
> the
> dreaded Opportunistic Locking (or short "OpLock", which corrupts our 
> CDX and
> data). SMB2/3 (as a streaming protocol) holds a local buffer to 
> accomodate
> datastreams as well as OppLocks.  The common solution is to disable 
> that
> caching, which effectively kills the OpLocks problem. For that you have 
> to
> set three Registry Keys at the CLIENT, nothing to do at server side.  
> You
> can/should check for correct settings in your app at startup, but you
> (normally) can't change those settings on the fly, since you need Admin
> Rights for that. (Thus you'd better package those into your installer)
> https://technet.microsoft.com/en-us/library/ff686200%28WS.10%29.aspx


Hi wOOdy,

See here:  https://www.screencast.com/t/4tEaNq72

I don't see those 3 different settings (DirectoryCacheLifetime, 
FileNotFoundCacheLifetime, and FileInfoCacheLifetime) at all.  Plus, the 
middle column in the M$ page--those values all look the same:  
https://www.screencast.com/t/EErMmZ4z6r

I'm confused?

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/001e01d36ff4$73bdfa90$5b39efb0$@wondzinski.de
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Re: AW: Check my wording on this and tell me if I'm right

2017-12-07 Thread mbsoftwaresolutions

On 2017-12-01 08:15, Jürgen Wondzinski wrote:

The effect which Tracy mentioned (single network user is faster than
multiple users), is only partly related to that topic, but mostly with 
the
dreaded Opportunistic Locking (or short "OpLock", which corrupts our 
CDX and
data). SMB2/3 (as a streaming protocol) holds a local buffer to 
accomodate
datastreams as well as OppLocks.  The common solution is to disable 
that
caching, which effectively kills the OpLocks problem. For that you have 
to
set three Registry Keys at the CLIENT, nothing to do at server side.  
You

can/should check for correct settings in your app at startup, but you
(normally) can't change those settings on the fly, since you need Admin
Rights for that. (Thus you'd better package those into your installer)
https://technet.microsoft.com/en-us/library/ff686200%28WS.10%29.aspx



Hi wOOdy,

See here:  https://www.screencast.com/t/4tEaNq72

I don't see those 3 different settings (DirectoryCacheLifetime, 
FileNotFoundCacheLifetime, and FileInfoCacheLifetime) at all.  Plus, the 
middle column in the M$ page--those values all look the same:  
https://www.screencast.com/t/EErMmZ4z6r


I'm confused?

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/d9f1cc3a4d0033c3925d11e676f4d...@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

[NF] Client's workstation struggling (performance-wise)

2017-12-07 Thread mbsoftwaresolutions

(Sorry...forgot the [NF] subject prefix)

We're hooking her up with a new machine next week, but I was curious 
because her current/old pc is an upgrade from something to Windows 10 
Pro, and it stayed 32-bit, with 4GB of RAM, non-SSD hard drive.  
https://www.screencast.com/t/L5kB9hijhadn


According to M$, she's got more than enough:  
https://www.microsoft.com/en-us/windows/windows-10-specifications


Anyhoo...was just curious.  Like I said, she's getting a new machine 
next week.  Here's what she's getting:



Fanless Mini PCs

Intel NUC NUC7i3BNK Mini PC/HTPC
- Intel Dual-Core i3-7100U 2.4GHz
- 8GB DDR4
- 256GB SSD M.2 (faster than SATA SSD)
- Wifi, Bluetooth
- 4k Support, Dual Monitor Capable (HDMI & Mini DisplayPort 1.2)
- Windows 10 Professional
- 1x USB 3.1 Type-C, 4x USB 3.0
- 1x Headphone/Microphone Combo Jack


We've used many styles of fanless Mini-PCs before. Here are the
advantages I see:
- Small
- Less shipping
- No fans (fans collect dust, bearings go bad)
- M.2 PCIe 3.0 x4 storage is faster that SATA SSD
- No rotational drive
- Less heat
- Less power consumption
- External power supply can be replaced by the end user, by simply
  plugging in a new one, without having to disassemle the PC, plug in
  hard drives, motherboard, fans, etc...


I can't wait to see how much better it is.

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/4219827eaec50876e5598e58e3c6e...@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


[NF] Restart now or later?

2017-12-07 Thread Ted Roche
Windows is shipping new updates early this month. In the latest
"Windows 10 Fall Creators Edition Update" version, they now have a
pretty panel and call them "Feature Updates" rather than bug fixes,
but you know what that means.

Info on the Windows Security Site [1] seems to indicate it's a fix for
many of their security products. That, combined with the week-early
date, make me suspect something's in the wild they don't want people
to catch.

Word to the wise.

"Working on updates 0% Don't turn off your machine. This will take a
while" my machine tells me. Still. After a while.

Where do you want to go today?

[1] https://portal.msrc.microsoft.com/en-us/security-guidance

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cacw6n4tm7p7h7osyhj03rqx2hrzf82ydzd8gfwzynckc6ga...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: [NF] Free Windows 10 Book by Woody Leonhard

2017-12-07 Thread Ted Roche
Re: déshabillé -- had to look that one up ;)

On Thu, Dec 7, 2017 at 11:14 AM, Ken Dibble  wrote:
> Woody Leonhard of "Ask Woody" and "Woody on Windows" is my go-to guy for
> current information on the relative state of deshabille of various MS
> operating systems. Want to know what you're risking by leaving automatic
> updates on? He's the guy.
>
> He's also written a book on Windows 10, and his publisher is offering it as
> a free PDF download. You can find out how to get it here:
>
> https://www.askwoody.com/
>
> Ken Dibble
> www.stic-cil.org
>
>
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CACW6n4tLAx9z-=r96_zrtc0cwt6u++otxqn1ah5htavcwc7...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

RE: Issue with _cliptext

2017-12-07 Thread Dave Crozier
Correct... my bad!

Dave

-Original Message-
From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Fred Taylor
Sent: 07 December 2017 15:51
To: ProFox Email List 
Subject: Re: Issue with _cliptext

Dave,

For _VFP.DataToClip() aren't the options the third parameter?  Your code shows 
it as the second parameter.

ApplicationObject.DataToClip([nWorkArea | cTableAlias]
   [, nRecords] [, nClipFormat])


Fred

On Thu, Dec 7, 2017 at 6:22 AM, Dave Crozier  wrote:

> Funnily enough we also had an issue with the clipboard earlier in the 
> week when using DataToClip().
>
> When using date fields or datetime fields in the cursor, running 
> DataToCLip(,  ) whether Option is set to 1 or 3 (Space 
> delimited or tab delimited) and then pasting the clipboard into Excel, 
> dates really do screw up as some dates go in British style DD/MM/YY 
> and other dates get pasted in the American format MM/DD/YY regardless 
> of the display format selected.
>
> Solution:
> In the cursor you are copying into the clipboard, send "
> "+dtoc() as opposed to the datefield. Note that just using
> dtoc() produces exactly the same results as sending a date 
> field. All date fields then go into the spreadsheet as proper "Date" 
> values and are displayed correctly.
>
> Just a heads up in case anyone else is pasting into Excel.
>
> Dave
>
>
>
> -Original Message-
> From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Paul 
> Newton
> Sent: 07 December 2017 10:44
> To: profoxt...@leafe.com
> Subject: Issue with _cliptext
>
> Hi all
>
> If I run the following code
>
> = Adbobjects(laTables, 'Table')
> = Asort(laTables)
> _Cliptext = ""
> * The array has 365 rows
> For lnTable = 1 To Alen(laTables)
> Use (Right(Juststem(loData),1) + "_" + laTables(lnTable))
> _Cliptext = _Cliptext + Padr(laTables(lnTable),20) +
> Replicate(Chr(9),2) + Str(Reccount(),10,0) + Chr(13) Endfor ?
> MemLines(_Cliptext)
> * _Cliptext only has 357 lines
>
> But if I use a variable lcCliptext instead of _Cliptext all is well 
> (lcCliptext has 365 lines).  It is as if _Cliptext can't keep up ...
>
> Paul Newton
>
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/18725b8cd2d5d247873a2baf401d4ab2bea75...@ex2010-a-fpl.fpl.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


[NF] Free Windows 10 Book by Woody Leonhard

2017-12-07 Thread Ken Dibble
Woody Leonhard of "Ask Woody" and "Woody on Windows" is my go-to guy 
for current information on the relative state of deshabille of 
various MS operating systems. Want to know what you're risking by 
leaving automatic updates on? He's the guy.


He's also written a book on Windows 10, and his publisher is offering 
it as a free PDF download. You can find out how to get it here:


https://www.askwoody.com/

Ken Dibble
www.stic-cil.org


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: AW: 2 VFP sessions running; 1 hangs and so does the other

2017-12-07 Thread mbsoftwaresolutions

On 2017-12-06 14:14, Jürgen Wondzinski wrote:
"SingleThreaded" has nothing to do with running multiple instances on 
the

same box. It just means that each instance does use only one main
processor-command-pipe. Which isn't even the case with VFP9, which
technically uses at least 8 threads already. (see taskmanager/details  
and

add column "Threads")

Each VFP instance is completely isolated from another VFP instance, 
Windows
takes care of separating the memory and address-spaces for each task.  
You
can't just change a memory variable and hope that it would get picked 
up by

another VFP session.

On a higher level, "SingleThreaded" is mostly used as in "this software 
can
only do one job at a time", whereas "multithreaded" often get used as 
in

"does multiple tasks parallel"

In your case I suspect a deadlock at the FoxUser.dbf, which is used by 
both
instances at the same time, since both use the same config.fpw and 
settings.




Excellent...thanks, wOOdy!

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/5ad511ce98c5be9faee5f2680...@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Re: Issue with _cliptext

2017-12-07 Thread Fred Taylor
Dave,

For _VFP.DataToClip() aren't the options the third parameter?  Your code
shows it as the second parameter.

ApplicationObject.DataToClip([nWorkArea | cTableAlias]
   [, nRecords] [, nClipFormat])


Fred

On Thu, Dec 7, 2017 at 6:22 AM, Dave Crozier  wrote:

> Funnily enough we also had an issue with the clipboard earlier in the week
> when using DataToClip().
>
> When using date fields or datetime fields in the cursor, running
> DataToCLip(,  ) whether Option is set to 1 or 3 (Space
> delimited or tab delimited) and then pasting the clipboard into Excel,
> dates really do screw up as some dates go in British style DD/MM/YY and
> other dates get pasted in the American format MM/DD/YY regardless of the
> display format selected.
>
> Solution:
> In the cursor you are copying into the clipboard, send "
> "+dtoc() as opposed to the datefield. Note that just using
> dtoc() produces exactly the same results as sending a date
> field. All date fields then go into the spreadsheet as proper "Date" values
> and are displayed correctly.
>
> Just a heads up in case anyone else is pasting into Excel.
>
> Dave
>
>
>
> -Original Message-
> From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Paul Newton
> Sent: 07 December 2017 10:44
> To: profoxt...@leafe.com
> Subject: Issue with _cliptext
>
> Hi all
>
> If I run the following code
>
> = Adbobjects(laTables, 'Table')
> = Asort(laTables)
> _Cliptext = ""
> * The array has 365 rows
> For lnTable = 1 To Alen(laTables)
> Use (Right(Juststem(loData),1) + "_" + laTables(lnTable))
> _Cliptext = _Cliptext + Padr(laTables(lnTable),20) +
> Replicate(Chr(9),2) + Str(Reccount(),10,0) + Chr(13) Endfor ?
> MemLines(_Cliptext)
> * _Cliptext only has 357 lines
>
> But if I use a variable lcCliptext instead of _Cliptext all is well
> (lcCliptext has 365 lines).  It is as if _Cliptext can't keep up ...
>
> Paul Newton
>
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBksr8T=qmrqez4ev33keqf4kkeavktdhywtrbyrkk+dg...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


AW: Windows 10 Home edition (was Re: Listbox auto-magically filters unwanted characters)

2017-12-07 Thread Jürgen Wondzinski
Maybe you just need to go into settings / Region and language / and add the 
missing parts? Then if you have installed the language itself, then select that 
entry and choose options.   Unfortunately, in Win10 it's not that obvious (No 
visual clue) that this "Language list" is actually again clickable and then 
expanding the possible options.

wOOdy


-Ursprüngliche Nachricht-
Von: ProFox [mailto:profox-boun...@leafe.com] Im Auftrag von Man-wai Chang
Gesendet: Donnerstag, 7. Dezember 2017 15:05
An: ProFox Email List 
Betreff: Re: Windows 10 Home edition (was Re: Listbox auto-magically filters 
unwanted characters)

If you are only using US English in language settings, nothing would go bad. :)

But I noticed that some differences regarding Chinese Hong Kong
Language Pack between Home and Professional. It seemed that Win 10
Home didn't install Hong Kong's Supplementary Character Set. I didn't
noticed the same problem with my old Win 10 Professional install.

Maybe I did something wrong, needed a few more Win 10 clean installs
to verify. I needed to test more carefully.

On Wed, Dec 6, 2017 at 2:45 AM, Jürgen Wondzinski  wrote:
> ah that "I thought I heard"   How rumors are given birth.
>
> Nope, there's absolutely no difference between Windows Home and Windows Pro
> in regard of VFP9
>
>
> >
> > I thought I heard that Home edition didn't work as well with VFP apps.
> > Is that true?


-- 
 .~. Might, Courage, Vision. SINCERITY!
/ v \ 64-bit Fedora 25 Server Spin
/( _ )\ http://sites.google.com/site/changmw
^ ^ May the Force and farces be with you!

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/02bd01d36f6f$694e0490$3bea0db0$@wondzinski.de
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Re: Windows 10 Home edition (was Re: Listbox auto-magically filters unwanted characters)

2017-12-07 Thread Man-wai Chang
If you are only using US English in language settings, nothing would go bad. :)

But I noticed that some differences regarding Chinese Hong Kong
Language Pack between Home and Professional. It seemed that Win 10
Home didn't install Hong Kong's Supplementary Character Set. I didn't
noticed the same problem with my old Win 10 Professional install.

Maybe I did something wrong, needed a few more Win 10 clean installs
to verify. I needed to test more carefully.

On Wed, Dec 6, 2017 at 2:45 AM, Jürgen Wondzinski  wrote:
> ah that "I thought I heard"   How rumors are given birth.
>
> Nope, there's absolutely no difference between Windows Home and Windows Pro
> in regard of VFP9
>
>
> >
> > I thought I heard that Home edition didn't work as well with VFP apps.
> > Is that true?


-- 
 .~. Might, Courage, Vision. SINCERITY!
/ v \ 64-bit Fedora 25 Server Spin
/( _ )\ http://sites.google.com/site/changmw
^ ^ May the Force and farces be with you!

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAGv=mjbzud3g+tezaat5jbykv4wdr3a5n14co7vty98kacr...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

RE: Issue with _cliptext

2017-12-07 Thread Dave Crozier
Funnily enough we also had an issue with the clipboard earlier in the week when 
using DataToClip().

When using date fields or datetime fields in the cursor, running 
DataToCLip(,  ) whether Option is set to 1 or 3 (Space 
delimited or tab delimited) and then pasting the clipboard into Excel, dates 
really do screw up as some dates go in British style DD/MM/YY and other dates 
get pasted in the American format MM/DD/YY regardless of the display format 
selected. 

Solution:
In the cursor you are copying into the clipboard, send " "+dtoc() as 
opposed to the datefield. Note that just using dtoc() produces 
exactly the same results as sending a date field. All date fields then go into 
the spreadsheet as proper "Date" values and are displayed correctly.

Just a heads up in case anyone else is pasting into Excel.

Dave



-Original Message-
From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Paul Newton
Sent: 07 December 2017 10:44
To: profoxt...@leafe.com
Subject: Issue with _cliptext

Hi all

If I run the following code

= Adbobjects(laTables, 'Table')
= Asort(laTables)
_Cliptext = ""
* The array has 365 rows
For lnTable = 1 To Alen(laTables)
Use (Right(Juststem(loData),1) + "_" + laTables(lnTable))
_Cliptext = _Cliptext + Padr(laTables(lnTable),20) + 
Replicate(Chr(9),2) + Str(Reccount(),10,0) + Chr(13) Endfor ? 
MemLines(_Cliptext)
* _Cliptext only has 357 lines

But if I use a variable lcCliptext instead of _Cliptext all is well (lcCliptext 
has 365 lines).  It is as if _Cliptext can't keep up ...

Paul Newton

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/18725b8cd2d5d247873a2baf401d4ab2bea75...@ex2010-a-fpl.fpl.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: Issue with _cliptext

2017-12-07 Thread Paul Newton
That's what I found out ... thanks for the explanation/clarification wOOdy

Paul

-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Jürgen 
Wondzinski
Sent: 07 December 2017 11:23
To: profoxt...@leafe.com
Subject: AW: Issue with _cliptext

_cliptext is a pointer to the textpart of the Windows clipboard (which also has 
other representations available, like rtf or unicode). Thus if you mess mith 
_cliptext in a loop, you're triggering some background tasks.  It's better to 
use a local var for aggregating and then as a final step assign it to _cliptext.

wOOdy



[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/by2pr0201mb1797a443aaa1a40e53d0b692a1...@by2pr0201mb1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


AW: Issue with _cliptext

2017-12-07 Thread Jürgen Wondzinski
_cliptext is a pointer to the textpart of the Windows clipboard (which also
has other representations available, like rtf or unicode). Thus if you mess
mith _cliptext in a loop, you're triggering some background tasks.  It's
better to use a local var for aggregating and then as a final step assign it
to _cliptext.

wOOdy



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/021b01d36f4d$b4463020$1cd29060$@wondzinski.de
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: 2 VFP sessions running; 1 hangs and so does the other

2017-12-07 Thread John Weller
Thanks Ted, not available on Home - such is life, only curiosity  :-)

John

John Weller
01380 723235
07976 393631

> Also on Pro. What I did was:
> 
> Right-mouse click on the task bar and select "Task Manager"
> 
> Click the tab labeled "Details"
> 
> Click the column header of the table and select "Select Columns"
> 
> Tick the "Threads" checkbox



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/002201d36f4a$5c23f600$146be200$@johnweller.co.uk
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: 2 VFP sessions running; 1 hangs and so does the other

2017-12-07 Thread John Weller
Thanks Woody.

John

John Weller
01380 723235
07976 393631
> 
> Hi John,
> 
> Oh boy, what did I do? No, you can't add threads.  That's VFP internal,
some
> are used for the timer event, some for grids/browse   VFP itself is a
> single-job language: You start one program and it runs til the end. That's
it. If
> you call a subroutine, the main program stops until the subroutine is
finished.
> Single job, single thread.
> 
> We do have a "Multithread" runtime library: vfp9T.dll (T as in Thread),
which
> is especially useful for COM-Servers, which are called from several
threads of
> a webserver. It solves some issues with memory usage (since not every
> Web-Session starts a new VFP), but also brings in new problems because
> those user-sessions aren't completely independent.
> 
> What you may want to play with: ParallelFox on VFPX:
> https://github.com/VFPX/ParallelFox
> 
> It is basically an extension to span new VFP tasks from within your main
> program (called "worker threads") to do subroutines without halting the
> main program. Coordinating those routines and getting notified about thier
> finish is the complicated part, and that's what this library does quite
nicely.
> 
> wOOdy
> 


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/002301d36f4a$76c45e00$644d1a00$@johnweller.co.uk
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Issue with _cliptext

2017-12-07 Thread Paul Newton
Hi all

If I run the following code

= Adbobjects(laTables, 'Table')
= Asort(laTables)
_Cliptext = ""
* The array has 365 rows
For lnTable = 1 To Alen(laTables)
Use (Right(Juststem(loData),1) + "_" + laTables(lnTable))
_Cliptext = _Cliptext + Padr(laTables(lnTable),20) + 
Replicate(Chr(9),2) + Str(Reccount(),10,0) + Chr(13)
Endfor
? MemLines(_Cliptext)
* _Cliptext only has 357 lines

But if I use a variable lcCliptext instead of _Cliptext all is well (lcCliptext 
has 365 lines).  It is as if _Cliptext can't keep up ...

Paul Newton

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/by2pr0201mb179789a5e22ed6fd498defe8a1...@by2pr0201mb1797.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: BitDefender Doesn't Play Well With VFP

2017-12-07 Thread Alan Bourke
Since we're on the subject of AV I would recommend the free Sophos Home 

http://www.techradar.com/reviews/sophos-home



-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1512639580.2986918.1197035000.0e57f...@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.