Go Back   Velocity Reviews > Newsgroups > DotNet
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

DotNet - How to use a C# control in vb 6 ?

 
Thread Tools Search this Thread
Old 05-26-2006, 07:12 AM   #1
Default How to use a C# control in vb 6 ?


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





SenthilVel
  Reply With Quote
Old 05-26-2006, 01:34 PM   #2
Christopher Reed
 
Posts: n/a
Default Re: How to use a C# control in vb 6 ?

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" <> wrote in message
news:e$...
> 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
Old 05-29-2006, 09:29 AM   #3
SenthilVel
 
Posts: n/a
Default Re: How to use a C# control in vb 6 ?

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" <> wrote in message
news:...
> 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" <> wrote in message
> news:e$...
>> 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

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
Forum Jump