|
-
Jul 31st, 2000, 10:33 PM
#1
Thread Starter
New Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|