Using Excel 2007 and Visual Studio 2003
This function throws a target invocation exception
Private Function ExcelNewSeries(ByVal sercol As Excel.SeriesCollection) As Excel.Series
Dim series As Excel.Series
series = CType(sercol, Object).GetType.InvokeMember("NewSeries"...
I have a function that takes a generic interface ISettings.
I want to treat it differently depending on a more specific type so I use
if typeof x is CSettings then
HandleCSettings(x)
else if typeof x is DSettings then
HandleDSettings(x)
else
HandleDefaultSettings(x)
end if
When I pass...
I am trying to write a macro to reconfigure my project.
Specifically I want to be able to close up all the projects in the solution explorer and change the single startup project.
I would be grateful for any pointers
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.