Re: [OT] Mandela sings kill all white

2013-12-11 Thread Adam Buckland
It¹d be interesting if we could find out what that terrorist George Washington sung about when he was aspiring to freedom? On 11/12/2013 04:28, Nicholas Geti ng...@optonline.net wrote: See this early video showing Mandel singing hatred but preaching love and peace.

Re: [OT] Mandela sings kill all white

2013-12-11 Thread Jean Laeremans
Do a search on youtube ? s A+ jml On Wed, Dec 11, 2013 at 11:31 AM, Adam Buckland adam.buckl...@eurohill.comwrote: It¹d be interesting if we could find out what that terrorist George Washington sung about when he was aspiring to freedom? On 11/12/2013 04:28, Nicholas Geti

Need CRC-16 Visual FoxPro Code

2013-12-11 Thread Wes Wilson
VFP9 coding for a standard ANSI CRC-16 hash calculation.  CRC = Cyclic Redundancy Check.   The algorithm has to: 1)      accept a plain text string as input a.      in this case, the plain text has a minimum length of 15 characters 2)      compute ANSI CRC-16 Hash of the input using the standard

Re: Need CRC-16 Visual FoxPro Code

2013-12-11 Thread Alan Bourke
Check out 'SYS(2017) - Record Checksum Value' in the VFP9 help. You can make it do CRC-16 instead of the default CRC-32 by passing the appropriate parameter. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance:

RE: Need CRC-16 Visual FoxPro Code

2013-12-11 Thread Paul Newton
Or Sys(2007) which accepts a character string as a parameter ... -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Alan Bourke Sent: 11 December 2013 13:52 To: profoxt...@leafe.com Subject: Re: Need CRC-16 Visual FoxPro Code Check out 'SYS(2017) -

RE: Need CRC-16 Visual FoxPro Code

2013-12-11 Thread Dave Crozier
... or even: http://fox.wikis.com/wc.dll?Wiki~CRC16 Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Wes Wilson Sent: 11 December 2013 13:48 To: profox@leafe.com Subject: Need CRC-16 Visual FoxPro Code VFP9 coding for a standard ANSI CRC-16 hash

Re: writemethod

2013-12-11 Thread Thierry Nivelet
Rafael, You might want to try using BindEvent() ... modify command cmgBindEvent * == local o as cmgBindEvent o = CreateObject('cmgBindEvent', 5) o.Buttons[2].click o.Buttons[3].click * == define class cmgBindEvent as

Re: [OT] Mandela sings kill all white

2013-12-11 Thread Ricardo Aráoz
El 11/12/13 01:28, Nicholas Geti escribió: See this early video showing Mandel singing hatred but preaching love and peace. http://patriotupdate.com/2013/12/mandela-sings-kill-whites/ WO TERRIBLE! And I'm certain he has farted in public too. Do you have a video of him torturing

Re: [OT] Mandela sings kill all white

2013-12-11 Thread Stephen Russell
On Wed, Dec 11, 2013 at 4:36 AM, Jean Laeremans laeremans.jeanma...@gmail.com wrote: Do a search on youtube ? s - Over a dozen. How does Google do it? Bad Stephen! -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell --- StripMime Report --

RE: Closing a Grid's Form Cleanly

2013-12-11 Thread Gene Wirchenko
At 15:31 2013-12-10, Tracy Pearson tr...@powerchurch.com wrote: [snip] Have you seen the ReleaseType property of a form? I'm not sure if it will help. I have just gotten on Foxite and someone there suggested it, too. Yes, it works. Thanks. Sincerely, Gene Wirchenko

Last minute XMas shopping? Consider Hentzenwerke books!

2013-12-11 Thread Ted Roche
You'd think I got paid to plug this stuff, but the sad truth is, no. Stumped on how to prop up that monitor? HackFox 7 to the rescue! Tired of explaining how to be a world-class consultant? Hand them copies of Software Developer Guide. Need to automate office? It's in there. Need to know What's

[NF] Just saw a webinar for Twitter Bootstrap and really liked it.

