using namespace Excel; int main(array<System::String ^> ^args) { Excel::_ApplicationPtr pXL; pXL.CreateInstance(L"Excel.Application.8"); pXL->Visible = VARIANT_TRUE;//generates this error /* error C2660: 'Excel::_Application::PutVisible' : function does not take 1 arguments */ ... }
pXL->Visible = true;
pXL->PutVisible(0,VARIANT_TRUE);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)