Conditionally BOLD a report value

2006-11-15 Thread Derek Kalweit
Hello. We have a need to conditionally make a report value bold. We have about 100 fields that might be bold. In the past, we've done a work-around that I hate of duplicating all the fields-- one for normal, and one for bold, and putting the appropriate condition/not condition in the print when's o

Re: [NF] : email I got from GoDaddy

2006-12-05 Thread Derek Kalweit
> > 1) You setup an auto forwarder from your domain to your AOL email > > account ([EMAIL PROTECTED] -> [EMAIL PROTECTED]). 2) Your customers send > > emails to [EMAIL PROTECTED] and the emails gets forwarded to > > [EMAIL PROTECTED] 3) One day you receive some spam at [EMAIL PROTECTED], > > which

Re: [NF] 2007 Daylight Savings Time

2006-12-19 Thread Derek Kalweit
> I use AtomicClock to hit the US Naval Observatory's time server. From there > I use "NET TIME \\InternalServerName /set /yes" in a batch file, fired off > via Windows Scheduler, and point the Client PCs to the internal Server. > That way I only chew up Internet bandwidth for one mahcine, and lev

ARG Command Bars and Common Control Libraries

2007-01-24 Thread Derek Kalweit
Hello. Is anyone actively using ARG-Software's Command Bar and/or Common Control libraries? http://www.arg.kirov.ru/products/cmdbars/ I downloaded them last night and tried them out, and they seem to work quite well and provide the ability for me to add some visual eye-candy to what would otherwi

Re: ARG Command Bars and Common Control Libraries

2007-01-24 Thread Derek Kalweit
> I don't use all the features ... I use it mainly as a menu replacement. > http://www.rocketcomputerservices.com/argbars2.jpg Looks good. I see you're an UltraMon user as well(buttons on the upper right portion of the window). I love that program, but I find those buttons to be limited in use(spr

Re: ARG Command Bars and Common Control Libraries

2007-01-24 Thread Derek Kalweit
Thanks for everyone's commenting on this library. I will likely purchase, but I'll wait as long as I can so I can get the best out of my trial period plus the 30-day subscription period(I can't justify $100 more for a year's worth of upgrades-- $20-30 probably, but not $100). Anyone try ARG's comm

Re: ARG Command Bars and Common Control Libraries

2007-01-25 Thread Derek Kalweit
> I love UltraMon. It works great on my 3 19inch monitors ... What sort of video card setup do you have to run the 3 monitors? I currently have 2 17" Sony LCD's that I'm using, but have a spare 17" Dell LCD that I could hook up as a 3rd monitor. I originally tried to put a Matrox PCI card into my

Re: [NF] Need ideas for a shopping cart

2007-01-25 Thread Derek Kalweit
> I've been meaning to take this one for a spin, see if I could get it > configured. > > http://oscommerce.com/ I found ZenCart to be more robust in features than OS Commerce: http://www.zencart.com/ Both products looked decent, but I found I was wasting a lot of time trying to make it work more

Re: [NF] Synaptics Touchpads are THE WORK OF BEELZEBUB.

2007-01-25 Thread Derek Kalweit
> Always hated them, always will. For many reasons, including not being > able to disable them completely, to their tendency to freak out and > start clicking and moving the mouse cursor if you so much as glance at > them. > > So there I am, on a customer's site with my laptop, looking at their > s

Re: [NF] Trimming posts is vastly more important than top posting for Digest readers

2007-01-25 Thread Derek Kalweit
> >3. Re: ARG Command Bars and Common Control Libraries (Derek Kalweit) > >7. Re: [NF] Need ideas for a shopping cart (Derek Kalweit) > Digest readers will get to scroll past all the legacy drek you don't > bother to trim. > > For us trimming posts is v

Re: [NF] Trimming posts is vastly more important than top posting for Digest readers

2007-01-25 Thread Derek Kalweit
> We've already spent space in the archives on bottom vs. top posting. > I'm sorry I brought it up now! (Notice the text below--lol!) It's really quite senseless if you use something like Gmail that collapses quoted text anyways-- particularly bottom-quoted. It leaves the specifically quoted stuf

Re: [NF] XP- Home or Pro

2007-01-26 Thread Derek Kalweit
> >If you're using XP home as a peer to peer network, > >then only 5 total users may be attached to your > >computer. That is yourself and 4 others. > > > >With XP Pro you're allowed 10 users to be attached. > What do you mean by "attached"? This would be defined by Microsoft. Each time you conn

Re: [NF] Trimming posts is vastly more important than top posting for Digest readers

2007-01-26 Thread Derek Kalweit
> Let's argue about tabs vs whitespace again. Tabs are white-space. And far superior for prefixing text than spaces... Now if only some applications defaulted to a more appropriate 2 or 4-space tab length instead of the out-rageous 8 I see in some applications... -- Derek

Re: [NF] Trimming posts is vastly more important than top posting for Digest readers

2007-01-26 Thread Derek Kalweit
> I agree. > Now aren't you glad I didn't quote anything? Now everyone thinks you agree with them..unless they know you. :) -- Derek ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-fre

