Luciano Evaristo Guerche

A brazilian geek interested in .NET technologies

About Me

Browse by Tags

All Tags » visual (RSS)
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 StringDotFormat( ByVal strFormat As String , ByVal ParamArray aryPlaceHolders...
Public Function IsValidCPF(ByVal strCPF As String) As Boolean
Option Explicit Public Function IsValidCPF( ByVal strCPF As String ) As Boolean Dim intDigito As Integer Dim intIndex As Integer Dim intModulo As Integer Dim intSoma1 As Integer Dim intSoma2 As Integer Dim intDigitoVerificador1 As Integer Dim intDigitoVerificador2...
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...
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 Option Explicit Private Sub cmdExecute_Click() Dim blnDirty As Boolean Dim objOutlookApplication As Outlook.Application Dim objOutlookMAPIFolder...
Body art with a VB flavour
[Via Bill McCarthy ]
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...
Cool GUI for editing parameters in visual studio - vote for it!
I vote for it and you? 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...
FWD: Localization in Whidbey
Localization in Whidbey is an interesting post by Raghavendra Prabhu
Visual Studio 2005 - Edition x Feature comparison chart
I have read a lot of blogging posts and some MSDN articles about Visual Studio 2005, but have not found a comparison chart anywhere. What I and problably many out there wanted is a chart like the one below. Visual Studio 2005 Edition Features Academic...
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...
More Posts Next page »