Source Code Snippets
« Previous EntriesCheck if the Operating System is 32 Bit or 64 Bit
Friday, May 28th, 2010
I've seen many questions posted about how to check if the operating system the user is running is 64 Bit supported or just 32-Bit capable. 32 Bit is also referred to as x86 and 64-Bit is referred to as x64.
I've seen various options people have come up with like checking WOW64 emulation , ect... [...]
Popularity: 18% [?]
Free eBook, and other Free Resources and Source Codes
Saturday, August 8th, 2009
Well its been awhile since i've updated the site. I am a Computer Tech so i've been busy building, upgrading, and fixing customers computers along with removing viruses. But anyways, there are somemore "stuff" i've come across that I thought would be worth posting. Some of these resources could be older and may [...]
Popularity: 62% [?]
Textbox Manipulation in VB and .NET - Using API
Monday, July 21st, 2008
This is a basic article on how to do various textbox manipulating that isn't exposed in your normal VB or VB.NET textbox like Page Left or Scroll to the Edge (That I am aware of anyways).
Note: These codes are basically taken from a example I made at my vbcodesource.com site for VB.NET that shows [...]
Popularity: 100% [?]
Check if a File or Directory Exists using Visual Basic 6.0
Tuesday, April 8th, 2008There could be a time when you need to check if files or folders/directories exists or not. There are actually a few different ways to accomplish this task. Some ways is by messing around with the Dir Function located in the FileSystem Class, the Windows API or using the FileSystemObject located in the Windows Scripting [...]
Popularity: 57% [?]
Textbox Scroll Cursor to Top or Bottom with VB and VB.NET (Updated Again!)
Friday, February 15th, 2008 I originally made this post for VB 5.0 or VB 6.0, but I figured I would go ahead and add the .Net code here as well. The first codes is for VB 6.0 and the code after is for Visual Basic.NET 02/03, 2005, 2008.
'VB 5.0/6.0
In classic VB this will scroll to the bottom [...]
Popularity: 58% [?]
Clear all Textboxes on Form (UPDATED!)
Thursday, February 7th, 2008
This code will clear all textbox controls on the form. The second code near the bottom of the post will clear all control but bypassing certain ones.
'VB 5.0 and Visual Basic 6.0
Public Sub ClearAllText(ByVal frm As Form, ByVal ctl As Control)
For Each ctl In frm
If TypeOf ctl Is TextBox Then
ctl.Text [...]
Popularity: 22% [?]
« Previous Entries