Re: VFP9 faster than VFP8?

2007-01-31 Thread Derek Kalweit
> I can't answer the specific question, but I recently took an app from V7 > to V9, and the users are all claiming about a 30% speed increase in > overall performance. Do you use objects? If so, that's why. Calvin changed something from VFP7->VFP8 with how objects are handled. In VFP7 and earlier,

Re: [NF] New mini computers

2007-01-31 Thread Derek Kalweit
> Was watching "Live with Regis and Kelly" just now (while working on some > code of course!) and the tech guy was demonstrating the new mini PCs > running a full Windows operating system. > > Even though Foxpro wasn't able to be run on handhelds in the earlier > days, with the advancement/evolutio

Re: [NF] Drive partition size

2007-01-31 Thread Derek Kalweit
> > Is there a "recommended" drive size for the "C" drive in a partitioned hard > > drive? > > It depends on what you're going to use the box for and what/how much > you're going to install on it. I'd personally say don't bother partitioning-- just use one large partition. I've seen pretty much no

Re: [NF] Drive partition size

2007-01-31 Thread Derek Kalweit
> One advantage of a small Windows partition is that it's easier to backup. > > My C drive is only 10Gb and it's about 50% full. Only Windows and > Program files live on C, any data (pictures, mp3s etc) live on D, > which is 140Gb. > > I can easily boot from a USB stick and burn a Ghost image to D

Re: [NF] Drive partition size

2007-01-31 Thread Derek Kalweit
> > without the bloat of a 'used' Windows install... > If you take the image immediately after the initial install and setting up > there is no bloat and the image can be used to reduce bloat by restoring it. But then it doesn't have any applications or windows updates, at which point, what's the

Re: VFP9 faster than VFP8?

2007-02-01 Thread Derek Kalweit
> > Didn't he grab some "how to" from the .NET team? > > > I think you meant to say... > > Didn't he write some "how to' for the .NET team? My guess is he just fixed code written by some intern. Who would ever think it's OK to store anything in a linear linked list like that... -- Derek _

Re: What do I use in place of MSDE?

2007-02-01 Thread Derek Kalweit
> If the app is running sluggish and screen refreshing seems slow, then > it is probably a .NET app. Or a VFP app written by a poor coder that doesn't know how to optimize the GUI. I really don't understand all the .NET bashing. We all know and have agreed it's not as much the tools as the progr

Re: What do I use in place of MSDE?

2007-02-01 Thread Derek Kalweit
> > I'm personally not a fan of .NET as a tool so much, but I'm not so > > close-minded and arrogant to think I can do something about it by > > refusing to install their little framework, or bitch about it on an > > anti-.NET list like this. Just let the frickin' thing install-- what's > > it hurt

Re: What do I use in place of MSDE?

2007-02-02 Thread Derek Kalweit
> > We all know and have > > agreed it's not as much the tools as the programmers using those tools > > that distinguish the good software from the bad. > > Well I would disagree on that. Really? The programmer isn't more important than the tool? > > I'm personally not a fan of .NET as a tool so

Re: Re: What do I use in place of MSDE?

2007-02-02 Thread Derek Kalweit
> > The programmer didn't know about form properties, so in order to > > maintain access to variables through the running of a form, he used > > globals that he then very conscientiously cleaned up afterward. > Why is that? I occasionally wonder if we must *toddle* before we walk > let alone run.

Re: Buffer overrins & stuff

