Re: .exe Crashs after a Open Cd Drive Command
Blacktronics wrote:
Hi All i done a Fake Virus in visual Basic 6.0 but it won´t work like it have to do i made some error messages and then this part :
Dim lRet As Long
lRet = mciSendString("set CDAudio door open", returnstring, 127, 0)
I know this is an old topic but no one has given a useful solution.
I made an app like this 8 years ago.
When you open a CD Rom door you use
[b:2b0129iv]Call mciSendString("Set CDAudio Door Open", 0&, 0&, 0&)[/b:2b0129iv]
when you close it you would use
[b:2b0129iv]Call mciSendString("Set CDAudio Door Closed", 0&, 0&, 0&)[/b:2b0129iv]