Contents tagged with visual
-
String.Format("My name is {0}", "Luciano Evaristo Guerche") (VB6)
A feature I loved in .NET (C# and VB.NET) is String.Format method. So I thought how I could have the same feature on VB6 and I came up with the following code.
-
Public Function IsValidCPF(ByVal strCPF As String) As Boolean
Option Explicit
-
Renaming Microsoft Sourcesafe items through OLE automation
Today I had to rename a thousand items on Microsoft Sourcesafe just to conform to Enterprise Manager's item naming conventions. I would be out of luck, but fortunately Microsoft Sourcesafe allows OLE automation, so I created a new Visual Basic 6 project, added a new command button, renamed it to cmdRenameSourcesafeItems and add the following code to the Click event
-
Microsoft Outlook OLE automation to bulk adjust email display name
I've just written code bellow to adjust email display name from my contacts on Personal Folders > Contacts > Plaxo
-
Body art with a VB flavour
-
Bin, Oct and Hex
Visual Basic 6 has the Hex function, but no Bin or Oct, so I wrote the silly functions bellow, just to have a bit of fun.
Option Explicit Public Function Bin(ByVal lngNumber As Long) As String Do While lngNumber > 0 Bin = (lngNumber Mod 2) & Bin lngNumber = lngNumber \ 2 Loop If (Len(Bin) Mod 8) <> 0 Then Bin = String$(8 - (Len(Bin) Mod 8), "0") & Bin End If End Function Public Function Oct(ByVal lngNumber As Long) As String Do While lngNumber > 0 Oct = (lngNumber Mod 8) & Oct lngNumber = lngNumber \ 8 Loop If (Len(Oct) Mod 4) <> 0 Then Oct = String$(4 - (Len(Oct) Mod 4), "0") & Oct End If End Function
-
Cool GUI for editing parameters in visual studio - vote for it!
Mitch Denny proposes a very cool idea for popping up in-place GUI when you need to edit a formatted string or other parameter in source code. He has posted his idea up on the Ladybug site; I’ve voted for it, and you should too!
-
FWD: Localization in Whidbey
Localization in Whidbey is an interesting post by Raghavendra Prabhu
-
Visual Studio 2005 - Edition x Feature comparison chart
þ
-
Visual Studio 2005 Beta 1 and the Express Edition Betas have launched
I must give some of the Express Editions a try. Let's start downloading right now...
[Via Christa Carpentiere]
[Via Duncan Mackenzie]
[Via Benjamin Mitchell]
[Via Tim Sneath]
[Via Bill McCarthy]
[Via Robert Scoble]
[Via Chris Sells]
[Via Kent Sharkey]
[Via Kent Sharkey]
[Via Dan Fernandez]
[Via Shawn Wildermuth]