2007-02-05 Thread Derek Kalweit
> Still having this problem. I'm using Ed's setmemory utility, but nothing > seems to help. Has anyone noticed a correlation between dual core cpu's > remote ms sql connections, amount of memory ... etc... Stuff like this > or anything else? I've turned my Symantec av off for all the VFP file > typ

Re: Buffer overrins & stuff

2007-02-05 Thread Derek Kalweit
> I guess, unfortunately, just stuff. It doesn't seem to happen at any > particular time, it just happens whenever. (The actual message you see > come from the c++ library: "Buffer overrun detected." When you say it comes from the c++ library, what exactly does that mean? It is still the VFP proce

Re: Buffer overrins & stuff

2007-02-05 Thread Derek Kalweit
>No, it isn't a native VFP error. VFP is written in MS c++ so the > undelying libraries have MS c++ error messages. When a pointer > references a memory location outside of the space allocated for vfp, c++ > generates this error. It's a boiler plate message; it never changes and > it never

Re: [NF] A major step in the right direction - ebooks

2007-02-05 Thread Derek Kalweit
> Oh, and if you could call your friends and take pictures, that'd be > great too. > > http://www.teleread.org/blog/?p=6153 > > We _are_ getting close, folks. The physical design looks just like the "Global"'s from Gene Rodenberry's "Earth: Final Conflict" that was syndicated on TV a few years bac

Re: Buffer overruns & stuff

2007-02-06 Thread Derek Kalweit
> The problem predates SetMemory(), there are no other api calls. This is > XP pro. I haven't tested the difference between app's vs exe's. I'm > using apps for now, but a standalone exe is in the near future. I'll try > to see if there's a particular place or routine that blows up today, but > I d

Re: Buffer overruns & stuff

2007-02-06 Thread Derek Kalweit
> delibretate and otherwise, during development. Plus, for reasons I don't > understand, my manager keeps the connection code secret. Is there such a Maybe he wrote a time bomb? What sort of application is this? Does it run un-attended? If it's attended, what are you, as the user, doing at the ti

Re: Buffer overruns & stuff

2007-02-07 Thread Derek Kalweit
> Totally unattended. It reads data from it's source, parses it and stores > it as fast as the hard/software combo will allow. Absolutely no user > input. Time bomb or messy code wouldn't surprise me at all. What is the 'source' and 'destination'? I'm assuming one is MSSQL, but what's the other? Y

Re: Buffer overruns & stuff

2007-02-07 Thread Derek Kalweit
> The source is a VFP cursor created by querying an MSSQL db. My app reads > from & parses the data in the cursor into native VFP tables stored > locally. There's no user interface. Crash about every 15min. If it's that re-creatable, then it's time to start adding trace code, IMO-- to find where t

Re: Buffer overruns & stuff

2007-02-08 Thread Derek Kalweit
> I wouldn't bother writing such a system ("which I plan to do for my next > projects") since I already have one that works quite well. Let me know if you > are interested. It gets around many of the issues with using the debugger and > works well if you accidentally leave the code in your applic

Re: More buffer overrun: 2 specific cases

2007-02-08 Thread Derek Kalweit
> I've isolated two related conditions that immediately precede this > error. The both occur when my on error ... handler routine starts up and > either the error() function returns 0 but message() returns a valid > message for the condition that caused the error or the other way around, > ie error

Re: More buffer overrun: 2 specific cases

2007-02-08 Thread Derek Kalweit
> This *may* have been a case of copying a table back & forth without > including the index. Other than that, I'm not sure. It's only happened > once or twice. What does your field validation rule do? If it's unattended, why do you have it as a field validation rule instead of simply validating in

building-- how to tell it NOT to regenerate component ID's

2007-02-13 Thread Derek Kalweit
Hello. Our build machine here uses a build script/wizard that issues BUILD EXE and BUILD MTDLL commands to build projects. The build machine's registry, however, keeps bloating due to VFP re-generating component ID's(prog id/clsid stuff for COM objects) every time. This is obviously a problem, as W

Re: building-- how to tell it NOT to regenerate component ID's

2007-02-13 Thread Derek Kalweit
> See the help file for the "build method". There is a flag for not > regenerating the ids. Ah-- it looks like I can use this if I re-do the way the build works to do a 'modify project ... nowait' and then use the build method on the project. Better than a bloating registry I guess. Thanks. --

