Scott Guthrie Talks - Web Development with .NET 4.0 and Visual Studio 2010

by Kulin 5. June 2010 14:54

Web Development with .NET 4.0 and VS 2010 - Part 1



Web Development with .NET 4.0 and VS 2010 - Part 2

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

programming

Brilliant interactive retail experience built with Windows 7, WPF, touch

by Kulin 28. November 2009 17:57

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Software

Outlook msg file create

by Kulin 10. August 2009 01:52

Creating a new Outlook .msg file programmatically in C#

[code:c#]

// Creates a new Outlook Application Instance
Outlook.Application objOutlook = new Outlook.Application();

// Creating a new Outlook Message from the Outlook Application Instance
Outlook.MailItem mic = (Outlook.MailItem)(objOutlook.CreateItem(Outlook.OlItemType.olMailItem));

// Assigns the "TO", "CC" and "BCC" Fields
mic.To = toTextBox.Text;
mic.CC = ccTextBox.Text;
mic.BCC = bccTextBox.Text;

// Assigns the Subject Field
mic.Subject = subjectTextBox.Text;

// Switch the Importance ComboBox to identify the Mail Message Importance Level
switch (importanceComboBox.SelectedItem.ToString())
{
        case "High":
                mic.Importance = Outlook.OlImportance.olImportanceHigh;
                break;         case "Normal":
                mic.Importance = Outlook.OlImportance.olImportanceNormal;
                break;

        case "Low":
                mic.Importance = Outlook.OlImportance.olImportanceLow;
                break;
}

// Define the Mail Message Body. In this example, you can add in HTML content to the mail message body
mic.HTMLBody = messageTextBox.Text;

// Adds Attachment to the Mail Message.
// Note: You could add more than one attachment to the mail message.
// All you need to do is to declare this relative to the number of attachments you have.
mic.Attachments.Add(attachmentOneTextBox.Text,Outlook.OlAttachmentType.olByValue,1,"Attachment Name");

// Save the message to C:\demo.msg. Alternatively you can create a SaveFileDialog to
// allow users to choose where to save the file
mic.SaveAs(@"C:\demo.msg", Outlook.OlSaveAsType.olMSG);

[/code]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

programming

Windows Server 2008 Foundation

by Kulin 7. April 2009 10:57

Microsoft has released Windows Server 2008 Foundation (a low-cost variant of the Windows Server 2008 core). Paul Thurrott covers some valid reasons for Microsoft releasing a product that is squarely aimed at tiny businesses (15 people or less) and in doing so they are also taking a broad swipe at the hardcore enthusiast market. Notably these are the two market segments that have a predilection towards the use of pirated Windows OS products (be it client or server) and with this release, Microsoft is making it even easier to go 'legit'. There are a couple of more reasons which I believe led to the release of this SKU.

1) The Worldwide Recession - Lets face it, the global downturn is not going to be kind to sales figures and Microsoft needed to pull something off that would keep those cash registers ringing (and in doing so keep shareholder value intact) well through this time of economic prudence.

2) Linux -  This is actually related to my first point above. Companies not spending more often than not translates into companies looking to free software. Ubuntu has free fully supported enterprise server and desktop versions out every 6-months and they've got zero shareholders to worry about. That's the deep-seated Redmondian fear. I'm not even going to prod the 'TCO monster' with a 10-foot pole, but depending on how you look at it, the release of Server Foundation will likely act as a gravity well and pull those sitting on the fence back into the Microsoft product fold.

It will be interesting to see the final feature set of Windows Server 2008 Foundation. With no support for virtualization (as per the EULA I suppose) and single-processor-socket only support, I wouldn't look to it to run my "weather simulation" server, but as a low-end file/database server it seems like Microsoft may just have hit the sweet spot.

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

Software

Powered by BlogEngine.NET 1.4.5.0 | Theme by Mads Kristensen
Page loaded in 0.0312008 seconds.

Disclaimer

The opinions reflected on this blog are entirely my own, and do not reflect the thoughts and/or opinions of my employer in any way.