MSINET.OCX and vb.net

  • 12 years ago

    I convert code from vb6 to vb.net in studio 2005. I meet the peace of the code which uses MSINET.OCX. However I did not find similar control in .net environment.

    I see also constant in the code like icNamedProxy, Convertor changed this name into

    InetCtlsObjects.AccessConstants.icNamedProxy. However it gives me a error and I do not have idea how to fix it.

    Thank you, Aleks Kleyn

  • 12 years ago

    Hi Aleks

    may be you were using the old Inet ActiveX control in your project before migration:
    Right click the toolbox and select "Add/Remove Items..."
    Click on the [COM] tab when the dialog opens.
    Scroll down the list, and check "Microsoft Internet Transfer Control"
    The control can then be placed on a form just like in VB6.
    You must have VB6 installed to be licensed to use the Inet control.
    I would recomment not using the Inet control, but rather use the new .NET classes to do the work.





    For more information about .NEt classes check the following links:

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is anticipated with distaste, performed with reluctance, and bragged about forever.” - Dan Kaminsky