473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Using a .Net Windows control from COM (VB6)

Hi,

I have created a .Net Windows control and I want to be
able to use it from VB6. I have spent a lot of time
trying to me it work but no success. I've been using
attributes (ComRegisterFunction, ComUnregisterFunction),
Regasm, strong key but no results.

Can anybody tell me or prove me an example of how to use
a .Net windows control from COM (VB6).

Thanks!

Nov 22 '05 #1
1 1107
You can't do this, AFAIK. You can use COM controls in .NET, but not the
other way around.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

"Jaime Soto" <js***@canada.com> wrote in message
news:00****************************@phx.gbl...
Hi,

I have created a .Net Windows control and I want to be
able to use it from VB6. I have spent a lot of time
trying to me it work but no success. I've been using
attributes (ComRegisterFunction, ComUnregisterFunction),
Regasm, strong key but no results.

Can anybody tell me or prove me an example of how to use
a .Net windows control from COM (VB6).

Thanks!

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jaime Soto | last post by:
Hi, I have created a .Net Windows control and I want to be able to use it from VB6. I have spent a lot of time trying to me it work but no success. I've been using attributes...
3
by: Daniel Wilson | last post by:
I am replacing an ActiveX OCX that was created in VB6. It is used heavily in a large VB6 program that I do not have the luxury of upgrading to .NET. The new control must use a significant amount...
1
by: Jaime Soto | last post by:
Hi, I have created a .Net Windows control and I want to be able to use it from VB6. I have spent a lot of time trying to me it work but no success. I've been using attributes...
1
by: Roopam | last post by:
Hey Guys I think many of you might have already encountered this problem before. Here is the problem I have a COM dll in VB6. I am using it in a .Net DLL(C#). Then I try to use the functions from...
9
by: Martin Ortiz | last post by:
I want to use the Win32 API function : SendMessageToDescendants I want to use it in a VB.Net app, but I have a few questions..... 1) Can one use Win32 API functions in VB.Net 2) Is doing so a...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
7
by: Rich Milburn [MVP] | last post by:
Ok I am not a programmer, I copied some code and very painfully got it working in VB6. I can adjust the volume with waveOutSetVolume on winmm.dll. But I could not seem to be able to figure out how...
10
by: mg | last post by:
I'm migrating from VB6 and have a question about using 'Using' and the best way to use it. Here is a example of a small bit of code: dbConx("open") Using CN Dim CMD As New OleDbCommand(sSQL,...
3
by: partybob99 | last post by:
Hi everyone. I have a very strange problem and I have no idea how to correct it. I created a VB.NET DLL that is used by several different apps for password file encryption/decryption. I have...
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.