vb6 Questions
7
Solved
A client wants me to do some maintenance work to a VB 6.0 application (migration to .NET is also in the pipeline), but he doesn't have the development tools because he received just the source code...
Forrer asked 9/10, 2008 at 6:28
7
Solved
Is there any way to align text into the center in msgbox in VB or VBA? Does VB have any functionality to do the same?
Leavings asked 3/2, 2012 at 15:24
7
Solved
How I can find the path where Microsoft visual Studio is installed. I need to use that path in my program.
What is the function that has to be called or what other method can I use to get the path ...
Noelianoell asked 11/5, 2009 at 7:17
3
Solved
I have a VB6 application that uses a COM DLL. The DLL is written in C#. In the C# project properties I have checked the "Register for COM interop" option. The VB6 app works fine on my dev...
Goodfellowship asked 16/11, 2010 at 20:24
2
Solved
I have a form (for example, abc.frm). I want the duplicate form (for example, xyz.frm) of abc.frm. I don't want to create it again. So I used the Save As option. But it did not appear in Project Ex...
Bauske asked 27/6, 2012 at 8:51
5
how do I express the term if x is integer in VBA language ?
I want to write a code that does something if x is integer and does something else if its not with vba excel.
Sub dim()
Dim x is Vari...
10
I use the Call keyword when calling subs in VB/VBA. I know it's optional, but is it better to use it or leave it off? I've always thought it was more explicit, but maybe it's just noise.
Also, I r...
4
Solved
The following code kills VB6 (sp6) with an 'unhandled exception fault in VB.exe' on two machines in the office on the line marked.
''# Form1.frm
Option Explicit
Private ArrayHolder As Class2
Priv...
Coenocyte asked 12/5, 2009 at 12:4
6
Solved
I have a table in SQLite:
CREATE TABLE "EventType"
(
[EventTypeID] INTEGER PRIMARY KEY,
[EventTypeName] VARCHAR(50) NOT NULL UNIQUE
);
Since EventTypeID is an integer and a primary key, that a...
Topee asked 10/2, 2009 at 5:3
14
Solved
I'm looking for a decent sort implementation for arrays in VBA. A Quicksort would be preferred. Or any other sort algorithm other than bubble or merge would suffice.
Please note that this is to wo...
Qadi asked 30/9, 2008 at 9:6
5
Solved
VB6 classes have no parameterized constructors. What solution have you chosen for this? Using factory methods seems like the obvious choice, but surprise me!
Prepense asked 1/8, 2010 at 17:8
15
Solved
I was asked to help work on a legacy vb6 application for someone, so I decided to toss Visual Studio 6 on my Windows 7 x64 laptop following this guide.
It installed fine, and from I can see everyt...
Horseman asked 22/12, 2013 at 8:23
14
we had developed an application using vb6.0 and SQL server 2000 a few years ago.
recently, some of our customers tell us that while running the application, on some of computers which use Winxp sp...
Maxfield asked 30/12, 2009 at 9:33
1
Solved
I am running an old VB6.0 program in interpretive mode (i.e. not as a .exe) on Win-7 32-bit.
The program accesses VBScript via an MSScriptControl.ScriptControl (as illustrated in the code block bel...
Vocational asked 19/10, 2023 at 12:12
5
Solved
I'm working on an app that positions windows on the screen in a grid style. When Running this on Windows 10, there is a huge gap between the windows. Further investigation shows that GetWindowRect ...
Margartmargate asked 7/12, 2015 at 17:20
5
Solved
In the VB6 / Visual Studio 6.0 IDE, is there a way to display line numbers in the code editor like there is in recent versions of Visual Studio .NET?
For example, I would like to ask someone a que...
9
Our company has a large codebase in VB6, and we currently use VSS which, for all that we hate about it, at least integrates into the VB6 IDE.
My own team, which is using .NET, are now looking into...
Meanwhile asked 17/3, 2010 at 13:21
16
Solved
VS6 popped off a series of errors before bombing out completely during install on Windows 7. I specifically need to get VB6 functioning on Windows 7. Anyone having any luck?
Goldman asked 26/2, 2010 at 4:37
6
Solved
I've been trying to execute a parametrized query with ADODB.Command. I know I can use "?" for parameters, but my queries are rather large and I really don't want to track the exact order of the par...
Tricorn asked 10/7, 2009 at 14:20
8
Solved
I always read that it is recommended to set objects to nothing, once I am done with them. But I normally use them only in functions inside forms.
Isn't the reference lost and memory released...
4
I need to pass a collection of key/value pairs of strings from VB6 to .NET. In VB6 code they exist in a native collection. But I am not sure what I can reference in my .NET project to be able to ac...
Superincumbent asked 27/3, 2013 at 0:3
3
Solved
I started with a very sophisticated system of clients and servers with COM references and other things, and I've cut down and down until I realized I can't even get Microsoft sample code to work fo...
Coagulant asked 25/11, 2015 at 21:31
7
Solved
I got a RS232 signal capture device. and it working great.
I need some help making sense of the data. Basically we bought it because we are dealing a late 80's machine controller that uses serial...
Halftone asked 14/8, 2009 at 18:39
5
Solved
This little piece of code is supposed to fire off and give me the correct variable
but no matter what is in the variable "numericDay", the Variable "suffix" gives me
"th". i don't see why it wouldn...
Wheeze asked 21/12, 2011 at 18:28
24
Solved
Passing an undimensioned array to the VB6's Ubound function will cause an error, so I want to check if it has been dimensioned yet before attempting to check its upper bound. How do I do this?
1 Next >
© 2022 - 2024 — McMap. All rights reserved.