static void TestIE(Args _args)
{
COM c = new COM("InternetExplorer.Application");
str url = "http://msdn.microsoft.com/en-us/library/ms952618.aspx";
;
c.navigate(url);
c.visible(true);
if (DialogButton::Yes == BOX::YesNo("To close the browser press Yes", DialogButton::Yes))
{
info(strfmt("Job is done"));
c.quit();
}
}
No comments:
Post a Comment