CLI and Visual Studio 2008: IntelliSense Does not work
-
Hallo, I try to use the .NET 2.0 Framework in Visual Studio 2008 to open an excel File, write some data/cell style info in it, and show it to the user. I use the Use Visual Studio 2008 C++/CLI to Automate Excel[^] Tutorial. So I have something like that: <pre>Excel::Application^ exApp = gcnew Excel::ApplicationClass();</pre> but I have one big problem: IntelliSense code completion does not work, he does not find any options for exApp-> and I want to open a worksheet and I don`t know which variables the exApp->Workbooks->Open Function needs, for example. Can someone tell me how I get the IntelliSense for the Managed Code to work? Thank you!
-
Hallo, I try to use the .NET 2.0 Framework in Visual Studio 2008 to open an excel File, write some data/cell style info in it, and show it to the user. I use the Use Visual Studio 2008 C++/CLI to Automate Excel[^] Tutorial. So I have something like that: <pre>Excel::Application^ exApp = gcnew Excel::ApplicationClass();</pre> but I have one big problem: IntelliSense code completion does not work, he does not find any options for exApp-> and I want to open a worksheet and I don`t know which variables the exApp->Workbooks->Open Function needs, for example. Can someone tell me how I get the IntelliSense for the Managed Code to work? Thank you!
I'm not sure that Intellisense for C++/CLI code ever worked very well in VS2008. That's one of the reasons it's not supported at all in VS2010. See Rebuilding Intellisense in the vcblog for an explanation from Boris Jabes. I recommend Visual Assist X to get intellisense for C++/CLI files. John