Re: Recommended Icon/Graphics Libraries Free or Commercial

2007-02-14 Thread Derek Kalweit
> I'm not much of an artist and would really like to start jazzing up > some of my apps with icons / graphics. The problem is I don't really > know where to get nice looking graphics to include. The ones included > with VFP look unprofessional, as do many of the freebies I've found on the > net.

Re: Recommended Icon/Graphics Libraries Free or Commercial

2007-02-14 Thread Derek Kalweit
> I have collected over the years some 2400+ icons. > I have them in a zipped folder and will email it to you if you wish. Are these all royalty free? If so, I think a number of us would be interested-- I know I would... Thanks. -- Derek ___ Post Me

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> > > I don't know about the rest of what he says, not having tried it yet, but: FWIW, I tried it for about 20min in a virtual machine, and I think he was pretty kind. I hated the blasted thing. My limited opinion on it stands that Vista

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> Everyone hated XP when it came out as well, because things had been > moved from where they were in 2000, so that in itself doesn't bother me. Many people I know are still on W2K due to what MS did with XP(primarily activation hassles). Vista promises to make even more hassles. Maybe even worse

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> > Vista will take a LONG time for mainstream adoption, just as Windows > > XP did, but I think it'll be even longer this time. > I think you're right, as there is much less of a compelling reason to go > from XP SP2 to Vista than there was from 2k to XP. I was thinking that when I wrote this co

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> > I'll keep that quote in mind the next time someone says that Linux > > will never catch on, since things aren't in exactly the same place as > > what they're used to in Windows. > That's probably the least of the hurdles facing it on the corporate desktop! The #1 reason, obviously being

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> I was thinking that when I wrote this comment, but it's hard for me to > think of any specific reasons XP is better than W2K... Only a few > ideas come to mind: > > o new 'look and feel'/themes > o Easy Alternate IP configuration for NIC's(useful for laptops) > o ClearType fonts > o Better ha

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> > Far superior to the alternatives, in practice, I've > > found. UltraVNC is more likely to crash my host computer and performs > > poorly over slow links > Check out LogMeIn.com, with their free version. I finally let guilt get the > best of me and licesned 5 Pro versions, but I still have alm

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> I agree with all except the multiple monitors, I have multiple monitors on > Win2K - no problem. If you have trouble, it is probably due to the driver. > You may be able to get an upgrade. I haven't tried multiple monitors on W2K, so it's probably better now, yes. I tried to load a 3rd monitor t

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> > Ah-- just remembered the #1 reason to go to WINXP Pro from > > W2K Pro-- Remote Desktop. Far superior to the alternatives, > > in practice, I've found. UltraVNC is more likely to crash my > > host computer and performs poorly over slow links > FWIW, I'm using UltraVNC just about daily, includi

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> trouble down the road. Well, will have to take it a machine at a time, > and maybe try Remote Desktop again (with a simpler cable > modem->router->PC setup) when/if I do run into trouble with UltraVNC on > some other machine. A modem->router->router->PC setup should work as long as the outside r

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-14 Thread Derek Kalweit
> Not knowing your environment, version of PCA, etc., I can't say why you are > having such issues. I am running versions on some client PCs as hosts as > far back as v-8.0, most are now 10.5-12.5. Yet all work fine with my VPN > connections on several of my PCs. I am running v-10 - v-12.5 on my

Re: [NF] Vista, all it's CRAPPED up to be

2007-02-15 Thread Derek Kalweit
> It's more stable when compared to my experience with XPSP2. I log 60+ hours > a week on the same PC running Vista that used to run XP, and Vista doesn't > crash or hang nearly as often. I pretty much never have my XP or W2K boxes crash unless I have driver or overheating problems. Are you doing

Re: NF - Time breakdown of modern Web projects

2007-02-15 Thread Derek Kalweit
> NF in an OT'ish sort of way > > http://humor.beecy.net/geeks/web-design/web-design.gif > > Oh, how true! Almost true, except that the big piece should be getting it to work in Firefox... Or maybe more correctly, your secondary browser, period. -- Derek __

Re: [NF] Entire SysInternals suite in one download.

