ExtensionToPropertySheetSample & Unable to get installer types

I am currently researching possible scenarios for extending ADUC property pages with .NET. I have started with the ExtensionToPropertySheetSample, shipped with (probably) with VS2005 or VS2008 (I’m not sure how it made to my dev box 😉 ), located by default in the C:Program FilesMicrosoft SDKsWindowsv6.0SamplesSysMgmtMMC3.0 After quick change in …

Non-existent, not used project reference causes error in WinForms VS designer

Today I was struck by another „self-explanatory” 😛 Visual Studio exception: The path is not of a legal form. Hide at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.GetFullPathInternal(String path) at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project project) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly() at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, tring description) at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName assemblyName, …

Deisgn-time error – DataSource property on BindingSource

Today I have beed cursing VS2005 for it’s stupidity and lack of error descriptions, it showed me a very informative message box: An unexpected error has occured. Object reference not set to an instance of an object. … they could added a nice icon of „the finger”. I tryed to …

System.IndexOutOfRangeException: Index -1 does not have a value

I had encountered a strange error in my winforms .NET application, when I entered a form and clicked a GridView bound to a IList<T> collection: System.IndexOutOfRangeException: Index -1 does not have a value. at System.Windows.Forms.CurrencyManager.get_Item(Int32 index) at System.Windows.Forms.CurrencyManager.get_Current() at System.Windows.Forms.DataGridView.DataGridViewDataConnection.OnRowEnter(DataGridViewCellEventArgs e) at System.Windows.Forms.DataGridView.OnRowEnter(DataGridViewCell& dataGridViewCell, Int32 columnIndex, Int32 rowIndex, Boolean canCreateNewRow, …

Back to Top