How to compile legacy VB6 code - vb6

We have inherited VB6 dll which we need to make changes to. We have the code but don't have VB6 compiler. How can we rebuild the dll? Where can we download the VB6 environment/compiler from?
Thanks in advance.

VB6 is still available as a part of the MSDN subscription.

Looks like you can get VB6 now, but only by buying Visual Studio 2005 / 2008 and "downgrading". Source.

I think your eBay regional site - eBay.com for USA - would be your best bet.
However, before buying make sure that your are buyng legal software. Please check the link below:
ebay guidelines on buying software
and please make some research regarding relevant copyright laws in your country.

This is the MSDN Subscriber link. You could also search the MSDN site for: "Visual Basic 6.0"
It seems to be two-disc downloads

You can import the legacy VB6 code into a newer version of Visual Studio.
Just open the VB6 project using File → Open → Convert and it'll automatically upgrade the VB6 code to the current version.

Related

Move VB6 compiler to new PC [duplicate]

We have inherited VB6 dll which we need to make changes to. We have the code but don't have VB6 compiler. How can we rebuild the dll? Where can we download the VB6 environment/compiler from?
Thanks in advance.
VB6 is still available as a part of the MSDN subscription.
Looks like you can get VB6 now, but only by buying Visual Studio 2005 / 2008 and "downgrading". Source.
I think your eBay regional site - eBay.com for USA - would be your best bet.
However, before buying make sure that your are buyng legal software. Please check the link below:
ebay guidelines on buying software
and please make some research regarding relevant copyright laws in your country.
This is the MSDN Subscriber link. You could also search the MSDN site for: "Visual Basic 6.0"
It seems to be two-disc downloads
You can import the legacy VB6 code into a newer version of Visual Studio.
Just open the VB6 project using File → Open → Convert and it'll automatically upgrade the VB6 code to the current version.

MSDN Library download?

