VBnet Methods Reference
Methods - S
S
SaveFile FindFirstFile: Save a Recursive Search of All Drives to Disk
FindFirstFile: Save a Recursive Search of Specified Drives to Disk
SearchForFiles ExtractIcon: Viewing Application Icons in a Scrollable Viewport
FindFirstFile: Changing File and/or Folder Attributes Recursively
FindFirstFile: Comparison of FindFirstFile and SearchTreeForFile
FindFirstFile: Recursive File Search (minimal code)
FindFirstFile: Recursive File Search for Single or Multiple File Types (minimal code)
FindFirstFile: Recursive File Search Including/Excluding Single or Multiple File Types (minimal code)
GetFileVersionInfo: File Search and File Property Info
GetPrivateProfileString: Parse IE Favorites Information
SearchForFilesArray FindFirstFile: Save a Recursive Search of All Drives to Disk
FindFirstFile: Save a Recursive Search of Specified Drives to Disk
SearchForFolders FindFirstFile: Comparison of FindFirstFile and SearchTreeForFile
FindFirstFile: Recursive Search for Folders (minimal code)
FindFirstFile: Recursive Search for Folders Using a Folder Mask (minimal code)
SearchPathForFile FindFirstFile: Comparison of FindFirstFile and SearchTreeForFile
SearchSystemForFile FindFirstFile: Comparison of FindFirstFile and SearchTreeForFile
SelectionSortNumbers Pure VB: Quick, Shell, Bubble and Selection Sort Performance Comparisons
SelectNewTestDate SetFileTime: Modify the Date/Time of Folders and Files
SetCheck SendMessage: Toggle ListView Check Box State
SendMessage: Using ListView API Check Boxes
SetCheckAllItems SendMessage: Using ListView API Check Boxes
SetCheckInvertAll SendMessage: Using ListView API Check Boxes
SetCheckStateOfChildren SetWindowLong: Add TreeView Check Boxes via API
SetControlStates CreateWindowEx: Create the Common Control Header
SetControlStyle SetWindowLong: Turn a Text Box into a Resizable Control
SetDefaultPrinterWinNT WriteProfileString: Changing Windows' Default Printer
SetDefPrinter WriteProfileString: Changing Windows' Default Printer
SetDialogState Pure VB: Simulating Owned Windows for MDI Children
SetHeaderFontStyle CreateFontIndirect: Change ListView Header Text Style
SetHighlightColumn Pure VB: Highlight a Listview Report Column
WM_NOTIFY: Track Highlighted ListView Column Width Changes via Subclassing
SetKeyValue RegSetValueEx: Create a Registered File Association
SetListViewLedger Pure VB: Create a Ledger-Style Listview Report Background
SetListViewLedgerRows Pure VB: Create a Ledger-Style Listview Report Background with Custom Height
SetMenuColour SetMenuItemInfo: Custom Application Menu Colours
SetMenuScroll SetMenuItemInfo: Menu Scroll a Standard VB Menu
SetOSVersion GetOpenFileName: Advanced Dialog Centering using a Callback
GetOpenFileName: Customize File Open/Save Common Dialog Controls
GetOpenFileName: File Dialog Centering using a Callback
GetOpenFileName: Forcing an Open/Save Dialog's Initial Listview View
SetParts CreateStatusWindow: The Common Control Status Bar via API
SetPathQuotes PathQuoteSpaces: Returns Quoted Path String if Spaces Found
SetProgressBackColour SendMessage: Change the Colour of a VB ProgressBar
SetProgressBarColour SendMessage: Change the Colour of a VB ProgressBar
SetRadioMenuChecksB SetMenuItemInfo: Using Radio Buttons Instead of Menu Checkmarks
SetShellVersion IsShellVersion
Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Display Systray Balloon Tips
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
Shell_NotifyIcon: Windows Systray NOTIFYICONDATA Overview
SetSysMenuColour SetMenuItemInfo: Custom Application Menu Colours
SetText CreateStatusWindow: The Common Control Status Bar via API
SetToolbarCaption FindWindowEx: Fix the IE5/MsComCtrl 5 Toolbar Problem
SetTVBackColour SetWindowLong: Apply TreeView Special Effects
SetTVForeColour SetWindowLong: Apply TreeView Special Effects
SetTVItemCheckImage SetWindowLong: Add TreeView Check Boxes via API
SetTVStyle SendMessage: Toggling TreeView Check Box Visibility
SetWindowLong: Add TreeView Check Boxes via API
SetupCueControl Pure VB: Cue Banners for the XP Impaired
SetupInit Find and Replace - Step 2: Building the Find/Replace Form
SetValueEx RegSetValueEx: Create a Registered File Association
ShareAdd NetShareAdd: Create a Local or Remote Share
ShellDelete SHFileOperation: Copy, Move or Delete Files
ShellDeleteOne SHFileOperation: Add Recycle Bin Functionality
ShellMoveFiles SHAddToRecentDocs: Create an App Shortcut (Workaround - Pre-XP)
ShellRenameFile SHAddToRecentDocs: Create an App Shortcut (Workaround - Pre-XP)
ShellSortNumbers Pure VB: Quick, Shell, Bubble and Selection Sort Performance Comparisons
ShellTrayAdd Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Display Systray Balloon Tips
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Windows Systray NOTIFYICONDATA Overview
ShellTrayBalloonTipClose Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
ShellTrayBalloonTipShow Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
ShellTrayIconAdd Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
ShellTrayIconRemove Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
ShellTrayModifyImage Shell_NotifyIcon: Animate the System Tray Icon
ShellTrayModifyTip Shell_NotifyIcon: Display Systray Balloon Tips
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
ShellTrayRemove Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Display Systray Balloon Tips
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
ShiftBitsLeft Pure VB: Handy Functions for Working with Numbers
ShiftBitsRight Pure VB: Handy Functions for Working with Numbers
SHNotify_GetEventStr SHChangeNotifyRegister: Receive Shell Change Notifications
SHNotify_Register SHChangeNotifyRegister: Receive Shell Change Notifications
SHNotify_Unregister SHChangeNotifyRegister: Receive Shell Change Notifications
ShowHeaderIcon SendMessage: Add Images to a ListView Header
ShowMessage TransparentBlt: Simulating Microsoft's 'Windows Messenger' Notifications - Step 3: The Notification Form
ShowProperties ShellExecuteEx: Displaying a File's Property Page
ShellExecuteEx: Drive, Folder & File Property Pages
ShowQuestion WritePrivateProfileString: Creating a Quiz Application- Step 4: Building the Main Quiz Form
ShowResults IcmpSendEcho: Perform a Tracert (Trace Route) in VB
IcmpSendEcho: Perform a Tracert (Trace Route) in VB with Host Name Resolution
Slider_ActivateToolTips WM_CTLCOLORSTATIC: Change the Backcolour of a Slider
SmartCheckEnabled DeviceIoControl: Get a SMART Drive Serial Number
SmartGetVersion DeviceIoControl: Get a SMART Drive Serial Number
SmartOpen DeviceIoControl: Get a SMART Drive Serial Number
SocketsCleanup gethostbyaddr: Obtain Host Name from IP Address
gethostbyname: Determine Network Host Name and IP Address
gethostbyname: Resolve Host Name to IP Address
IcmpSendEcho: Perform a Tracert (Trace Route) in VB
IcmpSendEcho: Perform a Tracert (Trace Route) in VB with Host Name Resolution
IcmpSendEcho: Ping a Machine by Host Name
IcmpSendEcho: Ping a Machine by IP Address
IPRenewAddress: Release and Renew a DHCP IP Address
WSAEnumProtocols: Additional Data from Enumerated Windows Socket Protocols
WSAEnumProtocols: Enumerating Installed Windows Socket Protocols
SocketsInitialize gethostbyaddr: Obtain Host Name from IP Address
gethostbyname: Determine Network Host Name and IP Address
gethostbyname: Resolve Host Name to IP Address
IcmpSendEcho: Perform a Tracert (Trace Route) in VB
IcmpSendEcho: Perform a Tracert (Trace Route) in VB with Host Name Resolution
IcmpSendEcho: Ping a Machine by Host Name
IcmpSendEcho: Ping a Machine by IP Address
IPRenewAddress: Release and Renew a DHCP IP Address
WSAEnumProtocols: Additional Data from Enumerated Windows Socket Protocols
WSAEnumProtocols: Enumerating Installed Windows Socket Protocols
SplitDateTimeBias Win32_CodecFile: WMI Installed Codec File Info
Win32_LogicalProgramGroup: WMI Start Menu Program Groups
Win32_LogicalProgramGroupItem: WMI Start Menu Program Group Members
Win32_NetworkAdapterConfiguration: WMI Network Adapter Configuration
Win32_OperatingSystem: WMI Operating System Info
StartNewBrowser CreateProcess: Start Separate Instances of the Default Browser
StartShell GetWindowThreadProcessId: Obtain the hWnd of an App Started with Shell()
StringFromPointer GetLocaleInfo: System Calendar Information
SetLocaleInfo: Change System Long and Short Date Formats
StripDelimitedItem CopyFileEx: Create a File Backup App
CopyFileEx: Create a File Backup App with a Progress Callback
GetOpenFileName: Advanced Dialog Centering using a Callback
GetOpenFileName: File Dialog Centering using a Callback
GetOpenFileName: File Open Common Dialog Basics
StripDelimitedItem
StripExtension PathRemoveExtension: Returns Filename with Extension Removed
StripFileName Undocumented Windows: Path Functions
StripItem Pure VB: Retrieve Multiple Filenames from the Common Dialog Control
WritePrivateProfileString: INI Files - Saving Entire Sections
StripNull FtpFindFirstFile: Download Files via FTP with a Download Progress Callback
StripNulls DeviceIoControl: Determine Media Type for CD/DVD Drives
DeviceIoControl: Lock/Unlock Removable Media Devices
FindFirstFile: Enumerate Folders to a TreeView
FindFirstFile: Enumerate Folders to a TreeView, Advanced
GetDiskFreeSpace: Free Disk Space on Windows 95 (or Small Partitions)
GetDiskFreeSpaceEx: Determining Free Disk Space
GetDiskFreeSpaceEx: Free Disk Space on a Fat32 or NTFS Drive
GetDriveType: Enumerate and Identify Available System Drives
GetFileVersionInfo: Retrieve MS ODBC Driver Information
MapDebugInformation: Obtain Debugging Info for an Image
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Undocumented Windows: Format Disk Dialog
WNetGetUser: User, Share and Share User for Network Resources
WritePrivateProfileString: INI Files - Saving Entire Sections
WriteProfileString: Changing Windows' Default Printer
StripPath PathStripPath: Removes Path Portion of Fully-qualified Path/Filename
StripPathQuotes PathUnquoteSpaces: Removes Wrapping Quotes from Paths/Filenames
StripPathToRoot PathStripToRoot: Remove All Parts of a Path Except for Root Information
WNetGetConnection: Get UNC Path for Mapped Drive
StripRootFromPath PathSkipRoot: Parses Path Ignoring Drive or UNC Path
WNetGetConnection: Get UNC Path for Mapped Drive
StripTimeZoneBias Win32_CodecFile: WMI Installed Codec File Info
Win32_LogicalProgramGroup: WMI Start Menu Program Groups
Win32_LogicalProgramGroupItem: WMI Start Menu Program Group Members
Win32_NetworkAdapterConfiguration: WMI Network Adapter Configuration
Win32_OperatingSystem: WMI Operating System Info
StrToByteArray ChooseFont: Adding 'Apply' to the ChooseFont Dialog
ChooseFont: Using the LOGFONT Structure with ChooseFont
SubClass SHChangeNotifyRegister: Receive Shell Change Notifications
Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
WM_ACTIVATEAPP: Detect Application Activation State
WM_CTLCOLORSTATIC: Change the Backcolour of a Slider
WM_GETMINMAXINFO: Restrict Form Resizing
WM_TIMECHANGE: Detect System Changes to the Date/Time
SwapBytes DeviceIoControl: Get a SMART Drive Serial Number
SWordToUWord CopyMemory: Handy Macros to Convert Between Signed and Unsigned Integers
SynchronizeTOD SetSystemTime: Date and Time Synchronization to a Remote Server
SyncSystemClock SetSystemTime: SNTP Time Server Synchronization using Winsock

 
 

PayPal Link
Make payments with PayPal - it's fast, free and secure!

 
 
 
 

Copyright ©1996-2011 VBnet and Randy Birch. All Rights Reserved.
Terms of Use  |  Your Privacy