DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 5 Jul 2007 05:11:24 -0500,    posted on: microsoft.public.dotnet.framework.interop        back       

Thread Index
  1    Bhanu Prakash
          2    Mattias Sjgren
                 3    kali charan polnati
          4    Sheng Jiang[MVP] uss
                 5    Sreedhar.chunduru
                 6    kali charan polnati
                 7    Sheng Jiang[MVP] uss
          8    Egghead
          9    kali charan polnati
          10    Egghead


Calling VB.NET DLL from VC++   
Hi,

I am trying to call VB.NET DLL from withing the VC++ project. It is failing. 
Pls let me know how I can do it.

Thanks
Bhanu
Date:Thu, 5 Jul 2007 05:11:24 -0500   Author:  

Re: Calling VB.NET DLL from VC++   

>I am trying to call VB.NET DLL from withing the VC++ project. It is failing. 


Failing in what way? What have you tried so far? Are you using managed
or native C++?


Mattias

-- 
Mattias Sjgren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Date:Thu, 05 Jul 2007 12:53:29 +0200   Author:  

Re: Calling VB.NET DLL from VC++   
We created a VB Dot net application of type class library. and trying to 
call form vc++6.0. Its failing. Actually here we are trying to  calling 
managed coded form unmanaged environment (VC++6.0)

"Mattias Sjgren"  wrote in message 
news:%23b007KvvHHA.412@TK2MSFTNGP04.phx.gbl...

