Hi,
I don't have any form in my application.
I have only modules, I want to now how it possible to know if the station is
connected to a network, by writing a function in a module.
I can't add a winsock component because I don't have form
Thanks
Bob Butler - 31 Jan 2005 13:57 GMT
> Hi,
>
[quoted text clipped - 4 lines]
>
> I can't add a winsock component because I don't have form
So add a form that you can Load but not Show

Signature
Reply to the group so all can participate
VB.Net: "Fool me once..."
Hermione - 31 Jan 2005 14:09 GMT
Hi Bob
I won' add any form, my application should run under Win 2000 and Win Xp, my
boss didn't accept to have a form in my application
when I try to write a function I found L Dim win As Winsock
But what after
thanks
> > Hi,
> >
[quoted text clipped - 6 lines]
>
> So add a form that you can Load but not Show
Paul Clement - 31 Jan 2005 15:19 GMT
¤ Hi,
¤
¤ I don't have any form in my application.
¤
¤ I have only modules, I want to now how it possible to know if the station is
¤ connected to a network, by writing a function in a module.
¤
¤ I can't add a winsock component because I don't have form
See the following:
http://vb.mvps.org/samples/project.asp?id=NetConnect
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Hermione - 31 Jan 2005 16:19 GMT
Thanks Paul
Can I know the IP of my machine
Thanks
> ¤ Hi,
> ¤
[quoted text clipped - 11 lines]
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)
Paul Clement - 31 Jan 2005 18:17 GMT
¤ Thanks Paul
¤
¤ Can I know the IP of my machine
¤
Yes. See the following:
http://vbnet.mvps.org/index.html?code/network/ipaddress.htm
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)