Posts

Fathers and the things you never knew...

Below is a story about a band my father was in a a kid. He told us little if anything about the band... Heres what I found out ( source unknown )... lf you asked anyone in America under 40 who the Ducanes were, odds are you'd get blank stares. Yet the quintet of teenagers were notable if only for the fact that they were the next rung up the ladder to superstardom for Arnerica°s greatest record producer. The Ducanes were five friends who loved bas- ketball, spending countless hours practicing near their homes at Bergenfield Memorial Field. ln be- tween games the guys would harmonize on some of the better (though often obscure) doo wops of the day such as "l Laughed" by THE JESTERS, "Zoom" by the Collegians, and "When l Fall in Love" by THE FLAMINGOS (who were their favorite group). The only actual hit they sang at the time was their first practiced song, "Diamonds and Pearls" by THE PARADONS. The Bergenfield, New Jersey, quintet consisted of...

Tool to compare 2 csv files - ScriptLance Programming Project

Just thought I'd share a solution that took 1 minute; not the: 1 day, 1 day, 5 hours and 1 hour bids that were posted. This is a dos level file compare. Not a modern .diff. but it gets the job done. Tool to compare 2 csv files - ScriptLance Programming Project fc dennis1.txt dennis1.txt /n /w Comparing files Dennis1.txt and DENNIS1.TXT FC: no differences encountered fc dennis1.txt dennis2.txt /n /w Comparing files Dennis1.txt and DENNIS2.TXT ***** Dennis1.txt 3: sdfsdf 4: sdfsdfs sd sdf sdf 5: sdsdf s ***** DENNIS2.TXT 3: sdfsdf 4: sd dfs sd sdf sdf 5: sdsdf s ***** fc dennis1.txt dennis2.txt /n /w > result.txt type result.txt Comparing files Dennis1.txt and DENNIS2.TXT ***** Dennis1.txt 3: sdfsdf 4: sdfsdfs sd sdf sdf 5: sdsdf s ***** DENNIS2.TXT 3: sdfsdf 4: sd dfs sd sdf sdf 5: sdsdf s ***** Or chain multiple files together with ... fc dennis1.txt dennis2.txt /n /w >> result.txt type result.txt Comparing file...

Windows Live Labs: Photosynth Man Hunt

I was digging through the 3d preview over at Photosynth and believe I have come across Stephen Hawking... See if you can find him yourself... if not click Here.

Sending CDO Email via VBS with embedded attachments

Recently it was asked in another NG post: I have an asp (classic) page from which I send mails to some users. I select those users from a recordset and depending upon certain condition, the messsages are sent. Well, if I load this asp file, all the stuff works fine: the recordset, the mails sent to the correct users (using CDOSYS in Win2003), so now they can receive and read the messages without a single problem. Now I need something like a demon implemented in a .vbs script. With a bat file running every hour, i need the same functionalities: connect and build the recordset, and sending the mails to the users in an automated way, every hour. But I just don't know if it's possible to do such a task. somebody has an example of how could you send a mail from a vbs file that works within the task manager? I don't ask for the task manager obviously, but for the way sending mails are implemented in an automated .vbs. I suppose it's not enough to paste part the same code (for...

Recurring AT scheduling using VBS and batch files.

Heres the text of a post I was involved in over at m.p.scripting.vbscript. It relates to the process by which you can create a scheduled task that repeats itself more than one time per day on a regular schedule... ok, now we have three files.... To use this place all three files in the same location. Call login.vbs in your login script instead of the .bat make sure you delete this temp file before retrying this procedure... ( or when you have to re-create the task using login.vbs ) c:\>del %temp%\Done.yet Send your cashier check to : (just kidding) D. login.vbs Const Hide = 0 : Dim VBS, ACT, path Function GetPath()   path = WScript.ScriptFullName   GetPath = Left (path, InstrRev (path, "\" )) End Function Set Act = CreateObject ( "Wscript.Shell" ) VBS = trim (GetPath) & "\new4.bat """ & trim (GetPath) & "\"" CHECKME" Act.Run(VBS),Hide, True normal.vbs Const Hide = ...

Exchange Property pages...

I was in need of a piece of information about how to set the mAPIID value of an attribute and Jim McBee's Mostly Exchange Web Log jumped off the search engines and into my heart... http://mostlyexchange.blogspot.com/2005/03/adding-attributes-to-exchange-details.html For anyone who needs to know I've also found that &H8000 is the beginning of the acceptable range for custom mAPIID's.

First post...

I'll be posting useful bits about programming here from time to time.