2007-02-16 Thread Derek Kalweit
> Well, depends on your job. Process Monitor helps me out at least twice a > month. Only twice a month? I have it 'replace task manager' and use it daily. Seeing processes in a logical tree is the most important every-day feature, but being able to see TCP/IP connections for processes, performance

Re: [NF] Entire SysInternals suite in one download.

2007-02-16 Thread Derek Kalweit
> Used File Monitor yesterday to find our why one of our web services > was accessing the floppy drive every 5 seconds! Let me guess-- your SET PATH setting? -- Derek ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/

Re: Problem in IDE with builds after testing

2007-02-16 Thread Derek Kalweit
> I get this error many times after I'm debugging my EXE: > > Object file c:\dev\mbss.exe is in use and cannot be removed from memory. > > I have to issue a CLEAR RESOURCES command before it will let me rebuild. > > What's causing this? Never had this happen before (at least not in > recent me

Re: Problem in IDE with builds after testing

2007-02-16 Thread Derek Kalweit
> >> I get this error many times after I'm debugging my EXE: > >> > >> Object file c:\dev\mbss.exe is in use and cannot be removed from > >> memory. > >> > >> I have to issue a CLEAR RESOURCES command before it will let me rebuild. > >> > >> What's causing this? Never had this happen before (

Re: Modal forms don't work from Top Level Form?

2007-02-16 Thread Derek Kalweit
> Am I missing something obvious? > > I have a non modal TLF (Top Level Form), ie, ShowWindow Property = 2 > and I am calling a 2nd MODAL TLF Form from it via a button click. I > put a messagebox() right after the call to DO FORM to see when VFP > executes that line. Since the form is modal, it sho

Re: Modal forms don't work from Top Level Form?

2007-02-16 Thread Derek Kalweit
> Thanks for the quick response Derek. I've checked everything you > mentioned, and it still happens. I forgot to mention that the 2nd > form *does* appear, but the code immediately after it's DO FORM is > launched right after... so no wait state occurs. > > Any other ideas? Try doing a DO FORM NA

Re: Modal forms don't work from Top Level Form?

2007-02-16 Thread Derek Kalweit
> Doesn't help, and in fact, after changing to your recommended > settings it now no longer works at all in any situation, prg, exe > from vfp, exe from explorer. Well, at least now it's consistent. :) > Check the docs for ShowWindow-- you're setting both to 2-- as top level. An as top level form

Re: VFP tip: thisform.Lockscreen

2007-02-20 Thread Derek Kalweit
> "LockScreen speeds native VFP updates* --*- set THISFORM.LockScreen True > before updating or refreshing the form, then LockScreen False when all > changes are completed. FoxPro repaints the screen once instead of many > times, actually speeding up the application. This also provides a > psycholo

Re: VFP tip: thisform.Lockscreen

2007-02-20 Thread Derek Kalweit
> > Note that the API function needs to be defined ahead of time: > > > > DECLARE INTEGER LockWindowUpdate IN user32 INTEGER hWndLock > Cool! What's your preference of where you'd declare that? I declared it in load event of the one form I had to implement this in, as init wasn't soon enough. It

Re: [NF] Specs for developer workstation in 2007

2007-02-20 Thread Derek Kalweit
> I'd love to put my own machine together as it'd be a neat experience > (and not hell, I hope!) but my worry is something said long ago: Dell, > Gateway, and the big dogs know what parts work well together due to all > of their R&D work in best configuration, and little ol' me doesn't know > thes

Re: [NF] Specs for developer workstation in 2007

2007-02-20 Thread Derek Kalweit
> I now use NewEgg most of the time. > I like to build my own dev machines because I like to pick the > top-of-the-line components. Same here(2x). > Asus motherboards are bulletproof. (my current system has been running > since early 2003 without ANY problems whatsoever) Eh. I wouldn't say bul

Re: [NF] Specs for developer workstation in 2007

2007-02-20 Thread Derek Kalweit
> 3. qty 2, 22 inch lcd screens, Viewsonic VG2230WM or equivalent - see I second that. I just bought one of this model screen and have a 17" Sony as my secondary, and I really love this Viewsonic wide screen. The wide screen aspect is very nice in VFP, as you can have your property sheet docked to

Re: [NF] Specs for developer workstation in 2007

2007-02-21 Thread Derek Kalweit
> > .NET and VM's? > > Dual Core and 2GB RAM are a must. > PC manufacturers/sellers are sure happy about this requirement, I'll > bet. Makes their sales #s go up. If software didn't drive hardware upgrades, we'd have no reason to upgrade from our XT's... -- Derek __

Re: [NF] MailWasher...

2007-02-23 Thread Derek Kalweit
> I had a friend asking if I had any pro or con comments about MailWasher... > > A free spam blocker that also bounces back e-mails > http://www.mailwasher.net/index.php > > As I don't, I was wondering if anyone here does. IMO, bouncing spam is a bad choice. It puts un-due stress on mail systems o

Re: sql server connection

2007-02-26 Thread Derek Kalweit
> > When connection to SQL server is using Windows authentification just as > > secure as using sql server authentification? What are the advantages of > > each one? > With Windows auth you need to have a valid domain login already set up, > with SQL auth you just need a username and password. Y

Re: sql server connection

2007-02-26 Thread Derek Kalweit
> > So I would assume that if you want to connect from a web site you should > > use sql auth because you do not want to assume the user is using > > windows. > Well, you could set up a special user on the Windows side that just has > access to the relevant SQL data, can't log on to a desktop sess

Re: VFP9 - Finding Where a Class is Used

2007-02-27 Thread Derek Kalweit
> > Suppose I have a class "ge_chk". How would I generate a list of all the > > forms that contain this class? > Open the project in Code References and search for 'ge_chk' Why is it that VFP's own code references search tool is so much slower than our own code search tools(Ed's TS, my own search

Re: VFP9 - Finding Where a Class is Used

2007-02-27 Thread Derek Kalweit
> > Why is it that VFP's own code references search tool is so much slower > > than our own code search tools(Ed's TS, my own search.prg, etc.)? The > > results browsing interface is nice in VFP9's search tool, but the > > performance is pathetic-- it takes up to a minute to search for > > somethin

