DCSIMG
August 2006 - Posts - Ido Samuelson's blog

August 2006 - Posts

Why I love Microsoft

A picture is better then 1000 words.

Posted by Ido Samuelson | with no comments

Radius 320 monitor: Three screens in one

Radius_320.jpg

I really can't say that am excited with this 3-in-1 monitor. Maybe its because every Monitor is 20.1" and the maximum resolution is 1600x1200.

But again, maximum resolution is 4800x1200 ~50" inch monitor. 3 DVI Connectors to a new triple SLI video card that supports DirectX 10 and am happy :-)

Source

Posted by Ido Samuelson | with no comments

Copy source as HTMLAddin for Visual Studio 2005

I haven’t checked for a new version of this Addin for quite sometime and I was very happy to find out the new version (2.0.0) is for Visual Studio 2005.

Here is a sample of the Copy as HTML feature

    public partial class GlassForm : Form

    {

        [DllImport("dwmapi.dll")]

        public static extern int DwmExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS pMarInset);

 

        [StructLayout(LayoutKind.Sequential)]

        public class MARGINS

        {

            public int cxLeftWidth;

            public int cxRightWidth;

            public int cyTopHeight;

            public int cyBottomHeight;

        }

 

        MARGINS margins;

        public GlassForm()

        {

            InitializeComponent();

            this.BackColor = Color.Black;

            margins = new MARGINS();

            UpdateGlass();

        }

 

        private void UpdateGlass()

        {

            margins.cxLeftWidth = -1;

            margins.cxRightWidth = -1;

            margins.cyTopHeight = -1;

            margins.cyBottomHeight = -1;

            int result = DwmExtendFrameIntoClientArea(this.Handle, ref margins);

        }

 

        private void Form1_Load(object sender, EventArgs e)

        {

           UpdateGlass();

        }

 

        private void Form1_Resize(object sender, EventArgs e)

        {

            UpdateGlass();

        }

 

 

    }

Get it here:

CopySourceAsHtml 2.0.0 Installer (163 KB) (built and tested on Microsoft Visual Studio 2005)
CopySourceAsHtml 2.0.0 Source (91 KB) (now includes build and installer scripts)

P.S.

If you like the style am working with :

Copy as HTML File Style  

Posted by Ido Samuelson | with no comments

Windows Vista 5536 Glass Form

The new built had some implementation changes in order to put the Glass effect into your Form.

GlassForm2 

    public partial class GlassForm : Form

    {

        [DllImport("dwmapi.dll")]

        public static extern int DwmExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS pMarInset);

 

        [StructLayout(LayoutKind.Sequential)]

        public class MARGINS

        {

            public int cxLeftWidth;

            public int cxRightWidth;

            public int cyTopHeight;

            public int cyBottomHeight;

        }

 

        MARGINS margins;

        public GlassForm()

        {

            InitializeComponent();

            this.BackColor = Color.Black;

            margins = new MARGINS();

        }

 

        private void UpdateGlass()

        {

            margins.cxLeftWidth = -1;

            margins.cxRightWidth = -1;

            margins.cyTopHeight = -1;

            margins.cyBottomHeight = -1;

            int result = DwmExtendFrameIntoClientArea(this.Handle, ref margins);

        }

     

        private void Form1_Load(object sender, EventArgs e)

        {

           UpdateGlass();

        }

 

        private void Form1_Resize(object sender, EventArgs e)

        {

            UpdateGlass();

        }

     }

 

The change is that now the Form’s Backcolor must be Color.Black in order for the glass to work, compare to the previous version when it possible to set any key as long as the Form.TransparentKey was the same Color.

 

Not sure if I like this change or not, Anyhow am not a graphics expert

 

Finally IE7 saves the open tabs...

Yes, it actually saves them. HOWEVER, same as the Copy/Move Window doesn't have a "No to All" button. You will Always have to select the box over and over if you want to save the tabs. That means 2 clicks

  1. Show Options.
  2. Select the "Open these the next time I use Internet Explorer.
Posted by Ido Samuelson | with no comments

Windows Live Writer - The #1 Feature

The #1 feature in Windows live writer is the ability to insert a map via Windows Live Local (Virtual Earth).

WHO REALLY NEEDS THIS FEATURE?

How many blog posts you read contained a map? Someone needs to check his focus...

Folder Marker

foldermarker.png 

If you are a visual person, this tool will be very usful to you. It allow you to change the folder icon in an easy step, thus help you find what you are looking for in a glance.

Posted by Ido Samuelson | with no comments

Why upgrade to a directX 10 video card?

 

 

 

From the DirectX 10 Whitepaper on the Windows Vista Team Blog.

WOW!!!

 

Watch these mid-life objects! real-time managed code

This article has some great info regarding real-time and manage code.

 

Posted by Ido Samuelson | with no comments

USB Powered BBQ

usb_powered_bbq_7.jpg

Yep, ~30 USB connectors are being used.

I would go with a Fillet Mignon

http://gizmodo.com/gadgets/peripherals/usb-powered-bbq--wtf-196087.php

My next company Car

This is the Volkswagen Iroc (Scirocco) Concept for the years 2008–2009.

Natan, don’t tell I did not prepare you  


http://www.techeblog.com/index.php/tech-gadget/volkswagen-iroc-scirocco-concept

high-level data-parallem programming model - the "Accelerator" way

Accelerator: “provides a high-level data-parallel programming model as a library that is available for all .Net programming languages. The library translates the data-parallel operations on-the-fly to optimized GPU pixel shader code and API calls. Future versions will target multi-core cpus."

Accelerator Wiki 

Accelerator library and SDK!

Download the Video

Microsoft Research have awesome project, I keep my eyes on Singularity

Posted by Ido Samuelson | with no comments

ASUS R2H Unveiled

The R2H UMPC. It features a large 7-inch WXGA display, 900-MHz Intel Celeron M ULV processor, 1.3-megapixel camera, Bluetooth 2.0+EDR, up to 60GB HDD, and a biometric fingerprint reader.

Would you pay 1000$ for it? I think it is way too expensive!

Posted by Ido Samuelson | with no comments

Quiz #3

This question should be very simple.

I ran into this line of code today and just smiled…  

             Track track = getTrack(); // updated

 

             Hashtable tracks  = Target.GetTracks();

             tracks.Add(track.GetHashCode(),track);

 

So, what do you think the problem is?

Windows Live Writer (beta)

Microsoft release a new blog authoring tool.

The tool itself is very close to BlogJet, the UI looks much better but it is not intuitive enough, mainly because how it let you change the view layout - for now by Menu or keyboard shortcuts. Farther lack of support to easily change Font size(BlogJest also).

What I love about this tool is how you can add images to it (I really didn't like how BlogJet is doing it). Here you can add some effects to the image and have a link to the source image with not much work being done.

Windows Live Writer (beta) 

And again, while the UI looks perfect, some things aren't that great.

Taking this new tool to FXCop results in 13983 Active messages!!! 

 

 

Thanks Asher!

More Posts Next page »