2013-12-11 Thread Stephen Russell
They will post the show on youtube soon. This is .NET group but this is all UI control via js css . Check it out if you are having problems in making UI display the way you want to. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell --- StripMime Report

How to kill a class

2013-12-11 Thread Jeff Johnson
I'm kind of drawing a blank here. I have a custom class that does an import from sql server to vfp. If it creates and error, I can't seem to figure out how to immediately exit the class to I can check the error. I have to way for it to finish or offer a three finger discount to kill it.

Re: [NF] Just saw a webinar for Twitter Bootstrap and really liked it.

2013-12-11 Thread Paul Hill
On 11 December 2013 20:44, Stephen Russell srussell...@gmail.com wrote: They will post the show on youtube soon. This is .NET group but this is all UI control via js css . I've been looking at bootstrap for some time. Definately going to use it for my next .NET project. I will be using

Re: How to kill a class

2013-12-11 Thread Dan Covill
Hi, Jeff Maybe I'm losing my marbles (no 'maybe', my wife would say!), but you're not in a 'class', you're in an object that is an instance of the class. So isn't the answer this.release()? Dan On 12/11/13 01:34 PM, Jeff Johnson wrote: I'm kind of drawing a blank here. I have a custom

Re: [NF] Just saw a webinar for Twitter Bootstrap and really liked it.

2013-12-11 Thread Stephen Russell
On Wed, Dec 11, 2013 at 3:45 PM, Paul Hill paulroberth...@gmail.com wrote: On 11 December 2013 20:44, Stephen Russell srussell...@gmail.com wrote: They will post the show on youtube soon. This is .NET group but this is all UI control via js css . I've been looking at bootstrap for some

Re: How to kill a class

2013-12-11 Thread Stephen Russell
On Wed, Dec 11, 2013 at 3:34 PM, Jeff Johnson j...@san-dc.com wrote: I'm kind of drawing a blank here. I have a custom class that does an import from sql server to vfp. If it creates and error, I can't seem to figure out how to immediately exit the class to I can check the error. I have to

Re: How to kill a class

2013-12-11 Thread Jeff Johnson
You are correct, but the instance of a custom class does not have a release method. Thanks, Jeff Jeff Johnson SanDC, Inc. (623)-582-0323 www.san-dc.com http://www.san-dc.com www.cremationtracker.com http://www.cremationtracker.com www.arelationshipmanager.com

Re: How to kill a class

2013-12-11 Thread Jeff Johnson
I guess I did not make myself clear. I have an import object. It has no interface and is based on a custom class. It opens tables, does queries on sql server tables and then populates the tables and runs as a server so to speak. It does the import every 10 minutes. I have been using this

Re: set order

2013-12-11 Thread John R. Sowden
On 12/06/2013 06:15 PM, John R. Sowden wrote: On 12/06/2013 04:22 PM, Dan Covill wrote: Allen, Gene W. has it right. This is an old problem. When you have an index set, modifying a field that's part of the index expression changes where the modified record appears in the order. It's one

RE: How to kill a class

2013-12-11 Thread Richard Kaye
How are you creating the instance in your top level form? Is the object part of the form or being added in method code at runtime? There is an error method in the custom base class. Any code in there to handle when the thing blows up? Quick and dirty; put a SUSPEND in the error method. Then

Re: How to kill a class

2013-12-11 Thread Fred Taylor
Maybe use TRY/CATCH and handle the error? Fred On Wed, Dec 11, 2013 at 3:12 PM, Jeff Johnson j...@san-dc.com wrote: I guess I did not make myself clear. I have an import object. It has no interface and is based on a custom class. It opens tables, does queries on sql server tables and

Re: How to kill a class

2013-12-11 Thread Rafael Copquin
Check Help on RELEASING OBJECTS and related I usually do something like this: do form myform name oForm linked do things with the oForm object properties and then oForm.release oForm = NULL Of course that applies to a form, thus the call to the release method. For another object do

Re: writemethod

2013-12-11 Thread Rafael Copquin
That is a good idea! I'm going to try it and let you know Thank you Rafael Copquin El 11/12/2013 11:12, Thierry Nivelet escribió: Rafael, You might want to try using BindEvent() ... modify command cmgBindEvent * == local o as cmgBindEvent o =

