Article View: chile.comp.programacion
Article #2813Re: Bajar un archivo de internet con visual basic
From: RobertoCL
Date: Wed, 21 Sep 2005 23:26
Date: Wed, 21 Sep 2005 23:26
27 lines
1914 bytes
1914 bytes
"Manuel Villarroel" <someone@somewhere.com> escribi๏ฟฝ en el mensaje news:dgs9oo$l12$1@helcaraxe.dcc.uchile.cl... > Alguien sabe como se hace esto? Al intenter el siguiente codigo me aparece > un error, > > Sub bajarArchivo() > Dim bytes() As Byte > 'aqui no puede crear el objeto > Dim inet As New InetCtlsObjects.Inet > Dim url As String > url = "http://www.dcc.uchile.cl/~mavillar/frases.txt" > bytes() = inet.OpenURL(url, icByteArray) > 'copiar los bytes a un archivo... > End Sub > > Aparece :"El componente ActiveX no puede crear el objeto" > Al principio no tenia el archivo del activex en mi pc (msinet.ocx), > lo descargue (a windows\system32) y lo registre con el comando > "Regsvr32 MSINET.ocx" y aun asi me aparece este error. > Alguna ayuda? > http://support.microsoft.com/default.aspx?scid=kb;en-us;313984 Y ponerlo como componente? CTRL+T -- RCL
Technical Details
Message-ID:
<dgsq32$gpf$1@proxy.ifxnw.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!diablo.efnet.com!efnet.com!nntp-server.pubsub.com!news1.nivel5.cl!news2.ifxnw.cl!not-for-mailReferences:
<dgs9oo$l12$1@helcaraxe.dcc.uchile.cl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,a1b176e819b8e1de X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!diablo.efnet.com!efnet.com!nntp-server.pubsub.com!news1.nivel5.cl!news2.ifxnw.cl!not-for-mail From: "RobertoCL" <rcl2020NOSPAM@hotmail.com> Newsgroups: chile.comp.programacion Subject: Re: Bajar un archivo de internet con visual basic Date: Wed, 21 Sep 2005 19:26:18 -0400 Organization: IFX Networks News Server Lines: 29 Message-ID: <dgsq32$gpf$1@proxy.ifxnw.cl> References: <dgs9oo$l12$1@helcaraxe.dcc.uchile.cl> NNTP-Posting-Host: 200.73.30.63 X-Trace: proxy.ifxnw.cl 1127345058 17199 200.73.30.63 (21 Sep 2005 23:24:18 GMT) X-Complaints-To: abuse@ifxnetworks.com NNTP-Posting-Date: Wed, 21 Sep 2005 23:24:18 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original