Geeks With Blogs
Mark Pearl May 2011 Entries
Sending emails with VB6 & MAPIMessages returns Unspecified Failure has Occurred (Runtime error ‘32002’:)
So, a morning of bashing my head an a new found appreciation for .Net… Today I had to do some legacy app programming in vb6… The issue we were trying to resolve was that we had an application sending emails via the MAPIMessages library. Everything worked fine in Windows XP, but if the user ran the same program in Windows 7 you would get a Runtime error ‘32002’. After a fair amount of searching on the internet I got several conflicting reasons as to why this was “crashing”. To save those other poor ......

Posted On Tuesday, May 31, 2011 12:48 PM

Playing with Pointers
Ever since I began programming in c++ I have gotten confused with how pointers work. I understand why they are there and why they can be useful, but in my managed world I really don’t like touching them… That being said, tomorrow I am going to be tested on pointers and so I thought I would brush up.. here is a bit of sample code on some basic uses… #include <iostream> using namespace std; int main(int argc, char *argv[]) { int x = 5; int *y = &x; int *z = y; cout << "x value : " << ......

Posted On Friday, May 20, 2011 2:03 AM

Basic Design Patterns
I have been doing a rushed brush up on my contemporary concepts programming course – only to encounter more design patterns… so as revision I have listed some details below… Today I am going to briefly cover 5 design patterns… namely: Composite Pattern Observer Pattern Serializer Pattern Monostate Pattern Command Pattern What are Design Patterns? (see wiki) In programming we come across problems that are very similar, and certain approaches to solving these problems could be applied time and time ......

Posted On Thursday, May 19, 2011 4:37 PM

Summary of Computer Theory (Important Things to Know)
Below is a summary of notes for the exam. Before these will make sense you will have to go through the study material, so this is more just a quick revision summary. Format for Declaring a Recursive Statement You will be asked to compile a recursive definition for some language. In the textbook examples the language was a number based language, but in all the past exams the language has been a text based language so be careful… You will be asked to state 4 things, Universal Set Generators of Language ......

Posted On Thursday, May 19, 2011 8:43 AM

UNISA Theoretical Computer Science–Outline of things you should know
Below is the outline of the outcomes of the subject. After reviewing the past exam papers it seems like each chapter is well represented in the exam and so it would be best to have an understanding of all the outcomes. Chapter 2 – Languages What an alphabet, a word, a language and the empty string are; what is meant by the length of a string; how to concatenate strings; what the closure of a set is, and how to form it; what Cohen means when he speaks of ‘proof by constructive algorithm’; Chapter ......

Posted On Wednesday, May 18, 2011 9:56 AM

Mimicking websites request for screen scraping…
Introduction I don’t do web programming… I have been programming client applications for years and consider myself a WPF/Silverlight developer. The web thing always seemed a bit scary in its stateless environment with limited functionality and cross browser headaches. That was until recently when apparently HTML5 was going to kill Silverlight and I eventually decided that I would need to get educated and up to date. Since that decision I have re-accustomed myself with HTML, CSS & JavaScript. ......

Posted On Monday, May 9, 2011 7:52 PM

Copyright © MarkPearl | Powered by: GeeksWithBlogs.net | Join free