Re: How to kill a class

2013-12-11 Thread Stephen Russell
On Wed, Dec 11, 2013 at 4:40 PM, Fred Taylor fbtay...@gmail.com wrote: Maybe use TRY/CATCH and handle the error? --- You should be able to identify what you want in the catch in VFP I believe. In .NET catch (SqlException se) { String errorwas = se.Message; var InMessage

RE: How to kill a class

2013-12-11 Thread Tracy Pearson
Jeff Johnson wrote on 2013-12-11: I guess I did not make myself clear. I have an import object. It has no interface and is based on a custom class. It opens tables, does queries on sql server tables and then populates the tables and runs as a server so to speak. It does the import

Re: writemethod

2013-12-11 Thread Rafael Copquin
Yes sir!!! I tested it and it works! Thanks again Rafael Copquin El 11/12/2013 19:47, Rafael Copquin escribió: That is a good idea! I'm going to try it and let you know Thank you Rafael Copquin El 11/12/2013 11:12, Thierry Nivelet escribió: Rafael, You might want to try using BindEvent() ...

RE: set order

2013-12-11 Thread Allen
To be honest I did not see the original question. Probably because it's on the end of a long unclipped email. I often ignore them if they go below what I can see on the screen. Al -Original Message- Haven't heard a response to my question. Am I offending you vfp'er with my fpdos

Re: set order

2013-12-11 Thread Dan Covill
John: In VFP, when I enter edit mode I do a 'scatter name = obefore', and on leaving edit mode I do a 'scatter name = oafter', then test 'if compobj(obefore, oafter)'. Works a charm. If I had to do that today in FPDOS, I'd simply write procs to emulate the 'scatter' and 'compobj' functions.

Re: set order

2013-12-11 Thread John R. Sowden
On 12/11/2013 04:13 PM, Dan Covill wrote: John: In VFP, when I enter edit mode I do a 'scatter name = obefore', and on leaving edit mode I do a 'scatter name = oafter', then test 'if compobj(obefore, oafter)'. Works a charm. If I had to do that today in FPDOS, I'd simply write procs to

Windows System Menu in My Custom Menu

2013-12-11 Thread Christina Bull
Can not believe how long I've spent on this already and it's probably easy! I have a custom menu that I've built using menu designer - works a treat and has for years. I now want to add a new menu item - the Window one that is part of the system menu. Really just want them to be able to

RE: Windows System Menu in My Custom Menu

2013-12-11 Thread Richard Kaye
It's a bit kludgy but the best way to do this after your menu is already created is to make a new menu and use the quick menu option. Copy the bits you want from the Windows pad in your temp dummy menu to your real menu. (You can only use the quick menu option in the initial creation.) -- rk

Re: Windows System Menu in My Custom Menu

2013-12-11 Thread Ken Dibble
I now want to add a new menu item - the Window one that is part of the system menu. Really just want them to be able to see a list of open windows and possibly have option to cascade them. I don't want the other stuff (data session, command window etc.) Here's what I do: After you generate

Re: [OT] Mandela sings kill all white

2013-12-11 Thread Nicholas Geti
The Communist is at it again. Always turning the argument around. It is ok for us if others do it too. My wife does the same thing; if I complain about someone's behavior she says well you do it to or others do it. As if that justifies the behavior in the first place. In any case, one is a hero

Re: [OT] Mandela sings kill all white

2013-12-11 Thread Ricardo Aráoz
Nicky, Nicky, Nicky... If you have wifey troubles don't bring'em here matey. I understand now, your wife has you under her boot and you react by trying to appear xtra macho. It's ok matey, we understand. But please, politics has nothing to do with how your wife runs her household. -

Re: writemethod

2013-12-11 Thread Thierry Nivelet
Great, In fact there's an even more simple solution: using CommandGroup.Value You can use the Value property of a CommandGroup or OptionGroup control to determine which button in the group triggers an event. The Value property is set to an integer that indicates which button in the group