I am a开发者_C百科 CS student who is in an intern. My supervisor is really busy and he said I could use this site if I have questions.
I have a VBScript app calling COM-registered C# objects. I am able to pass in a COM object to开发者_如何学编程 a COM call, as well as receive either a primitive or a COM object back, but I can\'t do b
Without using a COM+ proxy service, I\'m quite happily able to use classes from a 32 bit COM interop library from a .NET application compiled with target AnyCPU, running in a 64 bit w3wp process.
I have a main STA thread that calls a lot methods on the COM object and a secondary STA thread that does a lot work on the same object too. I want the main thread and the secondary thread to work in p
Using Powershell, I want to import some tab-separated Ascii files into MS Excel. I use a loop for doing so, and right now I have a simple solution that works:
I\'ve written a unit test. The code under test references Microsoft.Office.Interop.Excel.dll. The test runs fine on my machine but fails on the build server. It fails on the line where the Excel appl
I have a macro inside a 2007 xlsm file that, when called, creates a solver configuration (target, constraints, ...) and performs the solve without any user interaction. When run manually from Excel, t
I\'m trying to get my program to dump out data into an Excel spreadsheet. At the moment, it simply puts the information into the proper cell calculating any calculated values as needed within my code.
I\'m slightly puzzled by the lack of documentation on the issue, so I may be completely off track here:
I was looking at Virtual Box examples. I quickly tried to fire the following code but I got the error related to COM.