Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

What framework is running in this scenario?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
holysmokes99 - 17 Oct 2006 01:14 GMT
I have a VB6 application that references a few .Net 1.1 components, and
one 2.0 component. Does that mean that all will be running under 2.0?
Is there any way to force the 1.1 pieces to run under 1.1, and the 2.0
to run under 2.0? I know about setting a config file to force a certain
framework, but I think that is only good for the entire application.

Thanks
Cowboy (Gregory A. Beamer) - 17 Oct 2006 01:43 GMT
If the components are compiled in 1.1 and are separate assemblies (and you
created the COM wrappers using the proper framework for each component), you
are most likely stoking up both 1.1 and 2.0 in your scenario. The VB app is
having to marshall from COM to .NET anyway.

I could be wrong about this, as VB6 might force only one framework, but I
would seriously doubt it would override the wrapper class.

Signature

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************

>I have a VB6 application that references a few .Net 1.1 components, and
> one 2.0 component. Does that mean that all will be running under 2.0?
[quoted text clipped - 3 lines]
>
> Thanks
Carl Daniel [VC++ MVP] - 17 Oct 2006 05:10 GMT
> If the components are compiled in 1.1 and are separate assemblies
> (and you created the COM wrappers using the proper framework for each
[quoted text clipped - 3 lines]
> I could be wrong about this, as VB6 might force only one framework,
> but I would seriously doubt it would override the wrapper class.

IIUC, it's not possible to host more than 1 version of the framework in a
single process.  Unless those components are running in sepoarate processes,
they're all running under the 2.0 framework.

-cd
Cowboy (Gregory A. Beamer) - 17 Oct 2006 14:04 GMT
Good to know. Then a SOA option is the only way to go.

Signature

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************

>> If the components are compiled in 1.1 and are separate assemblies
>> (and you created the COM wrappers using the proper framework for each
[quoted text clipped - 9 lines]
>
> -cd
holysmokes99 - 17 Oct 2006 16:22 GMT
OK, thanks for your feedback. Here are some more of my particulars. I
am developing a component in .Net 1.1, and want to debug it using the
"start external program" of the debugger in the IDE. The program I want
to start is the app that I mentioned above that references both 1.1 and
2.0 components. The problem is that when I launch this from VS2003, the
external program starts only for a moment and then bails out of memory
with no error, and the ide returns to a stopped state awaiting my
input. If I remove the 2.0 framework, at least the external app will
start up and stay in memory, but I will get the error (as expected)
that some pieces could not be found (i.e. pieces of the 2.0 framework).
Should not  VS2003 (which is based on framework 1.1) be able to run
under 2.0 as they are backward compatible???

Thanks for your help,
Marcus

> Good to know. Then a SOA option is the only way to go.
>
[quoted text clipped - 19 lines]
> >
> > -cd

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.