Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

(Page 19 of 133) 3985 Result(s) found 

 

GetDriveTypeEx - Detect drive type, including CD or DVD driver
Total Hit (6430) «code LangId=1»Private Type DEVICE_MEDIA_INFO Cylinders As Double MediaType As STORAGE_MEDIA_TYPE TracksPerCylinder As Long SectorsPerTrack As Long BytesPerSector As Long NumberMediaSides As Long MediaCharacteristics As Long End Type Private Type GET_MEDIA_TYPES ....Read More
Rating
GetFilebaseName - Retrieve the base portion in a file name
Total Hit (1270) «Code LangId=1»' Retrieve a file's base name ' if the second argument is true, the result include the file's path Function GetFileBaseName(FileName As String, Optional ByVal IncludePath As _ Boolean) As String Dim i As Long, startPos As Long, endPos As Long startPos = 1 ....Read More
Rating
GetFileDateInfo - Retrieve all date information about a file
Total Hit (3063) «Code LangId=1» Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As Integer End Type Private Type FILETIME dwLowDateTime As Long ....Read More
Rating
GetFileDescription - Get a file's description through Windows API
Total Hit (1759) «Code LangId=1»Private Const MAX_PATH = 260 Private Type SHFILEINFO hIcon As Long iIcon As Long dwAttributes As Long szDisplayName As String * MAX_PATH szTypeName As String * 80 End Type Private Declare Function SHGetFileInfo Lib "Shell32" Alias "SHGetFileInfoA" _ ....Read More
Rating
GetFileDescriptionFromReg - Get a file's description from the registry
Total Hit (1501) «Code LangId=1»' get the description of a file from the registry ' or a null string if the file's extension isn't registered ' ' NOTE: requires the GetRegistrtValue function Function GetFileDescriptionFromReg(ByVal FileName As String) As String Const HKEY_CLASSES_ROOT = &H80000000 ....Read More
Rating
GetFileExtension - The extension in a filename
Total Hit (1682) «Code LangId=1»' Return the extension of a file name Function GetFileExtension(ByVal FileName As String) As String Dim i As Long For i = Len(FileName) To 1 Step -1 Select Case Mid$(FileName, i, 1) Case "." GetFileExtension = Mid$(FileName, i + 1) ....Read More
Rating
GetFileIcon - Retrieve the icon associated to a file
Total Hit (4475) «Code LangId=1»Private Const MAX_PATH = 260 Private Type SHFILEINFO hIcon As Long iIcon As Long dwAttributes As Long szDisplayName As String * MAX_PATH szTypeName As String * 80 End Type Private Declare Function SHGetFileInfo Lib "Shell32" Alias "SHGetFileInfoA" _ ....Read More
Rating
GetFileOwner - Get the owner of an NTFS file
Total Hit (4620) «Code LangId=1»Private Declare Function GetFileSecurity Lib "advapi32.dll" Alias _ "GetFileSecurityA" (ByVal lpFileName As String, ByVal RequestedInformation _ As Long, pSecurityDescriptor As Byte, ByVal nLength As Long, _ lpnLengthNeeded As Long) As Long Private Declare Function Ge ....Read More
Rating
GetFilePath - Extract the path portion of a file name
Total Hit (3081) «Code LangId=1» ' Retrieve a file's path ' ' Note: trailing backslashes are never included in the result Function GetFilePath(FileName As String) As String Dim i As Long For i = Len(FileName) To 1 Step -1 Select Case Mid$(FileName, i, 1) Case ":" ....Read More
Rating
GetFiles - Returns all the files in a directory
Total Hit (1345) «Code LangId=1»' Returns a collection holding all the filenames that ' match a given filespec and search attributes. Function GetFiles(filespec As String, Optional Attributes As VbFileAttribute) _ As Collection Dim filename As String Set GetFiles = New Collection ....Read More
Rating
GetFilesInfo - Read all the information about all the files or subdires in a given path
Total Hit (2347) «Code LangId=1»Option Explicit Private Declare Function FindFirstFile Lib "kernel32" Alias "FindFirstFileA" _ (ByVal lpFileName As String, lpFindFileData As WIN32_FIND_DATA) As Long Private Declare Function FindNextFile Lib "kernel32" Alias "FindNextFileA" _ (ByVal hFindFile As Long, ....Read More
Rating
GetFileVersionData - Retrieve file versioning information
Total Hit (1838) «Code LangId=1»Private Declare Function GetFileVersionInfoSize Lib "version.dll" Alias _ "GetFileVersionInfoSizeA" (ByVal lptstrFilename As String, _ lpdwHandle As Long) As Long Private Declare Function GetFileVersionInfo Lib "version.dll" Alias _ "GetFileVersionInfoA" (ByVal lptstr ....Read More
Rating
GetShortenedFileName - Make a filename shorter using ellipses
Total Hit (1402) «Code LangId=1» ' return a file path not longer than the number of character ' specified in the 2nd argument ' ' If necessary, it replaces directory names with ellipsises ' ' Author: Fred Block ' CuzWare Systems ' E-mail: fblock@cuzware.com ' Web Site: http://www.cu ....Read More
Rating
GetShortFileName - Convert a filename to 8.3 format
Total Hit (3741) «Code LangId=1» Private Declare Function GetShortPathName Lib "kernel32" Alias _ "GetShortPathNameA" (ByVal lpszLongPath As String, _ ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long ' Convert a long filename into the short 8.3 format ' if the file doesn't exist, retur ....Read More
Rating
GetTempFile - Create a temporary file
Total Hit (2369) «Code LangId=1» Private Declare Function GetTempFileName Lib "Kernel32" Alias _ "GetTempFileNameA" (ByVal lpszPath As String, _ ByVal lpPrefixString As String, ByVal wUnique As Long, _ ByVal lpTempFileName As String) As Long Private Declare Function GetTempPath Lib "Kernel32" Alias ....Read More
Rating
IsExecFile - Check whether a file is an executable file
Total Hit (1115) «Code LangId=1»'check whether the specified file is an executable, ' by checking the last 4 characters. 'Example: MsgBox "File is exe: " & IsExecFile("C:\windows\notepad.exe") Function IsExecFile(ByVal sFileName As String) As Boolean Dim sExt As String On Error Resume Next ....Read More
Rating
ListFiles - List all the files in a directory or directory tree
Total Hit (1304) «Code LangId=1» ' list all the files in a directory ' if NESTEDDIRS = True it lists a whole directory tree ' ' returns a 1-based array containing all the listed files Function ListFiles(ByVal Path As String, Optional ByVal NestedDirs As Boolean) _ As String() Dim fso As New Scripti ....Read More
Rating
LongPathName - Convert a 8.3 file name to long format
Total Hit (1771) «Code LangId=1»Private Declare Function GetLongPathName Lib "kernel32" Alias _ "GetLongPathNameA" (ByVal lpszShortPath As String, _ ByVal lpszLongPath As String, ByVal cchBuffer As Long) As Long Const MAX_PATH = 260 ' Convert a short file/path name to a long name ' the file or path ....Read More
Rating
MakeDirPath - Create a path, including intermediate directories
Total Hit (1244) «Code LangId=1»' Create a nested directory ' ' This is similar to the MkDir command, but it creates any ' intermediate directory if necessary Sub MakeDirPath(dirname As String) Dim i As Long, path As String Do i = InStr(i + 1, dirname & "\", "\") path = Left$ ....Read More
Rating
MakeFileName - Create a file name out of its parts
Total Hit (1356) «Code LangId=1» ' Make a complete file name by assemblying its individual parts ' if Extension isn't omitted, it overwrites any extension held in BaseName Function MakeFileName(Drive As String, Path As String, BaseName As String, _ Optional Extension As String) ' add a trailing col ....Read More
Rating
MakePath - Create a nested directory
Total Hit (1534) «Code LangId=1»' create a nested directory ' ' it's similar to MkDir, but it also creates ' all intermediary sub-directories Sub MakePath(ByVal path As String) Dim i As Integer, ercode As Long On Error Resume Next Do ' get the next path chunk i = InStr(i ....Read More
Rating
ReadFromStdInput - Read from standard input stream
Total Hit (2987) «Code LangId=1»Private Declare Function GetStdHandle Lib "kernel32" (ByVal nStdHandle As Long) _ As Long Private Declare Function ReadFile Lib "kernel32" (ByVal hFile As Long, _ lpBuffer As Any, ByVal nNumberOfBytesToRead As Long, _ lpNumberOfBytesRead As Long, lpOverlapped As Any) ....Read More
Rating
SearchFileOnPath - Search a file on system path
Total Hit (1282) «Code LangId=1» Private Declare Function SearchPath Lib "kernel32" Alias "SearchPathA" (ByVal _ lpPath As String, ByVal lpFileName As String, ByVal lpExtension As String, _ ByVal nBufferLength As Long, ByVal lpBuffer As String, _ ByVal lpFilePart As String) As Long ' Search a fil ....Read More
Rating
SetFileSize - Trim or extend a file's size
Total Hit (2236) «Code LangId=1» Option Explicit Private Declare Function CreateFile Lib "kernel32" Alias "CreateFileA" (ByVal _ lpFileName As String, ByVal dwDesiredAccess As Long, _ ByVal dwShareMode As Long, lpSecurityAttributes As Any, _ ByVal dwCreationDisposition As Long, ByVal dwFlagsAndAt ....Read More
Rating
ShortPathName - Convert a long file name to 8.3 format
Total Hit (2516) «Code LangId=1»Private Declare Function GetShortPathName Lib "kernel32" Alias _ "GetShortPathNameA" (ByVal lpszLongPath As String, _ ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long Const MAX_PATH = 260 ' Convert a long file/path name to a short 8.3 name ' the path m ....Read More
Rating
SynchronizeDirectories - Synchronize the contents of two directories
Total Hit (1668) «Code LangId=1»' Synchronize two directories ' ' This routine compares source and dest directories and copies files ' from source that are newer than (or are missing in) the destination directory ' if TWOWAYSYNC is True, files are synchronized in both ways ' NOTE: requires the CompareDirec ....Read More
Rating
SynchronizeDirectoryTrees - Synchronize files in two directory trees
Total Hit (1545) «Code LangId=1»' Synchronize two directory subtrees ' ' This routine compares source and dest directory trees and copies files ' from source that are newer than (or are missing in) the destination directory ' if TWOWAYSYNC is True, files are synchronized in both ways ' NOTE: requires the C ....Read More
Rating
SystemDirectory - The path of the System directory
Total Hit (1389) «Code LangId=1» Private Declare Function GetSystemDirectory Lib "kernel32" Alias _ "GetSystemDirectoryA" (ByVal lpBuffer As String, _ ByVal nSize As Long) As Long ' The path of the System directory Function SystemDirectory() As String Dim buffer As String * 512, length As Int ....Read More
Rating
VolumeLabel - Read the label of a disk volume
Total Hit (1340) «Code LangId=1»' Return the volume label of a disk ' Pass a null string for the current disk Function VolumeLabel(drive As String) As String Dim temp As String On Error Resume Next temp = Dir$(drive, vbVolume) ' remove the period after the eigth character VolumeLabel = ....Read More
Rating
WindowsDirectory - The path of the Windows directory
Total Hit (1587) «Code LangId=1»Private Declare Function GetWindowsDirectory Lib "kernel32" Alias _ "GetWindowsDirectoryA" (ByVal lpBuffer As String, _ ByVal nSize As Long) As Long ' Return the path of the Windows directory Function WindowsDirectory() As String Dim buffer As String * 512, lengt ....Read More
Rating


(Page 19 of 133) 3985 Result(s) found  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ...

Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.