VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Basic autorun function.

by Autorun (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sun 17th July 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Basic autorun function.

API Declarations


2)Also Make a timer on the form.

Rate Basic autorun function.



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

Download this snippet    Add to My Saved Code

Basic autorun function. Comments

No comments have been posted about Basic autorun function.. Why not be the first to post a comment about Basic autorun function..

Post your comment

Subject:
Message:
0/1000 characters