Sunday, July 18, 2010

open URL

GH3D VB example: http://www.grasshopper3d.com/forum/topics/open-url-from-vb

.Net Reference: http://msdn.microsoft.com/en-us/library/system.net.webclient(VS.80).aspx

image from GH3D:


another example: reading data from a web site

private void RunScript(string url, ref object A)
{
System.Net.WebClient client = new System.Net.WebClient();
A = client.DownloadString(url);
}

image from GH3D:

No comments:

Post a Comment