VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



CD Autorun feature for your program.

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.

Rate 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

Download this snippet    Add to My Saved Code

CD Autorun feature for your program. Comments

No comments have been posted about CD Autorun feature for your program.. Why not be the first to post a comment about CD Autorun feature for your program..

Post your comment

Subject:
Message:
0/1000 characters