rebuilding quickly for IIS-loaded COM objects/web services

2007-02-27 Thread Derek Kalweit
Hi. Usually when I develop COM objects/web services in VFP, I have to do an 'iisreset' before each build, as IIS holds on to the VFP COM object. I found a quicker solution to this that can easily put in a quick prg along with the build commands-- or use a project hook: * replace 'virtualdir' with

Re: How to Copy (not move) Directory, Subdirectories and all files with FoxPro

2007-03-01 Thread Derek Kalweit
> Trying to Copy a Directory, all subdirectories and all files with VFP. > I haven't found an API for this. > > Any suggestions will be greatly appreciated I don't think there's a VFP built-in function or a win32 function for this, but you could use VBScript's File System Object to easily do this:

Re: Report generation/preview slowness on fastest machine!

2007-03-01 Thread Derek Kalweit
> On our 2+ old laptop (2.4Ghz?) with 256Meg RAM, it runs our reports > super quick, but on a newer laptop with dual-core processors and 2GB of > RAM, it takes FOREVER to generate the report preview! Same app deployed > to both machines; same data locally on each laptop. Performance monitor > sho

Re: How to Copy (not move) Directory, Subdirectories and files with FoxPro

2007-03-01 Thread Derek Kalweit
On 3/1/07, Tracy Pearson <[EMAIL PROTECTED]> wrote: > Declare integer MoveFile in WIN32API string@, string@ Tracy, the OP said copy, not move. Additionally, the MoveFile() API function has a gotcha that it can't move files between volumes(c:\ to d:\, network drives, etc.). -- Derek __

Re: How to join a local and a remote cursor?

2007-03-01 Thread Derek Kalweit
> Let's say we have a small local cursor (50 records) and we want to join it > (inner join) with a big remote table (100K records). What is the best way to > join these two cursors? > > The obvious solution Select Col1,Col2 From BigTable into cursor > qrylocalCursor and then join qrylocalCursor wit

Re: How to join a local and a remote cursor?

2007-03-01 Thread Derek Kalweit
> >A little more info on > > how you're joining and the end need for the cursor might be helpful > > for us to give you more suitable suggestions... > The resulting cursor will be used as recordsource in a grid. Until now I > used to download all the records from the big table locally and then I w

Re: Report generation/preview slowness on fastest machine!

