Results 1 to 1 of 1

Thread: VB.NET and MSINET.OCX

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2002
    Posts
    77

    VB.NET and MSINET.OCX

    I have written a vb.net program using MSINET.OCX. I used this because I was unable to find any help on doing it using VB.NET. Anyway it all works ok except that I have to have VB5 installed to make it work. I have tried using regsvr32 to register the OCX but it still doesn't work. there are no error messages displayed on the screen or in event viewer; it just goes to sleep. the line that does not return is:

    INET1.Execute(, "PUT " + SENDFILE + " " + HOSTDIR + HOSTFILE)


    I have now resolved this problem but I don't anderstand the solution.

    instead of using: Dim INET1 As New InetCtlsObjects.Inet()
    I have right clicked on the TOOLKIT and CUSTOMISED to add the MSINET control and then dropped the control directly onto the FORM.

    Both of these options work on the PC that the program was written but to make it work on another PC the control must be dropped on the form.

    Can anyone explain why this is?
    Last edited by grahamxyz; Oct 14th, 2002 at 05:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width