Olá a todos gostaria de saber se é possivel colocar o retorno .Run do
AutomationFactory.CreateObject("WScript.Shell");
dentro de uma Content da ChildWindow
Eu fiz um metodo aew mas ele nao me retorna o type dele, alguem poderia me dizer como eu posso colocar o resultado o ".Run' dele dentro da Content da ChildWindow ???
dynamicleitorPDF =
AutomationFactory.CreateObject("WScript.Shell");
ChildWindowwin =
newChildWindow();
//leitorPDF.Run("acrord32.exe " + anexo);
Typetype =
Type.GetType(leitorPDF.Run("acrord32.exe
"+anexo));
objectobj =
Activator.CreateInstance(type);
win.Content = (
Page)obj;
win.Show();