none
Inet.OpenURL Stopped Working! RRS feed

  • Question

  • Hi,

    I have a php script on my server and for many years I was using this code in VB6 SP6 and it was working well until recently (only tested in Windows 10 Enterprise x64 1803 last update)

    MyString = "http://www.xxx.com/xxx.php?xxx"

    VB6 Code which does not work and always return empty string:

    MyResponse = Inet.OpenURL(MyString, 1)

    Recently it returns an empty string!

    I have no firewall or anti virus and disable the Windows as well.

    I also have the same app written in VB.NET 2010 and it works on the same PC/OS:

    VB.NET Code which works well:

    Dim MyReader As StreamReader = New StreamReader(MyClient.OpenRead(MyString))

    Anything wrong with VB6 Inet.OpenURL stopped working recently?

    * My server script returns a single line string response! But VB6 Code now returns an empty string while .NET code works well

    Thanks.

    • Edited by OSVBNET Tuesday, April 2, 2019 2:50 PM
    Tuesday, April 2, 2019 2:47 PM

Answers

  • Thanks, but that was a very simple task, I thought maybe someone can help :)

    Since you have been a member since 2009 you should know that this forum is not for classic visual basic and doubt today that anyone here has knowledge of this issue.

    This is a decent post on your issue

    http://www.vbforums.com/showthread.php?854107-RESOLVED-Inet-Control-Stopped-Working


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    • Marked as answer by OSVBNET Tuesday, April 2, 2019 4:03 PM
    Tuesday, April 2, 2019 3:16 PM
    Moderator

All replies

  • If you want a good place to ask for VB6 go here

    http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Tuesday, April 2, 2019 2:53 PM
    Moderator
  • Thanks, but that was a very simple task, I thought maybe someone can help :)
    Tuesday, April 2, 2019 3:07 PM
  • Thanks, but that was a very simple task, I thought maybe someone can help :)

    Since you have been a member since 2009 you should know that this forum is not for classic visual basic and doubt today that anyone here has knowledge of this issue.

    This is a decent post on your issue

    http://www.vbforums.com/showthread.php?854107-RESOLVED-Inet-Control-Stopped-Working


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    • Marked as answer by OSVBNET Tuesday, April 2, 2019 4:03 PM
    Tuesday, April 2, 2019 3:16 PM
    Moderator
  • Yep, you're right, thanks for the link :)
    Tuesday, April 2, 2019 4:03 PM
  • Yep, you're right, thanks for the link :)
    Your welcome :-)

    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Tuesday, April 2, 2019 6:24 PM
    Moderator