50 questions
-2
votes
1
answer
75
views
error in url after switching from VB5 to XF 2.3
after importing vb5 (to XF 2.3.3) all went ok except for some errors in a few pages.
the page in the main has a thread that I can't view, I get "The requested page could not be found." while ...
1
vote
1
answer
283
views
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 ...
-1
votes
1
answer
1k
views
I need Newtonsoft.Json 4.5.0.0 or a way to get Version 13.0.0.0 to work with RestSharp.Net2 for VB
I'm making a COM using VS2019 and Visual Basic. I'm very new to Visual Studio.Net
The COM needs to be referenced in one of the VB5.dll's in a very large VB5 program.
I've managed to get the .TLB from ...
0
votes
1
answer
113
views
Getting system time milliseconds
I am not a VB programmer, let alone a VB3 programmer on a Windows NT.
Everything here is difficult and ackward.
All what I have to do is to get system milliseconds.
So from hereI know that this might ...
1
vote
0
answers
1k
views
Using MSXML2.ServerXMLHTTP instead of XMLHTTP for POST requests from VB5 application for handling HTTPS
I've been using XMLHTTP for making HTTP POST requests (From a VB5 application) to a WCF (self hosted in a windows service) endpoint with the next code and everything was working as expected,
Dim ...
-1
votes
1
answer
378
views
Error in using winsock in VS2010 : The variable 'Winsock2' is either undeclared or was never assigned
I recently migrated the code on visual studio 2005(x64) to visual studio 2010(x86) (Both on .Net 2.0 framework). I get this error at
winsock declaration : Public Winsock2 As AxMSWinsockLib.AxWinsock
...
4
votes
1
answer
231
views
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 ...
0
votes
1
answer
1k
views
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 ...
1
vote
0
answers
79
views
VB5 and Oracle 11G: Init parameter NLS_NUMERIC_CHARACTERS ignored
I want to insert number values via the IHM into a table with a column of datatype NUMBER.
Now when I query the table there is '1234' instead of '12,34' inserted.
When I insert directely in the DB I ...
0
votes
2
answers
10k
views
"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 ...
2
votes
1
answer
220
views
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 ...
0
votes
1
answer
136
views
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
...
0
votes
1
answer
2k
views
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 ...
3
votes
1
answer
2k
views
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 ...
1
vote
0
answers
473
views
SetFocus causing Run time error
I am getting:
Run-time error '5':
Invalid procedure call or argument
this seems to happen when Text(1).SetFocus is called.
However, I dont see this run time error for all the cases where I have ...
0
votes
1
answer
416
views
Application Error in Event Log
I am frequently getting the following error for a VB5 app in the Event Log:
Faulting application [My EXE Name].exe, version 0.0.0.0, faulting module msvbvm50.dll, version 5.2.82.44, fault address ...
0
votes
1
answer
259
views
Upgrade Software from VisualBasic 5 to 8
I've given a VisualBasic Software, written in VB5. Now the whole thing should run under Windows 7, so it needs to be converted to VB8 or VB9. It seems that most of the API of VB changed a lot in these ...
1
vote
2
answers
192
views
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) & ...
3
votes
1
answer
456
views
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 ...
1
vote
2
answers
405
views
C# COM Component works with VB6, but not VB5 -- What's Up With This?
In an earlier question I was attempting to get a C# class functioning as a COM object for VB5 & 6. I did manage to get the COM object working with a VB6 app, but have had a problem getting it ...
3
votes
4
answers
6k
views
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, ...
1
vote
2
answers
827
views
Can no longer locate service packs for Visual Basic 5
I have been using Visual Basic 5 since it was first released until a couple of years ago.
I re-installed it on each new laptop I bought and downloaded the service pack each time. I think it is SP2 ...
4
votes
2
answers
536
views
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 ...
0
votes
1
answer
487
views
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 = ...
3
votes
2
answers
1k
views
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 ...