Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE
Dim Index ' Index to recording drive. Dim recorder ' Recorder object Dim Stream ' Data stream for burning device Index = 1 ' Second drive on the system ' Create a DiscMaster2 object to connect to CD/DVD drives. Dim g_DiscMaster Set g_DiscMaster = WScript.CreateObject("IMAPI2.MsftDiscMaster2") ' Create a DiscRecorder object for the specified burning device. Dim uniqueId set recorder = WScript.CreateObject("IMAPI2.MsftDiscRecorder2") uniqueId = g_DiscMaster.Item(index) recorder.InitializeDiscRecorder( uniqueId ) ' Define the new disc format and set the recorder Dim dataWriter Set dataWriter = CreateObject ("IMAPI2.MsftDiscFormat2Data") dataWriter.recorder = recorder Dim boolResult boolResult = dataWriter.IsRecorderSupported(recorder) If boolResult = True then WScript.Echo "--- Current recorder IS supported. ---" else WScript.Echo "Current recorder IS NOT supported." end if boolResult = dataWriter.IsCurrentMediaSupported(recorder) If boolResult = True then WScript.Echo "--- Current media IS supported. ---" else WScript.Echo "Current media IS NOT supported." end if WScript.Echo "ClientName = " & dataWriter.ClientName ' Check a few CurrentMediaStatus possibilities. Each status ' is associated with a bit and some combinations are legal. Dim curMediaStatus curMediaStatus = dataWriter.CurrentMediaStatus WScript.Echo "Checking Current Media Status"