Using VBCOM in vb.NET or C# 
Author Message
 Using VBCOM in vb.NET or C#

Has anyone successfuly Converted a COM object written in VB 6 for use in either
VB or C#?

If so how?

Thanks.



Thu, 29 May 2003 23:54:31 GMT  
 Using VBCOM in vb.NET or C#
I have experimented with the following COM dlls:

A string manipulation object: a few minor problems with the fact that it
used defaults in the arguments - ie. Function Parse(pSomeText) - so it was
using default variant data types and default byref parameters. Once I'd
fixed these, no problems.

A data access "helper" DLL - no problems, surprisingly, although the upgrade
wizard resorted to the following, which looks like a horrible fudge:
objAccess =
Microsoft.VisualBasic.Compatibility.VB6.CreateObject("Access.Application")

But it DID all work, first-time.

So, bottom line is that the upgrade wizard DOES mostly do the job - and we
are only in Beta 1, so it looks promising I think.


Has anyone successfuly Converted a COM object written in VB 6 for use in
either
VB or C#?

If so how?

Thanks.



Sat, 31 May 2003 17:15:10 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Convert VB.Net to C#, convert C# to VB.Net

2. programming in Outlook using C# or VB.NET?

3. Help with problem using (EIStream) OCXs in VB.NET/C# project

4. Using IDisposable in VB.NET compared to C#.

5. using C# and VB.NET classes in the same project

6. Using a C# uint Enum inside VB.net

7. Using a C# class in VB.net?

8. Exposing overloaded operator on C# class when used in VB.NET

9. IntelliSense in VS.NET (C# versus VB.NET)

10. Tell me you experience in convert code from VB 6 to VB.NET or C#

11. Using C# classes in VS.NET

12. VB to C# or C# to VB convertor

 

 
Powered by phpBB® Forum Software