Skip to main content

Posts

Showing posts from July, 2009

Google Chrome OS is not a browser, Will microsoft products like C# run on it?

Google Chrome Blog: Google Chrome OS - FAQ I really don't think it's a browser as what many have been speculating. It's written on their official blog that it's an Operating System that runs on top of a Linux kernel. It's way different from a browser or even a Web hosted Operating System like the http://g.ho.st. My question now is will Microsoft's products like C# and other .net technologies still run on Chrome OS? I hope so.

Using ProgressBar in C#

1. Create a Windows Application 2. Drag a ProgressBar Control and set its Dock property to bottom and its Step property to 1 4. Drag a Timer Control to the form and set its Enabled property to true. 5. The form should look like this: 6. Double click the timer and add the following code: if (progressBar1.Value >= 100) { timer1.Enabled = false; return; } progressBar1.PerformStep(); 7. Run the application. :D Download the code: Using ProgressBar in C#

Corporate Team Building

Creating a simple MDI Application using C# Express 2008

Open C# Express 2008 and create Create a new Windows Application. At the properties pane on the right side of the IDE, locate the IsMdiContainer property of the form and set it to true. Add a MenuStrip to the form and add an item (e.g. "New Window"). Add another form (this will serve as a child form) Add a textbox to the form with the following attributes: Multiline = true, Dock=fill; Go back to the main form and double click the first item on the MenuStrip to view the code. Type in the following code (use Form2 if that's the name of your second form): Form2 newForm2 = new Form2(); newForm2.MdiParent = this; newForm2.Show(); The code should look like this: public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void newWindowToolStripMenuItem_Click(object sender, EventArgs e) { Form2 newForm2 = new Form2(); newForm2.MdiParent = this; newForm2.Show();

What happened to Microsoft's website?

I have been trying to access Microsoft's website at http://www.microsoft.com since last night but was never successful. At first I thought there was something wrong with my wireless router again so I tried looking at the hardware. There was no problem at all. I tried pinging other website and they responded. That was the time I concluded that Microsoft's website was down. Are they doing maintenance? I wanted to download the .net framework 3.5 service pack 1.