Saturday, September 20, 2008

Matrix Show


I made (attempted to make) a cool screen saver check it out here: Google Code

Friday, September 19, 2008

Powerbuilder Datawindow.NET to DataSet

Converting from powerbuilders datawindow to a dataset in c# was a lot easier than I first thought..though i did write an entire function that looped through the rows to do it at first. I eventually figured out this short code here.

DataSet lds = new DataSet();
lds.ReadXml(new System.IO.StringReader(YourDataWindow.Describe("Datawindow.Data.XML")));


Thats it..(Make sure you retrieve first of course)

Friday, September 5, 2008

Sending Groupwise HTML Email

Wth. This weres impossible to find! Hardly any documentation about sending a simple HTML email with the Groupwise API. This is the ugly solution I happend upon when looking for a solution to a different problem.. (Assuming you've figured out the basics of just sending an email)

Create a file named "Text.htm" filled with the html message you want to send. Attach it to the email. Send it. As long as you dont set BodyText.RTF / BodyText.PlainText, the email will show the HTML by default when opened in groupwise.

My problem was solved with this, although it only works for groupwise clients. (All i needed) If you want to send HTML email outside of groupwise, I can only point you in the direction you need as I havent figured out myself. You would need another attachment named "Mime.822" which would be your header information for the email.

Note: Be mindful of the case in the file names.