gilalig
asked on
Winsock.LocalIP won't compile
Hello,
When compiling my vbp file into an exe the compilation stops because of:
Winsock.LocalIP
What is missing from the project for this command of Winsock that is preventing the compilation.
Thanks!
When compiling my vbp file into an exe the compilation stops because of:
Winsock.LocalIP
What is missing from the project for this command of Winsock that is preventing the compilation.
Thanks!
ASKER
Of course, the command is used in order to get the value to be placed as a string into a caption on the form . My problem is that it doesn't compile. Is there some reference that should be used or something else missing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this kind:
Dim s$
s = Winsock1.LocalIP
MsgBox s
You need put that value to a variable or use it directly in some functionality.
It will return String.
Matti