tich
Member
Hey all,
I'm doing a program that connects to the internet and disconnects.
I looked in msdn i found that the HNetCfg.dll will do that so this is what i wrote:
[Dim Connection as NETCONLib.INetConnection
Connection.Connect()]
But this returns a NullReference Exception although they said in msdn that this method has no parameters!
Help!!!
![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I'm doing a program that connects to the internet and disconnects.
I looked in msdn i found that the HNetCfg.dll will do that so this is what i wrote:
[Dim Connection as NETCONLib.INetConnection
Connection.Connect()]
But this returns a NullReference Exception although they said in msdn that this method has no parameters!
Help!!!