On Saturday it was 70 degrees Fahrenheit (~21 degrees Celsius). Today is Tuesday. And today the temperature is 14 degrees Fahrenheit (~-10 degrees Celsius).
That’s a BIG difference.
On Saturday it was 70 degrees Fahrenheit (~21 degrees Celsius). Today is Tuesday. And today the temperature is 14 degrees Fahrenheit (~-10 degrees Celsius).
That’s a BIG difference.
I just created a Model out of a database, and just to be curious I deleted the table from the model. (No the table itself but the table from the model!).
How do I re-add the table to my model without deleting and re-creating the model?
Does not work.
Outlook.Application and Outlook._Application are both interfaces. And I want to use them as a class in my program (I don’t know how they made that work).
I wanted to extend Outlook.Application and add a simple method to create a new email. But that does not work since you have to implement a bunch of methods which I hardly understand.
Thank Microsoft for creating extension methods, so here is my solution:
using System;
using Outlook = Microsoft.Office.Interop.Outlook;
namespace SendToExtended
{
static class OutlookExtensions
{
///
/// Creates and returns an Microsoft Outlook MailItem
///
///
an instantiated Outlook application
/// A new MailItem object
public static Outlook.MailItem CreateMailItem(this Outlook.Application outlook)
{
if (outlook == null)
throw new ArgumentException("outlook parameter cannot be null");
return (Outlook.MailItem)outlook.CreateItem(Outlook.OlItemType.olMailItem);
}
}
}
Let me elaborate on the last one: A lot of Americans do think that their government is Big Brother, while compared to what we have in Belgium, theirs is really not that worse. We’ve got social security which some people think is good (I don’t) since a lot of people have to pay for somebody else’s disease (like when they need new lungs because of cancer).
Also the government over here did not sign the Kyoto protocol, they don’t ask ridiculous taxes on gas / electricity / … that is really a cash cow in Belgium. And on the cars: over here you pay insurance and some taxes. In Belgium those IDIOTS ask taxes based on your engine’s cc (2.0 liter, 2.5 liter …). Just sad.
While every medal has it’s downside: here are the ones I discovered:
Here are some of the things why I think the USA is a better environment for studying in university as compared to a Belgian one. I’ve done some thinking on this for a while, so I thought I might share it with you
Things that are better:
Let me elaborate on that:
And extra note on number 1.: I know a lot of people in Belgium (and over here too) think that everybody should get the possibility to study. Well imagine a class full of students, where the first 2 rows wants to BE in that class, the third row just choose Computer Science because it’s the future, and the last row just playing Counter-Strike.
Since it’s that cheap to do the year again they don’t care (and thus ruining the class for everybody). Been there, done that, never got the T-shirt. The American system IS better.
And after all there are downsides, one of ‘m is (it actually depends on the teacher over here):