473,544 Members | 2,458 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.
11
1,365
thread by: Screener | last post Mar 3 '08 by: Screener
hi, I'm new to VB , and I've created a typing program that displays the character pressed and highlights it on the screen. The program displays the characters on a ReadOnly textbox. I could code all characters including the backspace and the enter. The only problem I'm facing right now is how to make the shift key display capital letters ? ...
11
2,159
thread by: sniperelite | last post Mar 15 '08 by: sniperelite
i had to create a program for a programming class final, it breaks dow like this. i have 2 textboxes for user input, a drivelistbox which is linked to a dirlistbox which is also linked to a filelistbox so the user can choose the drive his music is on then find the folder the music is in and if others are like me you have so much music it takes for...
11
1,315
thread by: jagguy | last post Mar 8 '08 by: jagguy
i can get a single value from a worksheet using vb.net and excel. q)How do i get a range of values eg A2 to A5 and print them out eg with a msgbox. I know i can use the cells command but i want a range command where specify excel cell range. 'MyString = XL.Cells(4, 1).Value MyString = XL.Range("A2", "A5").Value 'error ...
11
2,977
pentahari
thread by: pentahari | last post May 17 '08 by: shuvo2k6
How to open the MDI Parent form in center to the MDI form.
11
2,475
lee123
thread by: lee123 | last post Aug 9 '08 by: lee123
if you have a list box with music in them how do you have it advance to the next one down to the next song when the one is over? lee123
11
1,629
thread by: yourstonight | last post Sep 8 '08 by: yourstonight
Hi everyone! I'm currently working on a project where I have no idea where to begin because I'm really bad at programming and thus, the reason why I'm posting here. To start off with, my project supervisor wants us to use the following programs: 1. Visual Web Developer 2. Visual Basic 3. SQL He wants us to come up with a code that...
11
1,937
AaronL
thread by: AaronL | last post Oct 22 '08 by: AaronL
Hello, I need help determining what the best way to store properties of multiple items. For example, I am creating a list box and every item in the list box needs to have properties. I don't want to use arrays because I'm not going to know the maximum items in the list box. I read briefly on Microsoft's site about "collections" but I don't...
11
1,510
lee123
thread by: lee123 | last post Nov 28 '08 by: rpicilli
Hi there my question has pictures and all and the story is i have done this code before and it worked in my last project but i have made a different one a couple of days ago and the code i used is not working so if one of you moderators could look at this and tell me why i would appreciate it. so if you could go to my web page and look at it that...
11
2,077
thread by: harshakusam | last post Apr 20 '09 by: harshakusam
Hi All, Can someone pls help me ... Below is the query which i usely run in Access select d.DEAL_FOLDER_STATUS, d.VALUE_DATE, d.BUSINESS_DATE, case when d.BUY_SETL_TYPE_IND = 11 then 'NET PEND'
11
11,841
9815402440
thread by: 9815402440 | last post Sep 30 '09 by: smartchap
hi is there any way to zoom in a form, so that one can have enlarged view of the form. regards manpreet singh dhillon hoshiarpur
11
1,892
thread by: kimmelsd33 | last post Jan 2 '10 by: kimmelsd33
I would like some expert advice. I am writing in VB6. I am opening a tab delimited file, deleting the first 50 lines, and rewriting the file to a temp file. The temp file has about 20 columns with x number of lines. What I am trying to do, is open the tab delimited file, and read each column into a named variable, ex....
11
3,273
thread by: cynicon | last post Mar 8 '10 by: cynicon
I'm using Access and Excel 2003 Every month I receive a database with a column that has multiple dates, so, I need to group them and export every "group of same date", to a new sheet in excel in the same workbook The problem are: 1Every month dates change 2When a "group of same date" have more than 65,536 lines I need to export it into a...
11
3,561
thread by: NPela | last post Oct 6 '10 by: Chris Chapman
I'm an old-school programmer (real old - Fortran, Pascal, etc.) who has not written any code in 15 years or so. I got the bright idea to learn VB (2008 Express). All has been going well and I'm at the tail end of writing a fairly complex program that includes some graphic routines. I think this is a simple question, and I'm just confused...
11
1,622
thread by: suraj269 | last post Jun 24 '10 by: patjones
this code works very well for the one cell B12, where selection made reflects message change in C12. i want to do it for series of rows. Like B13, C13 and then B14, C14 , .....and so on. can someone please help If Range("B12") = "N/A" Then ' Drop down value selection Range("C12") = "Details required" ElseIf Range("B12") =...
11
9,474
thread by: kennyang | last post Dec 16 '10 by: Guido Geurs
Hi all, I have a database that logs certain events on my simulation. I need to create a timeline using VB then get the events from the database and plot them according to the log time that is stored in the database. eventually the timeline will contain all the events according to the log time in the database and they will have details on...
11
3,584
Kabyr
thread by: Kabyr | last post Dec 28 '11 by: Killer42
I have a form with a form in my application. When the form is reloaded, a particular command button refuses to display even when there was no command to hide it. It only shows a blank shape where the button is supposed to be. Has anybody experienced this in the past. Kindly help me out with this as it does the same on clients' machines...
11
10,140
thread by: hwkong1688 | last post Jan 2 '12 by: Guido Geurs
Hi,this is my code for print data to my default printer,but not for all data. 1.How to print all data from datagrid to printer? Private Sub Command2_Click() Dim RRow As Integer Dim Colomn1 As Integer
11
2,382
thread by: msquared99 | last post Jan 23 '12 by: msquared99
I currently have a VB program that will copy and paste value data. What I want to be able to do is copy data and paste value it in a column that I choose. I'll have several pieces of data to paste value. Example: I'll choose column E and data will paste value into rows 1 thru 9, then some data will paste value into rows 11 thru 20 and so on. ...
11
11,729
thread by: DePonce | last post Jan 20 '12 by: C CSR
Private Sub btnDisplay_Click(sender As Object, e As System.EventArgs) Handles btnDisplay.Click ' calculates average score and displays the result Dim intScores() As Integer = {88, 72, 99, 20, 66, 95, 99, 100, 72, 88, 78, 45, 57, 89, 85, 78, 75, 88, 72, 88} This is the beginning of the programming, but I don't know how to...
11
3,421
thread by: Jim Yab | last post Aug 12 '12 by: Killer42
I have no code and need a starting point for writing it. First, can it be done? Second, I need an example. I have many CDs, both commercial and those converted from cassette and vinyl disks, that I am storing information (not the music) in my Music Library program. Typing in the data is time consuming. The CDs list most of the information on...
11
1,986
thread by: azhaguraju | last post Feb 28 '13 by: Rabbit
Private Sub CommandButton1_Click() Dim fd As FileDialog Set fd = Application.FileDialog(msoFileDialogFolderPicker) fd.InitialFileName = ActiveWorkbook.Path fd.Show On Error Resume Next
11
4,623
maxamis4
thread by: maxamis4 | last post Feb 10 '15 by: Rabbit
Hello to start off i have a VBScript not VB. I am not sure where it goes but I figured this would be a good place to start. So I am querying AD to pull the Last Data an individual set their password. I have that working just fine but I have ran into a snag where not all individuals have a Last Password Set value. My code that I have to...
11
3,888
thread by: Dan1974 | last post Nov 27 '14 by: Ajay Bhalala
Please I would appreciate if you can help me with the correct code to countdown characters left in a TextBox. Here is my code but doesn't work on real time, I mean, when I type in TxtBox2. TextBox3 is where I put the counter. TextBox2 is where it's the text. // Private Sub TextBox3_Change() Me.TextBox3 = 250 - Len(Me.TextBox2.Text) & "...
11
5,832
ADezii
thread by: ADezii | last post Sep 6 '20 by: dev7060
I am nearing completion of a VB6 Project in the form of a Family Tree. I have distributed it to several family members across the United States for testing purposes, analyzing their feedback, making revisions, redistributing, etc. The distribution media is currently in the form of a CD which I then mail to each and every individual. The CD...
10
30,408
thread by: KJM | last post Jun 27 '06 by: sashi
How can I detect if the user has dual monitors and then how do I control which monitor a form is displayed on. Currently my forms always come up on my right monitor. What if I want to have it always display on my left one? Thanks Ken

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.