473,890 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic 4 / 5 / 6 Forum

Visual Basic programming language and IDE - Ask questions about rapid applicatoin development, GUI, database access, DAO, RDO, ADO, Active X Controls, objects, Microsoft Visual Basic 4/5/6.
1
23,467
thread by: Killer42 | last post Nov 3 '12 by: zmbd
List of articles in the Visual Basic Articles forum This list is fairly simple but will expand and evolve over time. New entries will be shown in bold. Basic How-To series (just getting started - there will be more) VB6 How to read a file Part 1 - Line Input
1
125
thread by: vbtommy | last post 3 Weeks Ago by: juneana
Hello, I want to do something so that form1 is never behind other Windows programs and games and is always in front of the view, please help me?
0
82
thread by: vbtommy | last post 4 Weeks Ago by: vbtommy
hi How to Press two keys in one time for example : Ctrl + x then event(print "Hi"?
0
79
thread by: vbtommy | last post 4 Weeks Ago by: vbtommy
Hello, I want to write a code that when form1 It is in minimized mode and I type in another program. My text is in form1.text1.text also be typed too how to use key prees out of form1
2
86,464
thread by: Killer42 | last post Nov 21 '23 by: Tomas Fok
The VB6 Version Generating a random number is somewhat different in VB6. It's not for me to say which is better, since I'm only familiar with the VB6 method. But certainly generating a random number (more correctly, a pseudo-random number) is simpler in VB6. You simply call the Rnd() function. This sample form will do the same thing - each...
1
27,198
thread by: RajeshBabua23 | last post Oct 25 '23 by: pacmanpk
Helo, i need a help for printing barcode to barcode printer from VB6. i have TSC TTp-244 Plus barcode printer and they generate their printer programming code in text format and give to me. now i want to generate different barcodes usnig that code. i fill values. i use printer.print command to send these commands to printer. but i can't got the...
2
20,879
thread by: BobBerner28 | last post Aug 14 '23 by: cactusdata
Hi, This is my first post and need help with an unexpected problem. I am an experienced C language programmer but don't have much experience with VB6.0, please excuse me. I will try to describe the problem in detail and as short as possible. We bought a chinese thermal printer 55 mm paper width. I need to print barcode labels for marking and...
1
19,078
thread by: mukashingiro1 | last post Aug 13 '23 by: MerlinTheGreat
how to get date time picker control in visual basic 6.0
0
14,014
thread by: BobBerner28 | last post Jul 25 '23 by: BobBerner28
Hi, This is my first post and need help with an unexpected problem. I am an experienced C language programmer but don't have much experience with VB6.0, please excuse me. I will try to describe the problem in detail and as short as possible. We bought a chinese thermal printer 55 mm paper width. I need to print barcode labels for marking and...
0
5,292
thread by: Temur2 | last post Feb 3 '23 by: Temur2
I have a problem. There is an app in vb6 working with SQL Server 2008. In db there is the table EquRSh with 8000 rows. I get one record with the help recordset. The string SQL has as follow StrSQL="SELECT F1, F2, F3 FROM EquRSh WHERE (F4=" & N4 & " And F5=" & N5 & ")" where N4, N5 are integer variables. The recordset rs.Open works for a...
0
5,734
thread by: RossfromWhitby | last post Dec 5 '22 by: RossfromWhitby
I've been asked to create an application that basically does an archive with a few tweaks along the way. My concern is that when I try to do the copy or delete from the source directory, I may come across some security issues for either one or both of those steps. In the interest of saving processing time I'm using CopyDirectory and...
25
62,622
thread by: dennijr | last post Sep 21 '22 by: netgroover
ok, shell always used to be easy for me, now its starting to get annoying cause i dont know wats wrong heres the simplist code possible: Private Sub IExplorer_Click() a = Shell("C:\Program Files\Internet Explorer\Iexplore.exe http://www.google.ca", vbMaximizedFocus) End Sub i have a program thats been on my desktop for about a month now...
0
1,864
thread by: sal21 | last post Sep 17 '22 by: sal21
How to tooltip on each item of treeview? Tks.
7
12,483
thread by: NewUser13 | last post Jul 31 '22 by: zmbd
Hello everyone, i am facing some issue with unique delimiter in visual basic 6. I am trying to create security application which is compatible with Chinese Windows. Although i did many tests today, its still doesn't work. It works only on English Windows.I am pasting the code, and if someone have any idea, i would be grateful for the guidance....
3
15,410
thread by: Dönerbude | last post Jul 12 '22 by: Anushka00
I want to remove the last characters which are " " but the number of empty characters in the end varies. sometimes it is: "hello " sometimes: "hello " sometimes:
2
17,561
thread by: themadtux | last post Jun 23 '22 by: webapp
Quick question, I have a label that is counting the letters that are typed in a textbox. But what I do want with that label is that I need it to be right justified. If I set the properties of the label to have right align it doesn't seem to work. So do I need to align it in the code so when it hits double digits it doesn't run over the item to...
1
13,883
thread by: assad | last post Jun 20 '22 by: JacqualineLi
I want to open a file but Microsoft common dialog control 6.0 doesn't open. it says license information for this component not found. what should i do?
1
13,974
thread by: sal21 | last post Jun 13 '22 by: MerlinTheGreat
Possible to colorize the background of single item/subitem in a listview. No color font, but background... Tks.
1
13,164
thread by: sorin | last post Jun 13 '22 by: MerlinTheGreat
Hi, want to ask the following if rs.fields(0).value=text1.text and rs.fields(1).value=text2.text then mainform.show loginform.hide As you know, above code is part of Login processing. There are two text boxes for user name and password entry. Number (0) and (1) (in above code) refers to access database fields that user names and passwords...
1
16,734
thread by: Arizonasworld85 | last post Jun 13 '22 by: MerlinTheGreat
I am working on a slot machine project in vb6. I am trying to figure out how to change this: If (a = 1 And b = 1 And c <> 1) Or (a = 1 And c = 1 And b <> 1) Or (b = 1 And c = 1 And a <> 1) Or _ (a = 2 And b = 2 And c <> 2) Or (a = 2 And c = 2 And b <> 2) Or (b = 2 And c = 2 And a <> 2) Or _ (a = 4 And b = 4 And c <> 4) Or (a = 4...
8
11,216
thread by: KashanKhan | last post May 5 '22 by: ghendric1
hi there i have this string dim str as string str="1,2,3,4," i required this str="1,2,3,4"
0
8,558
thread by: Lmfdevcontain | last post Apr 15 '22 by: Lmfdevcontain
I know, that all (well most) microsoft executables are made with iexpress. So, the question is: How do I make an executable without iexpress?
1
6,065
thread by: Joey64 | last post Mar 28 '22 by: cactusdata
I have just started learning vba and I have script that is working except for the between two values and was wondering if anyone can tell me where I'm going wrong. If I'm not providing the correct information please let me know and I'll do my best but am a complete novice. Everything else works it's just when I get to the between choices. I've...
0
4,773
thread by: gabril16 | last post Mar 23 '22 by: gabril16
'Form fmLog2File is paired with fmLogFile by code as follows: Private Sub Form_Current() Dim Form As Form Set Form = Forms("fmLogFile") Form.Filter = "logID = " & Me!logID.Value & "" Form.FilterOn = True End Sub
3
8,561
thread by: sal21 | last post Mar 22 '22 by: SioSio
Possible to center text listview column 1 ( i know to the default is left)
0
5,016
thread by: CoderNitai | last post Feb 19 '22 by: CoderNitai
Dim vNumber As Double Function NumberToWords(ByVal vNumber As Long, Optional BlankIfZero As Boolean) As String Select Case Number Case 0

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.