Article View: chile.comp.programacion
Article #1275Re: Ayuda!. Leer ComboBox y seleccionar elemento en VB
From: Rapidwagen
Date: Mon, 20 Nov 2006 05:12
Date: Mon, 20 Nov 2006 05:12
67 lines
2923 bytes
2923 bytes
gracias por tu ayuda!!, ya cach� como se hac�a y lo encontr� despu�s de horas googleando hasta que di con la siguiente p�gina que solucion� mi problema: http://dieumsnh.qfb.umich.mx/VisualBasic/parte5.htm#LIST%20BOX%20%20Y%20COMBO%20BOX y el c�digo que utilic� para leer el combobox y extraer la funci�n fue: r = txtArea.Text x = cmbFuncion.ListIndex s = cmbFuncion.List(x) s = txtFuncion.Text siendo x como Integer, r como double y s como String. cmbFunci�n un ComboBox, txtArea y txtFunci�n como TextBox. Luego muestra la funci�n y pude operarla sin ning�n problema :) Gracias Michael por todo, y te mando un mail a lo mejor, ya que tengo un problema con el separador de d�gitos :(. Saludos!!! "Michael" <wolfito-NOSPAM-por_favorcito@vtr.net> wrote in message news:ejqnq6$ean$1@news.nivel5.cl... > con el evento del combo .. > ahi tienes que escribir tu funcion > > tuvariable = combobox1.selecteditem > > dame mas detalles o mandame un correo si necesitas mas ayuda > > > > "Rapidwagen" <pid@nmelo.ok> escribi� en el mensaje > news:ejpr6f$5ju$1@news.nivel5.cl... > > Hola Amigos! > > Tengo un gran problema en Visual Basic. Requiero rescatar los elementos > > contenidos en un ComboBox, �ste trae funciones que son cargadas desde un > > archivo, las carga y las muestra, pero no tengo idea como puedo > seleccionar > > una desde el ComboBox y luego hacerla funci�n... > > Cualquier dato, sitio web, informaci�n o el propio c�digo me es �til en > este > > minuto!! > > > > Saludos!! y gracias > > > > P.D) Me mandaron a hacer un programa que resuelva una integral por medio > de > > Simpson, estoy listo por la parte de simpson, pero falta seleccionar la > > funci�n a integrar desde un ComboBox. > > > > -- > > Suzuki Vitara JX 1998 > > > > Claudio Gonz�lez > > www.fotolog.com/rapidwagen <--- Mental Bin > > hp_asus[of]hot::ail.com <--- e-mail > > > > > > > > > > > > > > >
Technical Details
Message-ID:
<ejra07$kjq$1@news.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mailReferences:
<ejpr6f$5ju$1@news.nivel5.cl> <ejqnq6$ean$1@news.nivel5.cl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,2997f61a00e570b X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail From: "Rapidwagen" <pid@nmelo.ok> Newsgroups: chile.comp.programacion Subject: Re: Ayuda!. Leer ComboBox y seleccionar elemento en VB Date: Mon, 20 Nov 2006 02:12:19 -0300 Organization: Varios Lines: 69 Message-ID: <ejra07$kjq$1@news.nivel5.cl> References: <ejpr6f$5ju$1@news.nivel5.cl> <ejqnq6$ean$1@news.nivel5.cl> NNTP-Posting-Host: pc-83-242-104-200.cm.vtr.net X-Trace: news.nivel5.cl 1163995975 21114 200.104.242.83 (20 Nov 2006 04:12:55 GMT) X-Complaints-To: news@news.nivel5.cl NNTP-Posting-Date: Mon, 20 Nov 2006 04:12:55 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807