VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This Includes ALL of Karthikeyans API Code into module-type procedures.

Written by (FULL CREDITS) Karthikeyan, compiled by DiskJunky  (1 Submission)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Fri 15th December 2000   Mon 8th February 2021

This Includes ALL of Karthikeyans API Code into module-type procedures.

API Declarations


'got to Karthikeyan for writing all these procedures and
'functions.



Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Private Declare Function SetComputerName Lib "kernel32" Alias "SetComputerNameA" (ByVal lpComputerName As String) As Long
Private Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Private Declare Sub SHAddToRecentDocs Lib "shell32.dll" (ByVal uFlags As Long, ByVal pv As Any)
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long)
Private Declare Function SwapMouseButton Lib "user32" (ByVal bSwap As Long) As Long
Private Declare Function WNetConnectionDialog Lib "mpr.dll" (ByVal hwnd As Long, ByVal dwType As Long) As Long
Private Declare Function WNetDisconnectDialog Lib "mpr.dll" (ByVal hwnd As Long, ByVal dwType As Long) As Long
Private Declare Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" (ByVal hWnd As Long, ByVal szApp As String, ByVal szOtherStuff As String, ByVal hIcon As Long) As Long
Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Private Declare Function CopyFile Lib "kernel32.dll" Alias "CopyFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long
Private Declare Function MoveFile Lib "kernel32.dll" Alias "MoveFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String) As Long


Private Const SHARD_PIDL = 1
Private Const SHARD_PATH = 2
Private Const Show = 1
Private Const Hide = 0
Private Const Swap = 1
Private Const Normal = 0
Private Const NetDialogue = 1
Private Const LPTDialogue = 2


Rate This Includes ALL of Karthikeyans API Code into module-type procedures. (1(1 Vote))
This Includes ALL of Karthikeyans API Code into module-type procedures..bas

This Includes ALL of Karthikeyans API Code into module-type procedures. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters