Показать сообщение отдельно
Старый 09.04.2009, 22:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
Launching and closing Internet Explorer
Источник: http://alexvoy.blogspot.com/2009/04/...-explorer.html
==============

One can run Internet Explorer in visible or invisible mode, then navigate any url and close the application, finally.
X++:
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();
 }
}



Источник: http://alexvoy.blogspot.com/2009/04/...-explorer.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.