I spend a lot of time offline, and while normally I'm in the middle of some book or magazine for work, I've recently been reading through the MSDN Library documentation of Visual Studio 2010 Application Lifecycle Management (aka TFS 2010).
Unfortunately, this documentation doesn't seem to be included on either the Vs2010 nor the VsAlm2010 installation media anymore, and I can't find any downloads for it...does it simply not exist except in online form?
I'd find it hard to believe that the only way to get at this documentation would be to hit a website for every request. What am I missing?
Wow - I'm a little surprised. Even on the MSDN Subscriber download site, the MSDN library downloads only go up to 2007.
But, you can tell the VS 2010 installation to install the content locally.
Go to "Help|Manage Help Settings" and under "Choose online or local help" select "I want to use local help".
You can also use the Help Manager to install online help updates locally. This might get the specific docs you're looking for (TFS ALM) pulled down - I'm not sure, but might be worth a try.
Related: Download Windows API reference (MSDN) for offline use
Install Zeal and add MSDN docset feed - this will give you rather a huge (it contains 41'181 method, for example) flat list of methods, constants, classes etc, not something as nicely laid out as MSDN site, but the search is lightning fast. Download size is ~3'400Mb;
or
Use VSHD to download offline help files for Visual Studio Help Viewer (applicable for VS 2012+) - this offers you the pleasure of leaving VS itself firewalled as it honestly should be. Download size varies.
https://www.microsoft.com/en-us/download/details.aspx?id=34794
This download includes an ISO image file of the Visual Studio and .NET Framework documentation—overviews, how-to articles, API reference pages, sample code, and more—to help you in your development efforts.
Version:
See file name.
File Name:
VS2012Documentation.iso
VS2013Documentation.iso
Date Published:
6/10/2014
File Size:
2.7 GB
4.0 GB
If you have installed Visual Studio completely, you will find it locally. Goto Help > View Help or Press 'Ctrl + F1'

Could not start visual basic

When I try to start my visual basic to open a project it doesnt seem to be working and keep prompting a error 'VB6EXT.OLB' could not be register. What does that mean? Need helps on this matter, thanks
Just Right Click on VB6.exe and CLick On Run As Administrator..
Hope It works
VBE6EXT.OLB is the Visual Basic for Applications Extensibility Library. That filename seems to indicate that you're dealing with version 5.3, which apparently shipped with Microsoft Office 2000. It would seem your VB6 project is an Office Automation project then?
Google turns up the following links, which may be helpful:
BUG: Interface methods in the VBA Extensibility Library (VBE) are changed
PRB: Visual Studio Setup program may include Office OLB files in setup list
Neither seems to directly answer your question, but they seem like a good place to start.
Since Visual Basic 6 (and Microsoft Office 2000 as well) hit end-of-life well before Windows Vista was released, there may be a fundamental conflict between them. You might be better off trying to develop your application on an older version of Windows.
This just happened to me (literally seconds ago) and I came HERE first stop.
I was looking for THE answer. As it happened, MS-Office 2010 offered to repair the problem...
... and, skeptically, I accepted.
To my astonishment I was soon greeted by my FAVOURITE splash screen in the world - I've got my Rubberduck
Anyway, I'm relieved the Auto Fix worked...

How do I set permissions on my VSTO outlook add-in?

I am trying to distribute my Outlook Add-In to the rest of the company.
I'm using Visual Studio 2008 Professional and Outlook 2003. In VS I used an installed template for Outlook 2003. It created a solution with BOTH a project and an installer.
I use the project and created an Add-In. It works GREAT on my PC in development. Now, I want to distribute it. Here's where things go haywire. The nice little installer they provide DOESN'T ACTUALLY WORK.
The installer runs and places the files where they are to go, but the add-in doesn't run. Instead it gets errors about not having permissions. The installer didn't automatically set the security settings for you.
No problem. You just have to set those settings... right? But no where can I find a simple list of those settings.
I've been to http://msdn.microsoft.com/en-us/library/bb332051.aspx a thousand times from almost every possible link on the web. I've read every Microsoft paper that I can find on VSTO add-Ins. Unfortunately everything seems to reference some magic script... "Just include the sample code..."
[rant] IF A SECTION OF CODE OR AN ENTIRE SOLUTION IS REQUIRED TO DISTRIBUTE YOUR CODE IT IS NOT SAMPLE!! IT IS REQUIRED !!! [/rant]
There. I feel better.
Since I installed VS2008, I don't have the directory:
C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\Samples
No problem, right? Just DL it from microsoft. I've downloaded every "vstor.exe" that I can get my hands on. They all offer to "repair or uninstall" my current installation, but no matter what I choose, the vstor.exe crashes.
HELP!!!
I just want to know what I need to do (the manual steps, if necessary!!!!!) to get my friggin app distributed.
No magic "include this gizmo". No fifty-thousand page diatribes.
Anyone know how this is ACTUALLY done?!
I got it to work.
I was able to get a "sample code" update from Microsoft that allowed me to follow the walk-through.
I still think that's utterly ridiculous to HAVE to use sample code to easily distribute your app. However it is working at the moment.
The link I used was given to me by anonymous use on a different board. Whoever you are THANK YOU!!!!
Here is the link I was given:
http://www.microsoft.com/downloads/details.aspx?familyid=6991E869-8D5B-45F4-91E7-B527BD236F4C&displaylang=en
This allowed me to actually get my hands on that mysterious "sample" code even though I use VS2008 Professional.

Do I need to buy Visual Studio Professional?

I have been using Visual Studio Express versions. I used to use the full Pro VS 2005. I can't figure out what I am missing with the Express version. What benefits will I get if I buy the full version of VS?
Here you go. This link is vs2005 specific rather than the more-recent 2008, but that's the version you asked about.
Some highlights:
No Mobile Device support
No Object Test Bench
No Extensions
No built-in source control support (they should really change this)
No remote debugging
No Office Development support
No 64-bit compiler support
No Visual Studio Package support
No profiler
No SQL Server debugging integration
Limited deployment options
This list is actually quite lengthy, but with the notable exception of source control they are mostly things you might be able to do without as a single developer, if you really have to. Even the source control can be handled by a file-system-only tool like Tortoise.
Obviously if you're building something like a smart phone app or VS extension it's a non-starter, so you'll need to evaluate what you're really doing. Some of the other missing features like object test bench or the profiler can be partially replaced by third-party tools.
Here's a link to a downloadable Visual Studio 2008 Product Comparison Guide from Microsoft.
The full version of Visual studio supports some extra features and tools.
One of the big differences is more debugging options (You can specify break conditions for debugging, unlike the express version). That feature alone is probably worth it.
You can also install 3rd party addons to add extra featues.
No Resharper.
also, you can add addins like VisualSVN and Resharper into pro. You can't into express.
Matze might be right - MS needs the money - 5K people layed off today, and only 4.7b profit! :(
Depends on what you do. Look at the product matrix to see what features you gain with higher SKUs. Testing, Smart Devices, etc may or may not be relevant for you.
This really just requires a bit of Googling.
You can view a comparison of the paid versions here and an overview of the Express versions here
Have a look at this:
http://blogshare.members.winisp.net/docs/VisualStudio2008-ProductComparison-v1.02-Revisions.xps
If you are doign any sort of professional development with Visual Studio you should buy the Standard edition at a bare minimum. Without it you will loose Source Control integration which IMHO is vital absolute must no questions asked must have for professional development.
I used VS2003 for a while, and am currently using VS2008 C# Express.
Personally, I miss the ability to set a conditional breakpoint instead of simply breaking when a line is hit, and the Threads window.
Support for code version systems is a feature that is real essential.
And Microsoft needs your money to go on implementing new, hot stuff.

Resources