Jobs
Author: Autorun Date Submitted: 7/17/2005 Category: Other Compatibility: VB 6,VB 5 This code has been accessed 4401 times.
Email Yourself this snippet:
1)Add this program to Task Scheduler for When My Computer Starts. 2)Also Make a timer on the form.
Code
Sub Form_Load () Me.Visible = False Timer1.Interval = 1000 End Sub Sub Timer1_Timer () Dim f,d On Error Goto EndSub f = FreeFile Open “A:\autorun.inf” For Input As f Line Input #1, d Close f GetAttr f Shell f EndSub: End Sub