I have created a usercontrol and a designer, How can i debug the designer
You need to use a second instance of VS.NET to debug the one that’s running the code. Put your control on a form in VS.NET Start a 2nd Vs.Net Choose the Debug menu >> Processes … Double click ‘devenv.exe’ and choose ‘Common Language Runtime’ as the types of debugging Open your code file, set your breakpoint, and you’re debugging. Posted by Shawn Burke of MSFT in microsoft.public.dotnet.framework.windowsforms.
How does text drawing differ between GDI+ and GDI
GDI+ text layout is resolution independent, and forms built with GDI+ text look the same at all resolutions and when printed. The GDI+ APIs DrawString and MeasureString lay out text independent of device resolution, so a paragraph of text takes the same number of lines, no matter what the display device.
How do I draw my bitmap in a disabled state
Use the DrawImageDisabled method of the ControlPaint class.
How can I read and display Excel files from within my C# application
.NET’s interoperability makes it easy to work with COM Capable Applications such as Word and Excel. See Mike Gold’s article on C# Corner for a detailed discussion.
Are there any books out there that focus on COM interop
Check out NET and COM: The Complete Interoperability Guide by Adam Nathan Adam Nathan is a software design engineer on Microsoft’s .NET Common Language Runtime QA team. ISBN: 067232170X