More VFP9 and GDIs

Filed Under (Visual FoxPro) by WildFire on 20-02-2006

More on VFP9 and GDI+: Special Effects / Scale and Shear / Converting Image Types / Rotating and Flipping / Resizing Images. Yup all done in VFP9... courtesy of Cesar Chalom from within the weblogs at Foxite.com which just had a facelift.

SPS: Setting the System Cursor

Filed Under (Visual FoxPro) by WildFire on 15-02-2006

SPS: Setting the System Cursor using GDI+ and VFP9.

Jim Carroll

Filed Under (Random.links) by WildFire on 10-02-2006

Tech Experts Urge Cable to Embrace New Technologies. (via TorrentFreak)

Here are more articles from Jim Carroll.

Multiple Detail Band (GIF Format)

Filed Under (THIS.site.matters, Visual FoxPro) by WildFire on 08-02-2006

I was doing a little clean-up experiment on CGIs/Perl+css, html tables and [br] tags with that post on multiple detail bands (step by step hints section) so if it breaks your rss reader, feel free to view the online version.

If it still doesn't work, here's a screenshot of the steps part in GIF format.

Multiple Detail Band in Visual FoxPro 9

Filed Under (Visual FoxPro, work.BLOG) by WildFire on 08-02-2006

After countless trials and errors, with each error pounding one of my faithful neurons, reading (and re-reading and re-reading), roundtrips to the Program Files\VFP9\Samples directory and pathetic attempts to have a crash course on 'Absorbing the Mozart Effect 101'... I finally figured out how to make VFP9's multiple detail band feature work on one of my reports.

(And no, Mozart wasn't helpful this time.)

More than 77 neurons are off to meet their maker. I stopped counting though an hour and a half ago, so there's probably more. (And we're not even counting the injured and now-limb-less ones.)

Yes I know... I'm quite late with this. Most VFP9 coders are now using the multiple detail band to extract data from different databases located in parallel universes while I have been using the dump N table records to one 'cursor/table holder' with generic field names where I can extract data for reporting...

... or firing up CrystalReports.

Anyway at 1:37AM, I'm scribbling this down just in case an alien decides to teleport its presence here in this room, do some wholesome (I hope) experiments and decides to mind-wipe me afterwards, which might possibly corrupt this multiple-detail-band-eureka moments I have.

Also this could probably help a coder out there who decides to google things after being mind-wiped by an alien.

Just a basic overview... I'll call these step by step 'hints' not a 'guide'. (A User Guide expert would scream bloody hell when he sees this. (But trust me a programmer will understand. (Especially those mind-wiped by aliens.)))

Given:
Parent.dbf / Child01.dbf / Child02.dbf
Right click = Right click in the Report Designer.

1.

 

File. New. New report. (No wizards.)

 

2.

 

Data Environment. Add the three (or more) tables.

 

3.

 

Set the relationships. (P » C01 and P » C02.)

 

4.

 

Right click. Select Data Grouping.

 

5.

 

Data Grouping tab. Group Nesting Order box. Add. And add field from your parent table (Your primary key... for example: PARENT.CODENO)

 

6.

 

Right click. Optional Bands. In the Detail Bands box, Add another Detail Band.

 

7.

 

Now you have two bands. One for you, one for the alien.

 

8.

 

Double click on the Detail 1 separator. The Detail Band Properties window pops out. (Or if you like the longer process... Report... Edit Bands... select Detail 1.)

 

9.

 

Check Associated header and footer bands. (Trust me you need this. Aliens are allergic to this.)

 

10.

 

Repeat steps 8 - 9 for Detail 2.

 

11.

 

Data Environment. Drag the fields to their appropriate bands. Parent fields on the Group Header. C01 fields in the Detail 1 band and C02 fields on the Detail 2. And aliens in the footer part.

 

12.

 

BTW... you should have saved your report already and instinctively press CTRL+S every now and then in case the aliens...

 

13.

 

Now double click the Detail 1 'bar' (separator) again.

 

14.

 

Detail Band Properties. In the Target alias expression enter 'child01' or the name of your child database. (NOTE: Be sure to include the '')

 

15.

 

Do the same with the other Detail bands. The Detail 1 band separator should now look like 'Detail 1: Child01'.

 

16.

 

Add appropiate headers, lines and all. Align things.

 

17.

 

Beautify your report. Make it look professional. Nevermind if your clients are using a stone-age dot matrix printer.

 

Hope this helps.

Now I'm off to re-inspect the protective shields of this room.

The Darkness Volume II

Filed Under (comics, GFX) by WildFire on 08-02-2006

The covers for Top Cow's Darkness Volume II. Most are illustrated by artist extraordinaire, Dale Keown of Full Bleed Studios. (Some issues and crossover covers are illustrated by Eric Basaldua, Keu Cha and Tyler Kirkham)

DC and Marvel, though also producing some fully painted covers these days, still have some catching up to do in terms of firing up kick-arse covers, eh?

Yes... programmers don't read boring manuals, PDFs and CHMs all the time.

Click for full view.

SPS: State of the Language Address

Filed Under (Visual FoxPro) by WildFire on 03-02-2006

SPS: State of the Language Address.

Ken Levy shifts. Craig Berntson re-emphasizes (I swear such a word exists) his stand. As for me, I'd like to look at the bright side.