Wednesday, August 27, 2008

How to call a COM object method from C#

Calling a COM object method in C#, see following

Type comType = Type.GetTypeFromCLSID(someClassID);

object comInstance = Activator.CreateInstance(comType);

comType.InvokeMember(someMethodName, BindingFlags.InvokeMethod |

BindingFlags.IgnoreReturn | BindingFlags.Public, null, comInstance, new

Quick Fix: The user is not associated with a trusted SQL Server connection

Change the Authentication Mode of the SQL server from “Windows Authentication Mode (Windows Authentication)”
to “Mixed Mode (Windows Authentication and SQL Server Authentication)”.

Right click the root of object explorer, select properties-->security and second radio.

Tuesday, August 26, 2008

Outlook Like Notification Window

Another useful component posted at Codeguru.

Outlook Like Notification Window

Related Posts

Popular Posts