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
0
votes
1 answer

Connecting VB6 application to SQL Azure Data store

I am starting a project to modify a legacy application to use cloud data. The application is a VB5 (not sure why not VB6) application using either Access database or file based SQL Server (.mdb) Since the person that developed the VB application is…
billymac
  • 11
  • 2
0
votes
2 answers

Migrating an ancient VB5 program to something newer?

A (very) long time ago I wrote a VB5 program that for some reason I still use today. It took me almost 5 years to complete and only recently have I been experiencing problems with it due to its age. In fact, only one part has been giving me problems…
Zippy1970
  • 601
  • 6
  • 20
0
votes
0 answers

Convert a call to old DLL from vb5 to c# - System.BadImageFormatException

I have an old program writed in VB5. This program call a DLL writed in c++. I want to made conversion from VB5 to C#. This is the original code: Declaration in VB5: Option Explicit
Private Declare Sub GENRAS _
Lib…
0
votes
1 answer

What does the error "wrong version of run-time dll" mean? (VB5 / VB6)

The installer for my app runs several sub-programs which are written in a mix of VB5 and VB6. On one customer's computer, when running the installer, the error "Wrong version of run-time DLL" is shown. This is the first time this issue has ever…
StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
0
votes
1 answer

vb3: change to locale date format

I have an error in vb3 code which I set date as 31/12/2200 and jump an error telling the format is not like locale machine. The solution is to set manually 12/31/2200 but what I am interested is to get the locale of the machine to make it…
Dave
  • 7,028
  • 11
  • 35
  • 58
0
votes
0 answers

visual basic 5 run-time error 429 dbengine.workspaces

I had an application perfectly working under Windows XP (32 bit). Moving to Windows 7 (64 bit) and compiling gives me the error run time error 429 ActiveX component can't create object in the module (second line, "set mydb=...", see code) where I…
Janneke
  • 1
  • 1
0
votes
2 answers

"Date" giving compiler error "Can't find project or library" (VB6)

I have some VB6 code that I need to port to VB.NET or C# or F#. First of all, I try to compile it, and it doesn't succeed. When I press F5, a dialog box is opened that tells me "Can't find project or library" while highlighting the word "Date" in…
knocte
  • 16,941
  • 11
  • 79
  • 125
0
votes
1 answer

Display pictures from a folder in the cente of full screen

I have two groups of pictures saved in two folders. I want the program to display theses pictures randomly in center of full screen form. I am trying to do this with visual basic. Private Sub VScroll1_Change() End Sub Private Sub…
0
votes
1 answer

Message box in VB5

I have the scenario, The form shall display following message with “OK” , Close option when a check box ticked with below criteria: If date same as the system date And Time 4:00 p.m. ET or after “ date should be changed to next business…
niru dyogi
  • 619
  • 5
  • 14
  • 37
0
votes
2 answers

How to write an audit trail for a table

I am using vb5 and sybase db. I have different roles of people ( with active directory groups), change the tables. I want to write an audit trail (audit table) for this table, to see...all those who changed with time stamp). How to acheive this?
niru dyogi
  • 619
  • 5
  • 14
  • 37
0
votes
1 answer

How to drag a control on to a frame in vb5 form. (I am using windows XP)

In my Visual Basic 5.0 form windows xp. I can not drag an lable control onto a frame, thereby making the option specific to that frame. I can double click the label control and then move the option control over to the frame, but then the frame…
niru dyogi
  • 619
  • 5
  • 14
  • 37
0
votes
1 answer

copy first three letters of some textbox and paste to another textbox

I know its a silly question but I still want to know it. I have two textboxes, textbox1 and textbox2. I entered some text in textbox1. Now I want that the first 3 characters of textbox1 first to be displayed in textbox2 when I move from textbox1 to…
vijay
  • 1
  • 1
0
votes
1 answer

how to pass a null value to a rdoQuery.rdoParameter in VisualBasic 5

I have a visual basic 5 project, using Microsfot Remote Data Object 2.0 I have the following code: Set ps = grdoCon.CreateQuery("Resolucion_ValidaCorrelatividad", SQL) ps(0).Direction = rdParamReturnValue ps(1).Direction =…
opensas
  • 60,462
  • 79
  • 252
  • 386
0
votes
1 answer

Will applications compiled with Visual Basic 5 run on Vista or Windows 7?

The subject says it all... I am not, however, asking if the VB5 IDE will install and run on Vista/Windows 7 - just the project output. Thanks [UPDATE] I found some more information that seems to show that not only will VB5 apps run under Windows 7…
Adam
  • 4,159
  • 4
  • 32
  • 53
0
votes
2 answers

Is it possible to create an instance of a class in VB from a string containing the class's definition?

Is it possible to create an instance of a class in VB 5 CCE from a string containing the class's definition? Um... I'm actually using VB 5 CCE because I'm too cheap to get a version that costs money. Can someone tell me how to implement it that…