i was trying out your code. I have added a while with a time delay of 2 secs in the man VI. It works brilliantly the first time but as it starts for the second time it shows an error message in the error indicator. The error message is given below:
Invoke Node Error calling method System.Windows.Forms.WebBrowser.Navigate, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Inner Exception: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'WebBrowser'.) <append><b>System.ObjectDisposedException</b> in NET browser init.vi->google maps API test.vi
An error is propagated by the browser init.vi. When the sub vi is run independently it runs fantastically without any error. This error only comes when the main vi is run. Please help.