Questions tagged [vb5]

Microsoft released Visual Basic version 5.0 (February 1997) exclusively for 32-bit versions of Windows.

Visual Basic is a third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its COM programming model first released in 1991. VB 5 was initially released in 1997.

Programmers who preferred to write 16-bit programs were able to import programs written in Visual Basic 4.0 to Visual Basic 5.0, and Visual Basic 5.0 programs can easily be converted with Visual Basic 4.0. Visual Basic 5.0 also introduced the ability to create custom user controls, as well as the ability to compile to native Windows executable code, speeding up calculation-intensive code execution. A free, downloadable Control Creation Edition was also released for creation of ActiveX controls. It was also used as an introductory form of Visual Basic: a regular .exe project could be created and run in the IDE, but not compiled.

http://en.wikipedia.org/wiki/Visual_Basic

48 questions
5
votes
2 answers

Why would VB6 compiled application require VB5 VM?

I have upgraded a VB5 product to VB6 and produced an executable from the VB6 IDE. It will not execute properly without the presence of MSVBVM50.DLL. Without it it generates the following error: Automation error - cannot find specified…
CJ7
  • 22,579
  • 65
  • 193
  • 321
4
votes
7 answers

Less time consuming : Rewriting or converting an app from VB5 to C#

I've got a contract where I have to continue the development of and old application suite that was programmed in VB5 back in the days. I've bug to fix and new feature to develop. So I have a few choices: Keep programming in…
Tommy B.
  • 3,591
  • 14
  • 61
  • 105
4
votes
1 answer

Which files of VB 5.0 project can I ignore with git?

I want to use git for version control of VB 5.0. There are many files under the project and I suppose there're some files that should be ignored. This link provides the .gitignore file for VisualStudio. I'm not sure if it fits VB 5.0. Especially,…
niaomingjian
  • 3,472
  • 8
  • 43
  • 78
3
votes
2 answers

How does one distinguish between VB5 and VB6 projects?

I have to maintain a number of minor legacy apps and most of them have no or minimal documentation. There are a couple of these which were written either in VB5 or 6, but I can't tell which. There doesn't seem to be big difference in the…
Cyberherbalist
  • 12,061
  • 17
  • 83
  • 121
3
votes
1 answer

Read VB 5.0 binary files with Java

I have a binary file that is created from a program made in Visual Basic 5.0. The file just contains a bunch of Long values from the Visual Basic world. I've understood that Long in Visual Basic 5.0 is 4 bytes in size, but I do not know the byte…
Franz
  • 1,993
  • 13
  • 20
3
votes
4 answers

Expression evaluation

I'm doing an expression valuation program, just like this. My problem is that I can't figure out how to handle operation precedences. I used recursion to find the innermost couple of parenthesis and, when found, solve the expression inside them,…
BlackBear
  • 22,411
  • 10
  • 48
  • 86
3
votes
10 answers

How do I convert VB5 project to a c# project

I have a VB5 (non .net) project that I would like to upgrade to a c# project. Has anyone have any suggestions on methods or free tools that are avalible to help me with this. Thanks Brad
Brad
  • 20,302
  • 36
  • 84
  • 102
3
votes
1 answer

How can I write a VB5 app to consume a web service?

I'm working with one legacy application written in VB5, and I need to give it the ability to consume a web service. Anyone know how this can be done? I've heard that it can be done for VB6, but I don't have any detail on that either.
Cyberherbalist
  • 12,061
  • 17
  • 83
  • 121
3
votes
1 answer

VB5 to VB6 Migration

what is the best way of migrating VB5 to VB6. which version of Visual Studio helps this and what all precautions/considerations we need to take care before migration. Is there any approach notes available anywhere in internet
user1982427
  • 41
  • 1
  • 3
3
votes
1 answer

Working with an application written in a foreign (spoken) language

I have a VB5 application written in a foreign language (Italian). It uses an Access DB which is also in Italian. How can I convert this to English? I am possibly going to port this to .NET, but before I do I need to somehow read and understand…
Saif Khan
  • 18,402
  • 29
  • 102
  • 147
2
votes
1 answer

What library does ObjectContext come from in VB5?

First of all, let me myself make the obligatory snarky comment about having to maintain VB5 code: yes, it's pitiful, but can we please just cut to the chase? Thanks. I am having to revisit some VERY old code that was written in 1998 and which…
Cyberherbalist
  • 12,061
  • 17
  • 83
  • 121
2
votes
1 answer

Can't debug VB5 project

I am suppose to make changes to one of the very old software that my co. sales. Its a VB5 project. Just to be clear I CANT change language and must ABSOLUTLY use VB5.... (If I could change to C# I would be the happiest man on earth right now.) Here…
Sebastien
  • 1,308
  • 2
  • 15
  • 39
1
vote
2 answers

How can I improve my Classic VBA coding using SQL? I'm making a mess with loops

Well... I am a n00b, I know that. And this is pretty straight foward. Basically this is the code I've been writing. rstSwift.MoveFirst Do While Not rstSwift.EOF If Left(rstSwift!Date, 2) & Mid(rstSwift!Date, 4, 2) & Right(rstSwift!Date, 4) =…
Johnny Bigoode
  • 578
  • 10
  • 31
1
vote
0 answers

Error on Upgrading VB5 code to Vb.net in Visual Studio 2008

I have a legacy VB5 desktop application which I'm upgrading to VB.Net in Visual Studio 2008. In bulit VBUW in 2008 did the upgrade partially. But still having thousands of errors which needs manual fix. Most of the error is related to a form access…
Sri Abbai
  • 11
  • 2
1
vote
0 answers

We are trying to migrate a VB5 program (50k Lines) to VB6 encountering multiple errors

We are trying to migrate a VB5 program (50k Lines) to VB6. When we loaded the program into VB5 we would get Threed not found, So we did a RegSvr32 on all of our OCX and now we load correctly. When we do a Make we encounter pnlcolor not found,…
mflum7
  • 11
  • 2
1
2 3 4