<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comentarios en: Abrir y Cerrar la puerta del CD-ROM</title>
	<atom:link href="http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/</link>
	<description>Visual Basic.NET, VB.NET, Programación, Tutoriales, Ejemplos</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:25:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Por: Eduardo</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-2966</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Sun, 05 Jun 2011 04:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-2966</guid>
		<description>gracias jrchico</description>
		<content:encoded><![CDATA[<p>gracias jrchico</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: jrchico</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-2438</link>
		<dc:creator>jrchico</dc:creator>
		<pubDate>Sun, 12 Sep 2010 17:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-2438</guid>
		<description>deben agregar 3 botones y label y una picture
a
c
Button1

boton a es para abrir el cdrom
boton c es para cerrar
button1 es para salir de la aplicacion
label es opcional
picture es opcional</description>
		<content:encoded><![CDATA[<p>deben agregar 3 botones y label y una picture<br />
a<br />
c<br />
Button1</p>
<p>boton a es para abrir el cdrom<br />
boton c es para cerrar<br />
button1 es para salir de la aplicacion<br />
label es opcional<br />
picture es opcional</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: jrchico</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-2436</link>
		<dc:creator>jrchico</dc:creator>
		<pubDate>Sun, 12 Sep 2010 17:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-2436</guid>
		<description>hola amigo yo utilizo este codigo me funciona a la perfeccion:


Public Class Form1
    Private Declare Function mciSendString Lib &quot;winmm.dll&quot; Alias &quot;mciSendStringA&quot; (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As Integer

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles a.Click
        AbrirCDROM()
        a.Enabled = False
        c.Enabled = True
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles c.Click
        cerrarCDROM()
        c.Enabled = False
        a.Enabled = True
    End Sub

    Public Sub AbrirCDROM()
        mciSendString(&quot;set CDAudio door open&quot;, &quot;&quot;, 0, 0)
    End Sub

    Public Sub cerrarCDROM()
        mciSendString(&quot;set CDAudio door closed&quot;, &quot;&quot;, 0, 0)
    End Sub

    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Application.Exit()
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    End Sub
End Class</description>
		<content:encoded><![CDATA[<p>hola amigo yo utilizo este codigo me funciona a la perfeccion:</p>
<p>Public Class Form1<br />
    Private Declare Function mciSendString Lib &#8220;winmm.dll&#8221; Alias &#8220;mciSendStringA&#8221; (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As Integer</p>
<p>    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles a.Click<br />
        AbrirCDROM()<br />
        a.Enabled = False<br />
        c.Enabled = True<br />
    End Sub</p>
<p>    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles c.Click<br />
        cerrarCDROM()<br />
        c.Enabled = False<br />
        a.Enabled = True<br />
    End Sub</p>
<p>    Public Sub AbrirCDROM()<br />
        mciSendString(&#8220;set CDAudio door open&#8221;, &#8220;&#8221;, 0, 0)<br />
    End Sub</p>
<p>    Public Sub cerrarCDROM()<br />
        mciSendString(&#8220;set CDAudio door closed&#8221;, &#8220;&#8221;, 0, 0)<br />
    End Sub</p>
<p>    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
        Application.Exit()<br />
    End Sub</p>
<p>    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
    End Sub<br />
End Class</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Ismael</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-2195</link>
		<dc:creator>Ismael</dc:creator>
		<pubDate>Tue, 01 Jun 2010 16:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-2195</guid>
		<description>Esta bueno el programita!</description>
		<content:encoded><![CDATA[<p>Esta bueno el programita!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: cristian garcia</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-2066</link>
		<dc:creator>cristian garcia</dc:creator>
		<pubDate>Sat, 13 Feb 2010 20:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-2066</guid>
		<description>al principio yo no lo entendia pero viendolo varias veses lo pude entender un poco. pero el que si lo entiende bien es otoniel</description>
		<content:encoded><![CDATA[<p>al principio yo no lo entendia pero viendolo varias veses lo pude entender un poco. pero el que si lo entiende bien es otoniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: gustavo</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-1572</link>
		<dc:creator>gustavo</dc:creator>
		<pubDate>Wed, 23 Sep 2009 16:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-1572</guid>
		<description>a mi tambien me manda el mismo error que mustang, que es lo que sera?</description>
		<content:encoded><![CDATA[<p>a mi tambien me manda el mismo error que mustang, que es lo que sera?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: abc</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-1566</link>
		<dc:creator>abc</dc:creator>
		<pubDate>Sat, 19 Sep 2009 01:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-1566</guid>
		<description>-------------</description>
		<content:encoded><![CDATA[<p>&#8212;&#8212;&#8212;&#8212;-</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: eFra</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-1565</link>
		<dc:creator>eFra</dc:creator>
		<pubDate>Sat, 19 Sep 2009 01:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-1565</guid>
		<description>Pues lo probe en vb.net 2005 y todo funciona a la perfeccion... me gustaria participar con algunos ejemplos que yo tengo...</description>
		<content:encoded><![CDATA[<p>Pues lo probe en vb.net 2005 y todo funciona a la perfeccion&#8230; me gustaria participar con algunos ejemplos que yo tengo&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: mustang</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-1561</link>
		<dc:creator>mustang</dc:creator>
		<pubDate>Thu, 17 Sep 2009 14:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-1561</guid>
		<description>una curiosidad lo probe en visual net 2005
no me tira error ni nada, pero al ejecutarlo en el boton de abrir, abre pero visual tira un mensaje que es el siguiente:

A call to PInvoke function &#039;WindowsApplication1!WindowsApplication1.Form1::mciSendString&#039; has unbalanced the stack. This is likely because the managed 

error de MDAs..¿que significa eso?

gracias</description>
		<content:encoded><![CDATA[<p>una curiosidad lo probe en visual net 2005<br />
no me tira error ni nada, pero al ejecutarlo en el boton de abrir, abre pero visual tira un mensaje que es el siguiente:</p>
<p>A call to PInvoke function &#8216;WindowsApplication1!WindowsApplication1.Form1::mciSendString&#8217; has unbalanced the stack. This is likely because the managed </p>
<p>error de MDAs..¿que significa eso?</p>
<p>gracias</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Eliseo</title>
		<link>http://www.solovb.net/index.php/2009/09/01/abrir-y-cerrar-la-puerta-del-cd-rom/comment-page-1/#comment-1528</link>
		<dc:creator>Eliseo</dc:creator>
		<pubDate>Thu, 03 Sep 2009 11:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.solovb.net/?p=608#comment-1528</guid>
		<description>hola:
puedes usar este mismo código en visual basic .net 2005.

Suerte</description>
		<content:encoded><![CDATA[<p>hola:<br />
puedes usar este mismo código en visual basic .net 2005.</p>
<p>Suerte</p>
]]></content:encoded>
	</item>
</channel>
</rss>

