HighTechTalks DotNet Forums  

How to use a C# control in vb 6 ?

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss How to use a C# control in vb 6 ? in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
SenthilVel
 
Posts: n/a

Default How to use a C# control in vb 6 ? - 05-26-2006 , 02:12 AM






Hi all

i have created a new c# custom control .

if i want to use this control to my VB projects , what are the steps i must
do ?

can anyone let me know what are the things i must do step by step ?

Thanks
Senthil




Reply With Quote
  #2  
Old   
Christopher Reed
 
Posts: n/a

Default Re: How to use a C# control in vb 6 ? - 05-26-2006 , 08:34 AM






Assuming that this is a DLL written in C#, you can place a copy of the DLL
in the bin directory of your VB application. You can then your DLL assembly
by its namespace by using the Imports statement along with Imports System,
etc. It should now be available and should work like any other .NET control
in VB.NET.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"SenthilVel" <senthilvel.marimuthu (AT) misyshealthcare (DOT) com> wrote

Quote:
Hi all

i have created a new c# custom control .

if i want to use this control to my VB projects , what are the steps i
must
do ?

can anyone let me know what are the things i must do step by step ?

Thanks
Senthil






Reply With Quote
  #3  
Old   
SenthilVel
 
Posts: n/a

Default Re: How to use a C# control in vb 6 ? - 05-29-2006 , 04:29 AM



what i came to know is

Dotnet Dll's can only be used in VB 6.0 .

Dotnet user controls cannot be used in VB6.0 , any thoughts ?

Thanks
Senthil



"Christopher Reed" <carttu (AT) nospam (DOT) nospam> wrote

Quote:
Assuming that this is a DLL written in C#, you can place a copy of the DLL
in the bin directory of your VB application. You can then your DLL
assembly by its namespace by using the Imports statement along with
Imports System, etc. It should now be available and should work like any
other .NET control in VB.NET.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"SenthilVel" <senthilvel.marimuthu (AT) misyshealthcare (DOT) com> wrote in message
news:e$CBftIgGHA.3468 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
Hi all

i have created a new c# custom control .

if i want to use this control to my VB projects , what are the steps i
must
do ?

can anyone let me know what are the things i must do step by step ?

Thanks
Senthil








Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.