all groups > dotnet interop > october 2006 > threads for october 22 - 28, 2006
Filter by week: 1 2 3 4 5
Graph control
Posted by Esha at 10/28/2006 12:21:58 PM
I was asked by my boss to create representation of data by Graphs in VB 6
application.
I checked the features of VB6 Graph control as well as Excel graphs. They
are not good enough.
I tried to find any third party ocx and all I found do not look good enough
either.
I found several .NET cont... more >>
Reg-Free COM question (.manifest & Implemented Categories of )
Posted by Nick Rivers at 10/27/2006 1:05:57 PM
Hi!
Do .manifest files support 'Implemented Categories' entries of COM
components?
I could not find anything about it in the MSDN or internet.
Cause these Implemented Categorie registry entries will be created the
DLLRegisterServer function of
my COM component. I don´t know how to merge ... more >>
Using C# classes in "Classic" ASP
Posted by noah.blumenthal NO[at]SPAM gmail.com at 10/27/2006 11:41:40 AM
I'm trying to slowly bring development of one of our web applications
to .NET, so for the time being I want all additions to be written in
..NET. I figure we'll just create libraries for all new functionality
and slowly move the framework over to .NET and before you know it we'll
have a full .N... more >>
How to Reference a .Net Assembly from within VBA?
Posted by TCook at 10/27/2006 12:59:27 AM
Hey All,
I want to create an assembly in .Net that I can reference and use in VBA.
I have a sample assembly that I've strongly named and that is loaded in the
GAC. However, I can not see from within Excel.
Please advise?
Thanks & Regards,
TC
... more >>
IPictureDisp to Image in C#.Net
Posted by vamsiram NO[at]SPAM gmail.com at 10/26/2006 6:10:32 PM
I have a COM dll which exposes the function as shown below
DisplayPic([out] LPPICTUREDISP* pVal, [out] BSTR* text);
When i use the object browser in Visual Studio 2005 this function shows
up as
Sub DisplayPic(pVal As stdole.IPictureDisp, text As String)
I need to convert pVal given as stdol... more >>
Interop object creation performance
Posted by John Smith at 10/26/2006 4:22:12 PM
Hello!
I did some performance testing with ADODB interop object creation, and
noticed that interop objects are created much faster on windows applications
than ASP.NET.
I tested it with this function on both platforms:
Private Function CreateObjects() As TimeSpan
Dim rsData As ... more >>
StringBuilder & Class Library exposed to COM
Posted by Olivier Matrot at 10/25/2006 5:00:45 PM
Hello,
Maybe this problem has been discused many times here but I've spent several
hours to find the answer with no luck.
Basically, I have a c# class library exposed to COM.
The client is written in unmanaged C++.
One method of my c# class have a StringBuilder parameter. This parameter is
... more >>
classfactory error
Posted by ebbflow at 10/25/2006 3:04:30 PM
I have two asp.net applications running on the same web server.
Each application calls upon its own foxpro com object (dll file) that does
some processing (they are not the same com object). Each of these com
objects has its own strong named wrapper dll around it.
Unfortunately, I cannot ru... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
C++ DLL in C# returning a char**
Posted by DG is a god.... at 10/25/2006 1:48:13 PM
Dear All
,
This is my first post - please go easy...!
I have a DLL written in C++ that has the following function exported
from it -:
char** ListHandles(int *processID);
The processID parameter is used to find all associated open file
handles , this value is then written to to return... more >>
Correct VB.Net attribute for setting the helpstring property of a method in the TLB
Posted by Scienter at 10/25/2006 1:10:34 PM
Hi,
I'm currently using interop to expose functionality in a .Net assembly
(written in VB.net)
to vb6. Everything works fine and the exported TLB works. However, I'm not
able to find
the correct "helpstring" attribute that I can use to decorate each public
method so that it is
copied ov... more >>
Release COM
Posted by ruca at 10/25/2006 12:19:31 PM
Hi,
I have a COM interface in C++ that it is used in my WebApplication ASP.NET.
The question is: what the best way of release this com object. I already
using something like this (each time I create an instance and then no needed
her):
Public Shared Sub ReleaseObj(ByRef obj As Object)
... more >>
Using c++ unmanaged object methods in c#
Posted by Joneleth at 10/25/2006 3:27:38 AM
Hi
I know how to call external c functions in c# through DllImport.
Now, i'm trying to call a c++ (unmanaged) class method, defined in an
external .dll as static int myClass::myMethod, and i wonder if it is
possible.
I have used the VS utility dumpbin /exports "myDllPath" in the
post-build e... more >>
Example of reflection to determine contents of struct
Posted by bill at 10/24/2006 2:07:21 PM
All,
Can anyone supply an example or reference to an example of using
reflection to determine the data types contained in a stucture in C#?
TIA,
Bill
... more >>
How to add IDL to assembly?
Posted by alexbalaev NO[at]SPAM yahoo.com at 10/24/2006 9:02:16 AM
Hello,
First of I am very new to .NET 2.0... sorry if the question is very
basic.
Here is the deal.
We used to develop in COM (VS 6.0). We have a bunch of objects that use
the same interface. The interface is in an IDL file, shared between the
projects.
Now we're switching to .NET 2.0 (VS 8.0... more >>
Big Bug in Word?
Posted by TCook at 10/24/2006 2:41:52 AM
Hey All,
Just wondering if anyone else has experienced the same bug that I have in MS
Word:
Create a single class module called WordEventClass as follows:
Option Explicit
Private WithEvents m_appWord As Word.Application
Private Sub Class_Initialize()
Set m_appWord = Word.... more >>
How does Microsoft Office decide which CLR version to load?
Posted by Drew Lettington at 10/23/2006 6:20:02 PM
I have a machine with .NET Framework 1.0, 1.1 and 2.0 installed along with
Microsoft Office 2000 (another machine with Office XP displays the same
behavior). I have a managed COM add-in built with C# in Visual Studio 2005.
Excel and Word are using CLR 1.1 so my add-in fails to load. PowerPo... more >>
deploying interop files
Posted by Dick at 10/23/2006 10:55:02 AM
I have a .net 2005 component that I want to distribute so it is accessible
via COM.
During development this works fine. I check the “Register for COM interopâ€
on the compile tab of the .net project’s properties window and then build my
project. Using a VB6 test project I can add a ref... more >>
Installation problem
Posted by nokia33948 at 10/23/2006 8:26:14 AM
Hi there,
this is a newbie question.
I have written an ActiveX Com object in VB6. Compiled, now I have my
dll file; I have written in VB.NET 2003 the server application that
handles it. But.. I don't know how to distribute the whole project! I
mean. I don't know how to create an installation ... more >>
C# COM Object Class Destructor NOT CALLED EVER
Posted by Grant Schenck at 10/23/2006 8:00:09 AM
Hello,
OK, I understand the whole .NET garbage collection idea. Specifically, C#
destructors are actually finalizers which are called when the GC gets around
to it.
I created a C# class and made it's interface available as a COM object.
I created a Visual Basic 6.0 application which us... more >>
novice question
Posted by Gregory at 10/23/2006 7:55:02 AM
Hi,
I need to port COM DLL from Borland C++ Builder to C# (VS 2005). Can you
please point me to a tutorial or an example of COM DLL in C#.
Thank you.
Gregory Khrapunovich
... more >>
|