I am not Revolting (a.k.a. The VB 6.0 Petition)

Published on Author Rob WindsorLeave a comment

So there’s this petition going around demanding Microsoft resume development on and continue support of VB 6.0. I understand that organizations have huge investments in VB Classic code but the old IDE still works just fine and it, plus the binaries it creates, will continue to work in the years ahead. Why have Microsoft invest… Continue reading I am not Revolting (a.k.a. The VB 6.0 Petition)

Microsoft Support for Visual Basic 6.0

Published on Author Rob WindsorLeave a comment

In case you’re wondering about Microsoft’s support policy for VB 6.0 (and it seems more and more of you are) you should check out Product Family Life-Cycle Guidelines for Visual Basic 6.0. Product Life-Cycle Phases Mainstream Phase Standard support offerings are available for Visual Basic 6.0, such as Premier Support, free professional telephone and online incident support… Continue reading Microsoft Support for Visual Basic 6.0

Repeat After Me: C# Destructors Are NOT Like C++ Destructors

Published on Author Rob WindsorLeave a comment

Ian Griffths has an excellent post entitled Repeat After Me: C# Destructors Are NOT Like C++ Destructors. If you have a C++ background and are doing C# developement it’s definately worth a read. <INTERESTING NOTE scope=”atLeastToMe”>Ian mentions Robert Kozak. I know Robert, I haven’t talked to him since he left Toronto several years ago and… Continue reading Repeat After Me: C# Destructors Are NOT Like C++ Destructors

QA: Using Enum.Parse to Convert a String to an Enumeration Value

Published on Author Rob Windsor1 Comment

Question:I have a string that holds the name of a value from an enumeration. How do I “cast“ that to the actual enumeration type? Answer:You can use the Parse method of the Enum class to do this conversion for you. Some sample VB code is shown below. Dim dr As DialogResultdr = CType([Enum].Parse(GetType(DialogResult), “Cancel”), DialogResult)MsgBox(dr.ToString)