by Baldho (7 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 30th July 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
CD Autorun feature for your program.
Private Sub CDCheck_Timer()
On Error GoTo endofsub
ChDrive "C:" 'A hdd drive letter
ChDrive "D:" 'Your CD Drive letter
'begin autorun code here
MsgBox "there's a cd in da drive"
'end autorun code here
endofsub:
End Sub