Search results for query: *

  • Users: Grimalkyne
  • Content: Threads
  • Order by date
  1. G

    Target Invocation Exception with Excel NewSeries

    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"...
  2. G

    if Typeof ... fails

    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...
  3. G

    Help with macros to configure settings

    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
Back
Top