2007-03-02 Thread Derek Kalweit
> Can you turn the dual-core functionality off in the > BIOS? If not, you should be able to update the 'computer' driver in Windows from ACPI Multi-processor to ACPI Uni-processor, forcing Windows to just use one core. Obviously you'll want to switch back to the multi-processor 'driver' afterwards

Re: How to join a local and a remote cursor?

2007-03-02 Thread Derek Kalweit
> > I've solved this in the past by creating a temp file on the > > remote server, uploading the 50 local records to the temp table, > Definetly I have to benchmark this. > As a third option I have thought to create a mechanism to scan these 50 > records and to hit 50 indivindual queries in the s

Re: VFP9 systray character

2007-03-02 Thread Derek Kalweit
> I'm using a class called 'systray' to add an icon in the Taskbar > Notification Area. Now I need to put a character expression in the tray. > Does anyone know how to do this. Do you mean a balloon description when mousing over the icon in the 'taskbar notification area'? If so, the class should

Re: VFP9 systray character

2007-03-02 Thread Derek Kalweit
> I'm not talking about the balloon tips, that's supported by the class I'm > working with. I'm talking about displaying numbers in the systray, very > much like the Weather Bug displays the temperature. This is to display > transmitter readings for a radio station. There's no native win32 suppo

Re: Report generation/preview slowness on fastest machine!

2007-03-05 Thread Derek Kalweit
> Process Explorer for Windows v10.21 > http://www.microsoft.com/technet/sysinternals/utilities/processexplorer.mspx > > NOTE: "a system monitoring tool that not only replaces Regmon and > Filemon by including file system and registry monitoring, but adds > process, thread, and DLL monitoring as we

Re: MySQL IFNULL() Question

2007-03-06 Thread Derek Kalweit
> >BTW, here's a way to make your query more readable which may help you > >with future queries. > > > >TEXT TO artfield TEXTMERGE NOSHOW > > Thanks for that tip also. Try TEXT TO artfield TEXTMERGE NOSHOW PRETEXT 2 The PRETEXT value was added to trim out the leading spaces or tabs(2=tabs) which

Re: MySQL IFNULL() Question

2007-03-06 Thread Derek Kalweit
> > Try TEXT TO artfield TEXTMERGE NOSHOW PRETEXT 2 > > The PRETEXT value was added to trim out the leading spaces or > > tabs(2=tabs) which will make the string look good in code(properly > > indented), but be compact when you send it to the server. > And thus will be better because it's not as

Re: Code references

2007-03-07 Thread Derek Kalweit
> You can also close the debugger which seems to slow it down on my system. The debugger slows down all VFP code. Always has... It makes some of my apps that have a lot of code executing almost unusable... -- Derek ___ Post Messages to: ProFox@leafe

Re: [NF] Microsoft not handling DST well

2007-03-08 Thread Derek Kalweit
> And in addition, if you have a W2K box there is no patch distributed via > Windows Update because W2K is in maintenance mode and this apparently > isn't considered a critical update. According to a co-worker, you have > to pay MS $4000 to get a patch. OTOH there is a utility called TZEDIT > that

press and hold command button, refiring an event ever x ms?

2007-03-13 Thread Derek Kalweit
Hi. I'm writing a simple front-end to some video files and using the _multimedia foundational class. I'm trying to implement some quick fast forward and rewind buttons, and I'd like to press and hold to advance. Something like move 1 second of video every 100ms you hold the button(something tun

Re: [NF] -- Wanted: Dead or Live

2007-03-15 Thread Derek Kalweit
> What window manager? What office package? What multi-media player? What > drawing package? What printing manager? You have a choice. Stop me if > you've heard this before. That's exactly the problem. Joe Schmoe, who is only roughly computer literate and only has worked with Windows does not

Re: [NF] -- Wanted: Dead or Live

2007-03-15 Thread Derek Kalweit
> > To me, the only distrib I've used that I can see as being mostly > > headache-free for an end-user would be Ubuntu. I used Redhat/Fedora > > before which I would not put in the same class of usability. I can't > Well, define 'before'. Started with Redhat 5.2 back in 1998, I believe it was...

Re: [NF] -- Wanted: Dead or Live

2007-03-15 Thread Derek Kalweit
> > To me, the biggest problem was that rpm doesn't work, and trying to > > compile on my own, I was always chasing mis-matched libraries. Sure > > made installing something as simple as apache and php and mysql a > > headache... And forget anything less mainstream without a big > > headache... May