> >I am trying to call VB.NET DLL from withing the VC++ project. It is 
> >failing.
>
> Failing in what way? What have you tried so far? Are you using managed
> or native C++?
>
>
> Mattias
>
> -- 
> Mattias Sjgren [C# MVP]  mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup. 
Date:Thu, 5 Jul 2007 09:07:55 -0500   Author:  

Re: Calling VB.NET DLL from VC++   
VC6 does not support managed code. Use VC.Net or higher and managed C++ to
call managed code.

-- 
Sheng Jiang
Microsoft MVP in VC++
"kali charan polnati"  wrote in message
news:OdYWp3wvHHA.312@TK2MSFTNGP04.phx.gbl...

> We created a VB Dot net application of type class library. and trying to
> call form vc++6.0. Its failing. Actually here we are trying to  calling
> managed coded form unmanaged environment (VC++6.0)
>
> "Mattias Sjgren"  wrote in message
> news:%23b007KvvHHA.412@TK2MSFTNGP04.phx.gbl...
> > >I am trying to call VB.NET DLL from withing the VC++ project. It is
> > >failing.
> >
> > Failing in what way? What have you tried so far? Are you using managed
> > or native C++?
> >
> >
> > Mattias
> >
> > -- 
> > Mattias Sjgren [C# MVP]  mattias @ mvps.org
> > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> > Please reply only to the newsgroup.
>
>
Date:Thu, 5 Jul 2007 11:56:29 -0500   Author:  

Re: Calling VB.NET DLL from VC++   
Is your VB.Net is a COM object and register already?

-- 
cheers,
RL
"kali charan polnati"  wrote in message 
news:OdYWp3wvHHA.312@TK2MSFTNGP04.phx.gbl...

> We created a VB Dot net application of type class library. and trying to 
> call form vc++6.0. Its failing. Actually here we are trying to  calling 
> managed coded form unmanaged environment (VC++6.0)
>
> "Mattias Sjgren"  wrote in message 
> news:%23b007KvvHHA.412@TK2MSFTNGP04.phx.gbl...
>> >I am trying to call VB.NET DLL from withing the VC++ project. It is 
>> >failing.
>>
>> Failing in what way? What have you tried so far? Are you using managed
>> or native C++?
>>
>>
>> Mattias
>>
>> -- 
>> Mattias Sjgren [C# MVP]  mattias @ mvps.org
>> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
>> Please reply only to the newsgroup.
>
> 
Date:Thu, 5 Jul 2007 12:43:26 -0600   Author:  

Re: Calling VB.NET DLL from VC++   
Thanks for the updation.

Can we call Managed code from VB 6.0?


"Sheng Jiang[MVP]" <sheng_jiang@hotmail.com.discuss> wrote in message 
news:unI4wVyvHHA.4916@TK2MSFTNGP04.phx.gbl...

> VC6 does not support managed code. Use VC.Net or higher and managed C++ to
> call managed code.
>
> -- 
> Sheng Jiang
> Microsoft MVP in VC++
> "kali charan polnati"  wrote in message
> news:OdYWp3wvHHA.312@TK2MSFTNGP04.phx.gbl...
>> We created a VB Dot net application of type class library. and trying to
>> call form vc++6.0. Its failing. Actually here we are trying to  calling
>> managed coded form unmanaged environment (VC++6.0)
>>
>> "Mattias Sjgren"  wrote in message
>> news:%23b007KvvHHA.412@TK2MSFTNGP04.phx.gbl...
>> > >I am trying to call VB.NET DLL from withing the VC++ project. It is
>> > >failing.
>> >
>> > Failing in what way? What have you tried so far? Are you using managed
>> > or native C++?
>> >
>> >
>> > Mattias
>> >
>> > -- 
>> > Mattias Sjgren [C# MVP]  mattias @ mvps.org
>> > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
>> > Please reply only to the newsgroup.
>>
>>
>
> 
Date:Fri, 6 Jul 2007 00:03:02 -0500   Author:  

Re: Calling VB.NET DLL from VC++   
Yes,   I made my VB.Net application  as Make assembley Com visable . I 
registered it using  (regasm /tlb "Dll path"), it registered sucessfully.But 
i am not able to call managed code (VB.NET)  form unmanaged Environment 
(VC++6.0).

"Egghead"  wrote in message 
news:%234n25SzvHHA.4332@TK2MSFTNGP06.phx.gbl...

> Is your VB.Net is a COM object and register already?
>
> -- 
> cheers,
> RL
> "kali charan polnati"  wrote in message 
> news:OdYWp3wvHHA.312@TK2MSFTNGP04.phx.gbl...
>> We created a VB Dot net application of type class library. and trying to 
>> call form vc++6.0. Its failing. Actually here we are trying to  calling 
>> managed coded form unmanaged environment (VC++6.0)
>>
>> "Mattias Sjgren"  wrote in message 
>> news:%23b007KvvHHA.412@TK2MSFTNGP04.phx.gbl...
>>> >I am trying to call VB.NET DLL from withing the VC++ project. It is 
>>> >failing.
>>>
>>> Failing in what way? What have you tried so far? Are you using managed
>>> or native C++?
>>>
>>>
>>> Mattias
>>>
>>> -- 
>>> Mattias Sjgren [C# MVP]  mattias @ mvps.org
>>> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
>>> Please reply only to the newsgroup.
>>
>>
>
> 
Date:Fri, 6 Jul 2007 00:12:33 -0500   Author:  

Re: Calling VB.NET DLL from VC++   
Actually we have one developed product which will idintify only VC++6.0 . So 
we have to stick with VC++6.0. is there any way to call vb.net method form 
VC++6.0. I made VB.Net application (dll) as Make com Visable and then 
registered it by using command regasm /tlb 'dll path'.



"Sheng Jiang[MVP]" <sheng_jiang@hotmail.com.discuss> wrote in message 
news:unI4wVyvHHA.4916@TK2MSFTNGP04.phx.gbl...

> VC6 does not support managed code. Use VC.Net or higher and managed C++ to
> call managed code.
>
> -- 
> Sheng Jiang
> Microsoft MVP in VC++
> "kali charan polnati"  wrote in message
> news:OdYWp3wvHHA.312@TK2MSFTNGP04.phx.gbl...
>> We created a VB Dot net application of type class library. and trying to
>> call form vc++6.0. Its failing. Actually here we are trying to  calling
>> managed coded form unmanaged environment (VC++6.0)
>>
>> "Mattias Sjgren"  wrote in message
>> news:%23b007KvvHHA.412@TK2MSFTNGP04.phx.gbl...
>> > >I am trying to call VB.NET DLL from withing the VC++ project. It is
>> > >failing.
>> >
>> > Failing in what way? What have you tried so far? Are you using managed
>> > or native C++?
>> >
>> >
>> > Mattias
>> >
>> > -- 
>> > Mattias Sjgren [C# MVP]  mattias @ mvps.org
>> > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
>> > Please reply only to the newsgroup.
>>
>>
>
> 
Date:Fri, 6 Jul 2007 00:27:39 -0500   Author:  

Re: Calling VB.NET DLL from VC++   
Assume you used the COM template at the VS2003 and you have the strong name 
with keys as well.
hmm, does your vc++ 6.0 (whatever account it "run as") has the execute right 
at that dll's path?
Can you write a small VB6.0 and test the dll?
-- 
cheers,
RL
"kali charan polnati"  wrote in message 
news:%23vVNGx4vHHA.4916@TK2MSFTNGP04.phx.gbl...

> Yes,   I made my VB.Net application  as Make assembley Com visable . I 
> registered it using  (regasm /tlb "Dll path"), it registered 
> sucessfully.But i am not able to call managed code (VB.NET)  form 
> unmanaged Environment (VC++6.0).
>
> "Egghead"  wrote in message 
> news:%234n25SzvHHA.4332@TK2MSFTNGP06.phx.gbl...
>> Is your VB.Net is a COM object and register already?
>>
>> -- 
>> cheers,
>> RL
>> "kali charan polnati"  wrote in message 
>> news:OdYWp3wvHHA.312@TK2MSFTNGP04.phx.gbl...
>>> We created a VB Dot net application of type class library. and trying to 
>>> call form vc++6.0. Its failing. Actually here we are trying to  calling 
>>> managed coded form unmanaged environment (VC++6.0)
>>>
>>> "Mattias Sjgren"  wrote in message 
>>> news:%23b007KvvHHA.412@TK2MSFTNGP04.phx.gbl...
>>>> >I am trying to call VB.NET DLL from withing the VC++ project. It is 
>>>> >failing.
>>>>
>>>> Failing in what way? What have you tried so far? Are you using managed
>>>> or native C++?
>>>>
>>>>
>>>> Mattias
>>>>
>>>> -- 
>>>> Mattias Sjgren [C# MVP]  mattias @ mvps.org
>>>> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
>>>> Please reply only to the newsgroup.
>>>
>>>
>>
>>
>
> 
Date:Fri, 6 Jul 2007 09:04:42 -0600   Author:  

Re: Calling VB.NET DLL from VC++   
Then expose some events to COM and handle the events in managed code

-- 
Sheng Jiang
Microsoft MVP in VC++
"kali charan polnati"  wrote in message
news:epq4g54vHHA.1756@TK2MSFTNGP05.phx.gbl...

> Actually we have one developed product which will idintify only VC++6.0 .
So
> we have to stick with VC++6.0. is there any way to call vb.net method form
> VC++6.0. I made VB.Net application (dll) as Make com Visable and then
> registered it by using command regasm /tlb 'dll path'.
>
>
>
> "Sheng Jiang[MVP]" <sheng_jiang@hotmail.com.discuss> wrote in message
> news:unI4wVyvHHA.4916@TK2MSFTNGP04.phx.gbl...
> > VC6 does not support managed code. Use VC.Net or higher and managed C++
to
> > call managed code.
> >
> > -- 
> > Sheng Jiang
> > Microsoft MVP in VC++
> > "kali charan polnati"  wrote in message
> > news:OdYWp3wvHHA.312@TK2MSFTNGP04.phx.gbl...
> >> We created a VB Dot net application of type class library. and trying
to
> >> call form vc++6.0. Its failing. Actually here we are trying to  calling
> >> managed coded form unmanaged environment (VC++6.0)
> >>
> >> "Mattias Sjgren"  wrote in message
> >> news:%23b007KvvHHA.412@TK2MSFTNGP04.phx.gbl...
> >> > >I am trying to call VB.NET DLL from withing the VC++ project. It is
> >> > >failing.
> >> >
> >> > Failing in what way? What have you tried so far? Are you using
managed
> >> > or native C++?
> >> >
> >> >
> >> > Mattias
> >> >
> >> > -- 
> >> > Mattias Sjgren [C# MVP]  mattias @ mvps.org
> >> > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> >> > Please reply only to the newsgroup.
> >>
> >>
> >
> >
>
>
Date:Fri, 6 Jul 2007 12:11:19 -0500   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us