473,394 Members | 1,845 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,394 software developers and data experts.

Compitbility Library......

RDI
I download a couple of controls that look VERY interesting--but they are for
VB6.

When I look through MSVS's help, all I can find on the subject tells that
their is a compatiblity library and what it's purpose is. But can't seem to
find anything on HOW to access it.

Any ideas?

TIA

If you have used previous versions of Visual Basic, you will notice that
Visual Basic .NET introduces several changes to the Visual Basic language
and that some familiar functions have seemingly disappeared. These changes
were necessary in order to make Visual Basic compliant with the .NET
Platform and the common language specification (CLS).

When a Visual Basic 6.0 application is upgraded to Visual Basic .NET, the
conversion of some code is impossible due to syntactical or architectural
differences. For this reason, functions in the Visual Basic 6.0
Compatibility library (Microsoft.VisualBasic.Compatibility) are used to
allow the code to run in Visual Basic .NET without the need for extensive
modification. These functions mimic Visual Basic 6.0 behavior while
remaining compliant with the common language specification.

Caution Functions in the Visual Basic 6.0 Compatibility library are
provided only for use by the upgrading tools. Although it is possible to use
this library when writing new code, there is no guarantee that it will be
supported in future versions of Visual Basic.
See Also

--

RDI

(remove the exclamation from the email address)
Nov 20 '05 #1
14 1122
RDI
I was able to find a walk-through for upgrading VB6 app to VB.Net. BUT--it
requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!

--

RDI

(remove the exclamation from the email address)

"RDI" <RDI!@!WriteMe.com> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
I download a couple of controls that look VERY interesting--but they are for VB6.

When I look through MSVS's help, all I can find on the subject tells that
their is a compatiblity library and what it's purpose is. But can't seem to find anything on HOW to access it.

Any ideas?

TIA

If you have used previous versions of Visual Basic, you will notice that
Visual Basic .NET introduces several changes to the Visual Basic language
and that some familiar functions have seemingly disappeared. These changes
were necessary in order to make Visual Basic compliant with the .NET
Platform and the common language specification (CLS).

When a Visual Basic 6.0 application is upgraded to Visual Basic .NET, the
conversion of some code is impossible due to syntactical or architectural
differences. For this reason, functions in the Visual Basic 6.0
Compatibility library (Microsoft.VisualBasic.Compatibility) are used to
allow the code to run in Visual Basic .NET without the need for extensive
modification. These functions mimic Visual Basic 6.0 behavior while
remaining compliant with the common language specification.

Caution Functions in the Visual Basic 6.0 Compatibility library are
provided only for use by the upgrading tools. Although it is possible to use this library when writing new code, there is no guarantee that it will be
supported in future versions of Visual Basic.
See Also

--

RDI

(remove the exclamation from the email address)

Nov 20 '05 #2
"RDI" <RDI!@!WriteMe.com> schrieb
I was able to find a walk-through for upgrading VB6 app to VB.Net.
BUT--it requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!

If you don't have VB6, you won't have projects to upgrade. ;-) Kidding
only, I know you have the source from somewhere else.

I think some minimum requirements must be met to be able to upgrade a
project. I'm not sure whether VB6 really needs to be installed, but I think
that projects are obviously not upgradable if referenced COM-libraries are
missing.

Concerning the compatibility library: Has it really not been installed if
VB6 was not installed at the time you installed VB/VS.NET? In the "add
reference" dialog, there is no "Microsoft Visual Basic .NET compatibility
runtime"?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
* "RDI" <RDI!@!WriteMe.com> scripsit:
I was able to find a walk-through for upgrading VB6 app to VB.Net. BUT--it
requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!


Forget the updrade wizard. You application will still use old
ActiveX components even if there is a managed replacement in the
framework available.

;->

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
RDI
I found a "Microsoft Visual Basic.Net Runtime" but no "Microsoft Visual
Basic.Net Compatibility Runtime".

TIA

--

RDI

(remove the exclamation from the email address)

"Armin Zingler" <az*******@freenet.de> wrote in message
news:Ol****************@TK2MSFTNGP09.phx.gbl...
"RDI" <RDI!@!WriteMe.com> schrieb
I was able to find a walk-through for upgrading VB6 app to VB.Net.
BUT--it requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!

If you don't have VB6, you won't have projects to upgrade. ;-) Kidding
only, I know you have the source from somewhere else.

I think some minimum requirements must be met to be able to upgrade a
project. I'm not sure whether VB6 really needs to be installed, but I

