This project is read-only.

Windows Network Location

Jun 4, 2009 at 9:52 PM

I am hoping you can help me or at least point me in the right direction to solve this error. I connect to a vpn pptp connection just fine, if it is the first time connection then windows gives that mesage box that says select your location. Home, work, public. When that happens dotras errors out. Is there anyway around this to either chose a location for them or pause while they get the message so that my program does not error out?



Jun 4, 2009 at 9:55 PM

Which error code are you getting?

Jun 4, 2009 at 10:02 PM
Edited Jun 4, 2009 at 10:02 PM

Exception has been thrown by the target of an invocation.


then after a few seconds the network location window pops open. Another questions is there any way to get better error messages when the dotras.dll fails?


Jun 4, 2009 at 11:14 PM

Jeff, Please disregard, I had another error in my code that caused that, Now when the network location window pops up the network is already connected and no longer errors out.



Jun 4, 2009 at 11:39 PM

Good to hear, if you have any other questions feel free to ask.