Welcome to MSDN Blogs Sign in | Join | Help

May 2004 - Posts

Q: In the Visual Studio Object Browser the method CollectionBase.Clear() is marked as "virtual new." The same happens with other Methods and in other Classes (e.g CollectionBase.GetEnumerator). Opening CollectionBase.Clear with ILDASM it is marked as Read More...
A: Dim p() As System.Diagnostics.Process p = System.Diagnostics.Process.GetProcessesByName("WindowsApplication2") If p.Length > 0 Then Dim res As Integer Dim rc As RECT GetWindowRect(p(0).MainWindowHandle().ToInt32, rc) res = MoveWindow(p(0).MainWindowHandle().ToInt32, Read More...
Q: In C# you can pass an array into an attribute class using the code below but when you try to do this from VB.NET you get an error. Why can’t you do this in VB.NET? public sealed class FooAttribute : Attribute { private int [] intarr; public int Read More...
I couldn't find any samples (of course after only searching breifly) that show how to call SendInput from C# using the MOUSEINPUT struct. After getting it to work I figured I'd post it so other folks can make use of it: [DllImport("User32.dll", SetLastError= Read More...
Adidas creates ‘smart shoe’ Now here goes Adidas research and develops a cool techno/fitness toy that will be sure to land on Popular Mechanics top 100 best products list for the year. I’ve always been a big Adidas fan (ever since I Read More...
A while back I was searching for an MP3 player that had the following features: · approximately 256MB Memory built in · Great Asthetics · FM Radio Tuner · Backlit LCD · Small & Lightwieght · Runs off of one replaceable Read More...
 
Page view tracker