Geeks With Blogs
A Developer's Expedition November 2008 Entries
Iseries/AS400 DB2
Working at a bank, I get to play with an iSeries a lot. I've been trying to build a data warehouse that uses day old data from the iseries and importing the data into a MS SQL database. I was able to do a data import using SSIS but I started to think about about how to do this in code. It was pretty easy! First getting the data out of the iSeries/AS400. You have to install the latest IBM data provider. You get this when you install IBM's programmers toolkit. After you install the toolkit, add the ......

Posted On Sunday, November 23, 2008 1:36 AM

Thead Pooling
There are times you need to create different threads within your appliation. In this example you can create any amount of threads, queue them to start and they will close/open from the queue. This is how to get past the maxium of 25 threads at a time limit. If you want a good example of the threads, open your Windows task manager, add Threads to your view and sort by threads while you run this test. namespace ConsoleApplication1 { class threading { static object worker = newobject(); statici nt runningworkers ......

Posted On Thursday, November 6, 2008 9:42 PM

Embed image into email
If you are like me it bugs you that users are forced to download images you placed in a html based email. Don't fret, you can embed the image and the user's will not be prompted to download images... Highlights: HeaderInfo - needed for Outlook 2007; Not sure about 03... AlternateView - Using a linked resource, this class embeds the linked resource in our case the image, public boolSendEmailWithImage(stri... stringMailFromStr, stringSubjectStr, stringBodyStr, stringImgPath) { string HeaderInfo ......

Posted On Sunday, November 2, 2008 8:52 PM

Copyright © Ken Lovely, MCSE, MCDBA, MCTS | Powered by: