blah blah blah is here! blah blah » Close

0
votes
1 answers

VC# 2008 interop code not working on VC# 2010

Hi I am using VS 2010 Express and have ported some code proven in VS 2008 but it fails in VS 2010 and I cannot understand why. The code uses InvokeMember: <object>.Interface.GetType().InvokeMember("<Method Name>&qu ...

0
votes
0 answers

Simple Office Outlook Addin using C# / cSharp

I've created a very simple Office Outlook addin (using Visual Studio 2010 C#) that displays a Winform when a new message arrives (using NewMailEx), and adds the sender, subject and received time to a listview object that is located on the W ...

0
votes
0 answers

Dynamically accessing com server installed on separate machine

Hi Everyone, I am working on a win form application which need to support 3-tier installation i.e 1 Machine for DB Server 1 Separate Machine for Application Server: It is actually a delphi exe 1 Separate Machine for client:WinForm C# ...

0
votes
1 answers

include Interop object access error

i have library that i need to use in order to access informations. the library is Interop.DOCQMANCONTROLLAYERLib in editor it doesnt show any problem with code DOCQMANCONTROLLAYERLib.DQMEMFJobClass dc = new DOCQMANCONTROLLAYERLib.DQM ...

0
votes
0 answers

Getting a P/Invoke (COM) string

Dear Debuggers, I have the following code fragment (and variants on it) -- it uses a COM P/Invoke to retrieve an out string pVal of size out int pSize which is actually a reference to a block of memory (24bit Colo(u)r) which I am attempting ...

0
votes
0 answers

Does anyone know how to programmically write results to the Visual Studio Results Window?

Hello I am using VS 2010 pre-release. I have written an application that reads/ writes to an Excel spreadsheet using the interop library. Each one of my rows is a test case. For each row there is a PASS FAIL result. How do I p ...

0
votes
3 answers

checking to see if an Excel workbook is open

I want the user to save his Excel workbook and close the workbook before my C# program reads and writes to the file. I need to check if the user forgot to close the file. I am not sure if I need Excel interop methods or Windows method ...

Feedback