Luciano Evaristo Guerche

A brazilian geek interested in .NET technologies

About Me

Browse by Tags

All Tags » visual basic (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...
A sneak preview of Visual Basic 2005 (article) is up on MSDN...
This new article from Ken Getz provides an overview of many of the new features in Visual Basic 2005, including "My", "Edit and Continue", "AutoCorrect", "Just My Code" and more... Check it out here [Via Duncan...
Best VB bloggers
A few weeks ago, I asked for recommendations for non-Microsoft VB bloggers. Without further ado, here are the lists... “Community Seal of Approval” Blogs (blogs that got at least one recommendation) Anand M Greg Robinson Richard Tallent Bob...
RE: Who are the best VB bloggers?
A while ago Eric asked “ Who are the best C# bloggers external to MS? ” which sparked a similar question in my own mind: Who are the best VB bloggers external to MS? I have my own opinions, but I'm interested to see who people find helpful...
Visual Basic at the Movies now available for download...
Interested in VB at the Movies , but wanted to pull the video files local? Now you can... Click here to go to the download page . [Via Duncan Mackenzie... ]
More Posts Next page »