Search Tools Links Login

Running ASP on NT wihout IIS


Want to solve those IIS server restart issues - read this article - the web serving platform you dreamt of on NT ?

Original Author: Bryan Carmichael

Code

' This should work with ALL versions of VB, BUT
' It was only tested with VB4 (16-Bit). I will
' Be sure to test it on VB6. Just Follow the code
' Below
Make a timer and name it Timer1
Set its Enabled property to False
Now set its Interval Property to the time you want the action to occur.
Make 2 command buttons.
Label 1 of them ON
and
the other OFF.
'In Timer1 Place the following code
retvalue = mciSendString("set CDAudio door open", returnstring, 127, 0)
retvalue = mciSendString("set CDAudio door closed", returnstring, 127,0)
' In Command1 labeled On place the following code
Timer1 = Enabled
' In Command2 labeled OFF place the following code
Timer1 = Disbaled

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 92 times

Categories

ASP/ HTML

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.