all groups > dotnet interop > may 2006 > threads for may 8 - 14, 2006
Filter by week: 1 2 3 4 5
VS2003, VS2005 and AddIn not Being Loaded
Posted by TCook at 5/14/2006 3:00:27 PM
Hello All,
I have both VS2003 & VS2005 installed. I am trying to edit an MS Word AddIn
built in VS2003. I have added the winword.exe.config file which allows the
addin to launch MS Word without crashing when running inside of VS2003.
However, my code isn't being hit. I have put breakpoi... more >>
Creating Excel Application Object in C#?
Posted by SixSigmaGuy at 5/14/2006 2:37:02 PM
Can someone tell me how to create an Excel Application object in C#? I can
create a Word and PowerPoint Application object, but when I try to create one
for Excel, I get the build error:
"Cannot create an instance of the abstract class or interface 'interface'"
After adding the appropriat... more >>
VS2003 & VS2005 Side-by-Side Issues
Posted by TCook at 5/13/2006 5:46:05 PM
Hey All,
I have a Word 2003 addin that was created under VS2003. I recently
installed VS2005 on my machine.
When I try to run the addin inside of VS2003, it just launches Word and
crashes it.
I've seen some articles about creating .config files containing the
following:
<configura... more >>
.NET and COM interop. VS2003 & VS2005 difference.
Posted by Piotr Czekalski at 5/13/2006 2:28:01 PM
Hello there,
I've implemented a simple .NET component exposed to COM (through CCW I
guess) the point is that exactly the same code compiled using 1.1 Framework
works perfect with Excel VBA, while recompiled on 2.0 Framework causes
"File or assembly name <xxx>, or one of its dependencies, wa... more >>
Struct to byte ?
Posted by wavemill at 5/12/2006 1:01:02 PM
Hello,
this my problem:
I have a struc, but i would like to know how can i do to convert it in byte.
This is my code:
[DllImport("winspool.drv", EntryPoint = "AddMonitor")]
public static extern int AddMonitorA(string pName, int Level, ref byte
pMonitors);
[StructLayout(Layout... more >>
using a VC++ DLL function in a C# ASP.NET webservice
Posted by ConfNoob at 5/11/2006 10:13:13 PM
my webservice is using a WIN32 DLL which has a function within a Class.
i am putting in the DLL IMPORT and specifying the entrypoint in the
webservice..
however the Webservice always seems to NOT receive the value from the
WIN32 DLL function.
i realised it might be because of the fact tha... more >>
Referenced assembly 'interop.WbemScripting' doesn't have a strong
Posted by ShrimpBoy at 5/11/2006 7:21:02 AM
Hi!
I'm using a Strong Name Key to create our assemblies, this key has the Full
Trust security so we can use those "mini tools" from network drives...
I'm trying to use WMI to get access to data in our SMS Server...
Now, when I tried to create my assembly I got this message...
"Unable ... more >>
passing AddressOf value in params array
Posted by yoga weazel at 5/11/2006 6:07:03 AM
Anyone know of a way to pass the Addressof <methodname> value in an Object
array to ConstructorInfo.Invoke or Activator.CreateInstance as a parameter?
Such as:
Dim info As ConstructorInfo = ObjType.GetType().GetConstructors()(0)
Dim params() As Object
ReDim params(0)
params(0) = Addressof... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DLL rights problem
Posted by kiwi at 5/11/2006 2:48:52 AM
Hello: I have a DLL that must update into a server. I want to make
automatic proccess that copy that dll from a directory(Ex: c:\update)
to application directory (ex: c:\application). Copy file is easy, but
the problem is that copying it does not get the same right access that
app. directory has... more >>
Static methods in interop
Posted by shesh at 5/10/2006 12:35:02 PM
Please advise me on how to interop the static (public) methods, fields,
properties etc. from C# to VB6. Pointers to any links are greatly appreciated.... more >>
C# VBA DLL issues
Posted by temporalis NO[at]SPAM gmail.com at 5/10/2006 11:01:03 AM
[I've also asked this question in
microsoft.public.dotnet.languages.csharp, and
microsoft.public.excel.programming. If there is somewhere else that
may be able to help, please point me in the right direction!]
I've created a DLL in C# (VS2005, using .NET framework 2.0) for use
with Excel XP ... more >>
MethodInfo.Invoke on unknown method of ActiveX control at runtime
Posted by yoga weazel at 5/10/2006 7:07:02 AM
OK so weird scenario but it's what the client wants so here it goes...
I have a bunch of ActiveX/OCX controls which I have run through AxImp to
generate wrappers.
These controls all have a somewhat generic interface and each include a
subset of Event Handlers including:
LoadApp
LaunchApp... more >>
How to cast AxSomeComponent to SomeComponent?
Posted by Seung-Kii Lee at 5/9/2006 10:59:01 PM
Hello,
When adding any ocx(SomeComponent) in tool box,
can AxSomeComponent object be casted to SomeComponent?
If can, how do that?
Please help.... more >>
AxImp.exe Vs. Adding an OCX directly to the tool box?
Posted by Chris Lane at 5/9/2006 3:03:02 PM
How do I get the ocx to show up in the toolbox when using the AxImp.exe?
... more >>
VB or C# for COM Interop?
Posted by D P at 5/9/2006 11:17:11 AM
Hi,
I'm a .NET beginner and I need to write a COM Interop for ASP 3.0. I don't
know which language is more advantageous for a COM Interop: VB or C#? I'm
reading documentation on both languages and I have a feeling that
implementing COM Interop in VB maybe easier. Please advise.
Thanks fo... more >>
thiscall in .net interface
Posted by lgs.lgs at 5/9/2006 5:15:15 AM
I am trying to figure out whether a specific callback interface can be
implemented in .net. I have done implementations for a number of
interfaces, but this one isn't cooperating. My guess is that the problem is
due to this line from the method's docs:
This method uses the thiscall callin... more >>
|