Re: [NF] -- Wanted: Dead or Live

2007-03-16 Thread Derek Kalweit
> > Indeed. And that will plague Linux distribs forever, hence my > > less-than-thrilling experience with RH. > I'm just trying to convince you to get back up on the horse before too > long. I actually have little complaints with Windows XP and an Ubuntu server right now... I have no desire or n

Re: [NF] I guess it's time for another programming language...

2007-03-16 Thread Derek Kalweit
> > > Anyone gone down this route already? > > Yup, I picked C# because it has the brevity of C but without having to > > worry about all the crap like pointers and the like. > What? Pointers are the best bit about C! And that's why they're really the only way .NET, Java, and VFP(for objects) wor

Re: Microsoft Does Open-Source and FoxPro a Real Favor

2007-03-19 Thread Derek Kalweit
> > http://www.eweek.com/article2/0,1895,2105307,00.asp > Well, it's a great endorsement, but sadly wrong: "For open-source > developers the good news is that this will put the heart of one of the > strongest DBMS engines and languages into their hands." > > If only. Is this guy terribly confused

Re: Microsoft Does Open-Source and FoxPro a Real Favor

2007-03-20 Thread Derek Kalweit
> >Is this guy terribly confused, or is this new news as of today? The > only thing I heard being 'shared sourced' was code built on top of > VFP, and not the core VFP itself. > Yes, the writer is terribly confused. The source code for what MS refers to > as "the core bits" -- the EXE -- will NOT

Re: [NF] Linux Personas

2007-03-20 Thread Derek Kalweit
> > What makes you think that it's not legit? > The lack of Microsoft trademarks in the first appearance of their > products; the failure to note that Linux is a registered trademark. MS > is usually pretty thorough about these things. The pricing comments > are lame. The videos are missin

Re: Any Regular Expression gurus out there?

2007-03-20 Thread Derek Kalweit
> It's not a regular expression but ... > > MyString = "Monday - 01/03/07" > ? GETWORDNUM(MyString, 3) Or simply, if it's guaranteed to be of that format, simply RIGHT(MyString, 8). No need to over-complicate it, unless it already is more complicated... ;-) -- Derek __

Re: Any Regular Expression gurus out there?

2007-03-20 Thread Derek Kalweit
> Thanks all for those answers. I probably wasn't clear in my question... > > I *have* to use a regular expression. Something like this? "Monday - (\d\d/\d\d/\d\d)" Parenthesis used for submatch extraction... -- Derek ___ Post Messages to: ProFox@

Re: [NF] Backups Backups Backups

2007-03-20 Thread Derek Kalweit
> >http://www.foxnews.com/printer_friendly_story/0,3566,259842,00.html > The moral of the story is to not only have backups but make sure the > backups are readable. All to common a scenario, I'm afraid. I worked at a place where this happened(we lost irreplaceable data, however), and afterwards

Re: Multithreading - what is the latest

2007-03-20 Thread Derek Kalweit
> No real alternative here, definitely needs multithreading to do this task > properly. Although it's possible to use callbacks through FLLs and such I believe to achieve multi-threading in the same process of VFP, I believe it's very error prone and likely to cause GPF's due to VFP's internal mem

Re: Multithreading - what is the latest

2007-03-20 Thread Derek Kalweit
> The memory requirement is mainly because the VFP COM wrapper is bloated > which is why, especially as I don't need any of the COM functionality, it > would be good to do this without the COM overhead. I think much of it is also general VFP runtime overhead. > > Why write it entirely in VFP? So

Re: Preventing .null. Values in a view

2007-03-21 Thread Derek Kalweit
> I created a view in which some fields are giving me a null value. For > example, if customernumber 100 isn't found, customername is ".NULL." instead > of giving me an actual customer's name from my Customers table. > > This is correct, but is there a way to have this field show me blanks > inste

Re: Preventing .null. Values in a view

2007-03-21 Thread Derek Kalweit
> Remembering to specify a field name so that it makes sense. > > SELECT NVL(Table.Fieldname, "") as fieldname FROM mytable What? Exp_1 isn't good enough for ya? ;-) -- Derek ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://le

  1   2   3   4   5   >