I'm trying to get the code that is in the below link to work but I keep running into "The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)".
Originally it was just with enable connection on the public side, but now it's doing it on both of them (private and public). So the issue is happening at EveryConnection.EnableSharing(1) and EveryConnection.EnableSharing(0)
How to automatically find connected network adapters & turn on ICS Using VB.NET
I would have responded with my issue on that thread but I cannot post to an existing thread bc of reputation points I have not accumulated yet. Any help would be appreciated as I have searched and only keep getting led back to the above solution. If anyone has had luck with a command line alternative, please let me know. I've read its not possible. I'm doing this on a Windows 10 64 bit Home edition environment in VS 2013.
Thanks.
User contributions licensed under CC BY-SA 3.0