think that projects are obviously not upgradable if referenced COM-libraries are
missing.

Concerning the compatibility library: Has it really not been installed if
VB6 was not installed at the time you installed VB/VS.NET? In the "add
reference" dialog, there is no "Microsoft Visual Basic .NET compatibility
runtime"?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5
RDI
I don't think it's using any ActiveX components.

Thanks.

--

RDI

(remove the exclamation from the email address)

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eM**************@TK2MSFTNGP10.phx.gbl...
* "RDI" <RDI!@!WriteMe.com> scripsit:
I was able to find a walk-through for upgrading VB6 app to VB.Net. BUT--it requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!


Forget the updrade wizard. You application will still use old
ActiveX components even if there is a managed replacement in the
framework available.

;->

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #6
RDI
I do have the runtime and design time references and all the source code. I
just don't have a compiled version--which if I DID have, I assume (HOPE) I
would be able to include as a reference somehow.

--

RDI

(remove the exclamation from the email address)

"Armin Zingler" <az*******@freenet.de> wrote in message
news:Ol****************@TK2MSFTNGP09.phx.gbl...
"RDI" <RDI!@!WriteMe.com> schrieb
I was able to find a walk-through for upgrading VB6 app to VB.Net.
BUT--it requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!

If you don't have VB6, you won't have projects to upgrade. ;-) Kidding
only, I know you have the source from somewhere else.

I think some minimum requirements must be met to be able to upgrade a
project. I'm not sure whether VB6 really needs to be installed, but I

think that projects are obviously not upgradable if referenced COM-libraries are
missing.

Concerning the compatibility library: Has it really not been installed if
VB6 was not installed at the time you installed VB/VS.NET? In the "add
reference" dialog, there is no "Microsoft Visual Basic .NET compatibility
runtime"?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #7
RDI
Also, this is the control I'm after (you posted a link to it in another
thread).

http://www.vbaccelerator.com/home/VB...logs/index.asp

TIA

--

RDI

(remove the exclamation from the email address)

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eM**************@TK2MSFTNGP10.phx.gbl...
* "RDI" <RDI!@!WriteMe.com> scripsit:
I was able to find a walk-through for upgrading VB6 app to VB.Net. BUT--it requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!


Forget the updrade wizard. You application will still use old
ActiveX components even if there is a managed replacement in the
framework available.

;->

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #8
"RDI" <RDI!@!WriteMe.com> schrieb
I was able to find a walk-through for upgrading VB6 app to VB.Net.
BUT--it requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!


It should have been my first question: Did you try to upgrade the project?
What happened? What failed?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #9
RDI
No--not yet. I was trying to use this "Walk Through" to learn HOW to
upgrade the project. When I tried to run it, I got a message VB6 must be
installed first.

--

RDI

(remove the exclamation from the email address)

"Armin Zingler" <az*******@freenet.de> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
"RDI" <RDI!@!WriteMe.com> schrieb
I was able to find a walk-through for upgrading VB6 app to VB.Net.
BUT--it requires VB6 be installed on my PC.

UGH! If I had VB6, I wouldn't need to upgrade!


It should have been my first question: Did you try to upgrade the project?
What happened? What failed?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #10
"RDI" <RDI!@!WriteMe.com> schrieb
No--not yet. I was trying to use this "Walk Through" to learn HOW
to upgrade the project. When I tried to run it, I got a message VB6
must be installed first.


Sorry for asking again, but what do you need VB6 for? Of course, if you want
to produce code to be upgraded to VB.NET later, you need VB6 - but this you
already know for sure. So, I don't see the problem. Why not simply open the
VB6 project in VB.NET and have the upgrade wizard (try to) upgrade it?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #11
RDI
Tried your suggestion.

Upon trying to open the VB6 project: "Visual Basic 6.0 migration is not
supported with this edition of Visual Studio."

Thanks for the assistance.
--

RDI

(remove the exclamation from the email address)

"Armin Zingler" <az*******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"RDI" <RDI!@!WriteMe.com> schrieb
No--not yet. I was trying to use this "Walk Through" to learn HOW
to upgrade the project. When I tried to run it, I got a message VB6
must be installed first.
Sorry for asking again, but what do you need VB6 for? Of course, if you

want to produce code to be upgraded to VB.NET later, you need VB6 - but this you already know for sure. So, I don't see the problem. Why not simply open the VB6 project in VB.NET and have the upgrade wizard (try to) upgrade it?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #12
RDI
The annoying thing about the last message is that I've read EVERY reference
to "Upgrade Wizard" that I can find in the VS.Net Help. NOWHERE does it say
anything about this lack of support--it just tells how to use it. When I
follow the instructions they provide, it get this error message.

