Question about MSINET.OCX

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi Lucy

I have found that msinet.ocx is more trouble than it is worth. See if you
can use something else like Microsoft.XMLHTTP to accomplish what you are
trying to do.

Regards
 
lucy said:
I use MSINET.OCX in my VB.NET applicatoin. I've registered (by regsvr32)
and
added it into reference for COM interop. The application works at the PC
with both VB 6 and VS.NET installed. But it fails with error "Class is not
licensed for use" in the PC with VS.NET installed only.

PRB: Errors When You Use Visual Basic 6.0 Controls in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;318597>
 
I use MSINET.OCX in my VB.NET applicatoin. I've registered (by regsvr32) and
added it into reference for COM interop. The application works at the PC
with both VB 6 and VS.NET installed. But it fails with error "Class is not
licensed for use" in the PC with VS.NET installed only.
Does anyone know whether I have anything missed?
Thank you very much!
 
lucy said:
I use MSINET.OCX in my VB.NET applicatoin. I've registered (by
regsvr32) and added it into reference for COM interop. The application
works at the PC with both VB 6 and VS.NET installed. But it fails with

Its best to use something else, .NET native and avoid OCX's. What are you trying to accomplish
exactly?


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
 
In fact, I'm upgrading an application from VB 6 to VS.NET. This application
needs to upload & download files via FTP with the help of MSINET.OCX. Due to
the time limitation, I would like to keep to use OCX.
Thanks for John's advice. I would take a look of Microsoft.XMLHTTP to see if
it is suitable for me.
 
lucy said:
In fact, I'm upgrading an application from VB 6 to VS.NET. This
application needs to upload & download files via FTP with the help of
MSINET.OCX. Due to the time limitation, I would like to keep to use
OCX. Thanks for John's advice. I would take a look of
Microsoft.XMLHTTP to see if it is suitable for me.

XMLHTTP will not help you with FTP trasnfers. Try Indy, its free and open source:
http://www.indyproject.org

It supports FTP and can readily be used in VB.NET.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top