Futuristic Storm
Jul 31st, 2000, 10:33 PM
Dear fellow programmers,
I've been writing an application that requires a socket on the internet. By doing this I have used the Winsock connect method together with .RemoteHost and .RemotePort properties. While stepping thru each line of code, the 'Dial-up Connection' box appears after executing Winsock.Connect statement without trouble. However, after making the source into an executable file, my program no longer prompts the user with the 'Dial-up Connection' box!
My machine is running Windows 95 with Internet Explorer 4 and programming in VB5 professional edition.
The program I've tried testing with is:
Private Sub Command1_Click()
Winsock.RemoteHost = "www.msn.com" 'RemoteHost can be any valid URL
Winsock.RemotePort = 80
Winsock.Connect
End Sub
I then tried testing my program on another machine running Windows 98 with IE5 and the executable program works without a hitch. That is, it brought up the 'Dial-up Connection' box each time!
Can anyone please explain why this is happening with any remedy or solutions to this problem? Any other information will be greatly appreciated.
I've been writing an application that requires a socket on the internet. By doing this I have used the Winsock connect method together with .RemoteHost and .RemotePort properties. While stepping thru each line of code, the 'Dial-up Connection' box appears after executing Winsock.Connect statement without trouble. However, after making the source into an executable file, my program no longer prompts the user with the 'Dial-up Connection' box!
My machine is running Windows 95 with Internet Explorer 4 and programming in VB5 professional edition.
The program I've tried testing with is:
Private Sub Command1_Click()
Winsock.RemoteHost = "www.msn.com" 'RemoteHost can be any valid URL
Winsock.RemotePort = 80
Winsock.Connect
End Sub
I then tried testing my program on another machine running Windows 98 with IE5 and the executable program works without a hitch. That is, it brought up the 'Dial-up Connection' box each time!
Can anyone please explain why this is happening with any remedy or solutions to this problem? Any other information will be greatly appreciated.