Thanks again.

--

RDI

(remove the exclamation from the email address)

"RDI" <RDI!@!WriteMe.com> wrote in message
news:uC**************@TK2MSFTNGP11.phx.gbl...
Tried your suggestion.

Upon trying to open the VB6 project: "Visual Basic 6.0 migration is not
supported with this edition of Visual Studio."

Thanks for the assistance.
--

RDI

(remove the exclamation from the email address)

"Armin Zingler" <az*******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"RDI" <RDI!@!WriteMe.com> schrieb
No--not yet. I was trying to use this "Walk Through" to learn HOW
to upgrade the project. When I tried to run it, I got a message VB6
must be installed first.


Sorry for asking again, but what do you need VB6 for? Of course, if you

want
to produce code to be upgraded to VB.NET later, you need VB6 - but this

you
already know for sure. So, I don't see the problem. Why not simply open

the
VB6 project in VB.NET and have the upgrade wizard (try to) upgrade it?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


Nov 20 '05 #13
"RDI" <RDI!@!WriteMe.com> schrieb
The annoying thing about the last message is that I've read EVERY
reference to "Upgrade Wizard" that I can find in the VS.Net Help.
NOWHERE does it say anything about this lack of support--it just
tells how to use it. When I follow the instructions they provide, it
get this error message.


The documentation doesn't know what you bought. It only documents everything
that you can buy. You should have a look at the product description before
buying it. (maybe sounds a bit hard, but I can't express it better as I'm
not a native English speaker).

Well, there is no upgrade wizard with the standard version of VB.NET.

....

Said this, I wonder why
http://msdn.microsoft.com/vbasic/howtobuy/choosing.aspx
tells us that the wizard comes with the standard version, but it's often
stated that it doesn't!??! Version 2003 does, version 2002 doesn't? Anybody
knows?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #14
RDI
Trouble is--I never would have thought to look for that.

--

RDI

(remove the exclamation from the email address)

"Armin Zingler" <az*******@freenet.de> wrote in message
news:O$**************@tk2msftngp13.phx.gbl...
"RDI" <RDI!@!WriteMe.com> schrieb
The annoying thing about the last message is that I've read EVERY
reference to "Upgrade Wizard" that I can find in the VS.Net Help.
NOWHERE does it say anything about this lack of support--it just
tells how to use it. When I follow the instructions they provide, it
get this error message.
The documentation doesn't know what you bought. It only documents

everything that you can buy. You should have a look at the product description before
buying it. (maybe sounds a bit hard, but I can't express it better as I'm
not a native English speaker).

Well, there is no upgrade wizard with the standard version of VB.NET.

...

Said this, I wonder why
http://msdn.microsoft.com/vbasic/howtobuy/choosing.aspx
tells us that the wizard comes with the standard version, but it's often
stated that it doesn't!??! Version 2003 does, version 2002 doesn't? Anybody knows?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #15

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

Similar topics

2
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET...
4
by: womanontheinside | last post by:
I have a library which was written in C, you call a function, it provides the result by a callback to specific function names. I am trying to wrap the calls to this inside a class, but this causes...
3
by: K.S.Liang | last post by:
Hi all, 1> If there are more than one dynamic linking libraries in the file system, how do I know which one is loaded into system? Any C library or system call can tell me which *.so or *.sl is...
19
by: Deniz Bahar | last post by:
Hi, I would like to call one of my functions the exact name as an existing C library function (for example K&R2 exercises asks me to make an atof function). If I don't include the header with...
3
by: Manny Silva | last post by:
Hi, I would like to create a static library that uses and in effect adds to another static library. I could simply add functionality to the existing library, but functionally it doesn't really...
1
by: Jim | last post by:
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30. When attempted final...
10
by: mwt | last post by:
So in a further attempt to learn some Python, I've taken the little Library program (http://groups.google.com/group/comp.lang.python/browse_thread/thread/f6a9ccf1bc136f84) I wrote and added...
10
by: Julian | last post by:
I get the following error when i try to link a fortran library to a c++ code in .NET 2005. LINK : fatal error LNK1104: cannot open file 'libc.lib' the code was working fine when built using...
0
by: JosAH | last post by:
Greetings, the last two article parts described the design and implementation of the text Processor which spoonfeeds paragraphs of text to the LibraryBuilder. The latter object organizes, cleans...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.