Communication between COM and .NET Hi! I have used an example on the Code project to call .NET code from COM and here it worked fine without creating a shared assembly It we have the oppsite situation calling COM from .NET is there any requirement that you must have shared assembly when you call COM from .NET. I know all about how to create ... 28 Apr 2010 07:15
Newbie Question: Doing tasks after form displays 'on load' another solution is to do: this.show(); This will force the form to show itself from within the load event. From http://www.developmentnow.com/g/36_2005_4_0_0_503574/Newbie-Question-Doing-tasks-after-form-displays-on-load.htm Posted via DevelopmentNow.com Groups http://www.developmentnow.com/g/ ... 28 Apr 2010 03:58
Displaying a byte array I have a byte array (byte[] file) the file contains html code. Now i either want to allow the user to download it or open it. How does one do this. Thanks in advance. ... 28 Apr 2010 10:36
Connecting to Outlook Live via Powershell script from C# app Good day, I am just starting out with Visual C# Express, although I have many years of experience in programming other languages including C. I have found some examples of how to execute Powershell scripts from a C# application. Such as: http://www.devx.com/tips/Tip/42716 What I want to do is a little mor... 28 Apr 2010 01:48
Added Constructors to AdvancedList Class Hi Marc, Thank you for your code. It works great! I added constructors that enables adding a list. This enables me to sort a list with LinQ and add it to AdvancedList. public AdvancedList() : base() { } public AdvancedList(IList<T> list) : base(list) { } Usage: AdvancedList<MailDisp> _mailDispList = ... 28 Apr 2010 01:48
winforms project 'ListItem' not Recognized The type or namespace name 'ListItem' could not be found (are you missing a using directive or an assembly reference?) ... 28 Apr 2010 10:36
Getting value of defaultDatabase from app config Hi! I can not seem to figure out how to get the value of the defaultDatabase <dataConfiguration defaultDatabase="mydb"/> from the app config file. This does not work because the entry is not in the <appSettings>: ConfigurationManager.AppSettings["defaultDatabase"] What are my options? It seems to be so ... 27 Apr 2010 17:57
How to read messages from MSMQ Could anyone point me to examples on how to read messages on a MSMQ queue, from c# ? Thanks in advance, </edwin> ... 27 Apr 2010 12:12
Interop assembly Hi! How can I see if an Interop assembly does not include metadata ? Is it as easy as if the Interop assembly does not include this row // Metadata version: then there is no metadata included ? //Tony ... 27 Apr 2010 08:47
Exception handling in unManaged code when being called from managedcode Tony Johansson wrote: Hi! Here is some text from Microsoft press(exam 70-536). "Exceptions in unmanaged code are markedly different from those thrown in managed code. In earlier COM days, you could use the GetLastError function to get the last error that was raised. This approach won't work in ... 27 Apr 2010 13:21 |