PDA

View Full Version : Power-Point Automation Hide programe ?


mickeydisn@gmail.com
08-10-2005, 05:11 AM
Hello


I have a lite pb with Automation Power-Point .


I want to hide power-point application.

But if i do :

VARIANT x;
x.vt = VT_INT;
x.intVal = 0;
hr = AutoWrap(DISPATCH_PROPERTYPUT, NULL, this->main_app_, L"Visible",
1, x);
if (!SUCCEEDED(hr))
Destroy();
return -1;
}

error Invoke(Visible)..

I think the pb is locate in

VARIANT x;
x.vt = VT_INT;
x.intVal = 0;

But i dont found a revol pb?

thanks you for your anser

--
Mickeydisn