Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21968 articles
Browse latest View live

Search for a text file?

Hi there. I am working on a literacy program, but to help track student performance, I would like the program to look for an attendance list that could be somewhere else on the computer. Now the odds...

View Article


Utilizing If Statement Loops

Hello All, I am trying to develop some code to use some correlation functions to determine pressure drop in piping systems. For example the first two functions are: dP1 = 0.066x^2 - 0.040x + 0.300...

View Article


[RESOLVED] Error when opening excel file with Windows 7 Pro

Hi, I have a VB6 app that worked fine on Windows XP and Excel 2007. Now they upgraded to Windows 7 Pro and Office 2010. When it goes to use excel I get the error that this action cannot be completed...

View Article

browser help

i got webbrower as chat window and now i am trying figure out when users type in url www.google.com in chat window when they click it , webbrowser2 should load the link and keep the current chat window

View Article

Question: How to do using RTB or regular text box

Here's what I need to do either using a Richtextbox or a regular textbox. After user types in whatever he types in he can run mouse over certain text and cause it to be selected then he clicks on...

View Article


[RESOLVED] treeview help

i add items on treeview using this code adds icon with item Code: treeview1.Nodes.Add , , strLine, strLine, 2, 2 and now i wish to send alll items in treeview1 using this command but not working am...

View Article

Need Help with a Timer problem

I'm having trouble with a Timer in my app. Has worked for several years, but this is the first time I have been into the code since changing computers. Problem: A timer is defined with an interval of 5...

View Article

printing problem

Good day guys. I am new here and new to programming vb6. I have this index card that contains record like so in this format: transno,date,idnum,patientname,age,etc. 1 1/1/2013 a01 johnson, rex 16 now...

View Article


Rotating Image Smoothly Without Delay?

I am wondering how to rotate an image in a PictureBox control and smoothly without delay? I tried some code from the archived posts, and there was a few seconds delay each time the wheel moved a notch.

View Article


Rotating an Object to aim at another Object

I am wondering how I would rotate one object to follow another. I need a method of doing so for a Tower Defense type game I'm working on. I need the towers to rotate to face the nearest enemy in their...

View Article

Label Printing

Hi, I've created Labels in Access Database. How can I print those lables from Visual Basic 6.0. Can anyone post some code or url . Thanx

View Article

VB6 - How rotate a circle? (and other graphic questions)

I'm just trying to simulate the wheels of a train running. So I've to rotate 2 circles and the lines inside the circle (shape control). My first questions is: How to rotate a circle? My second...

View Article

Image may be NSFW.
Clik here to view.

Macro that read Excel or CSV data based on Windows login

Hi All, I am looking for a macro that read excel or csv data based on Windows login So column 1 has Windows Usernames and column 2 has four digit string (unique to the user) that an application needs...

View Article


Deleted in the database (MS access) but did not refresh in VB. HELP!

Im trying to delete records in a table. I've done it successfully but the datagrid does not refresh. what should i do? here's my code on cmdDelete: Private Sub CmdDel_Click(Index As Integer) 'Declaring...

View Article

Consolidating Folders/Subfolders/Subsubfolders containing excel files

Hi, I have two pieces of code below. The first code copy files from one folder to another that contain the .xls extension, but not ALL excel files within sub folders and sub sub folders (how many...

View Article


Store 300k string in application

I'm trying to store a string with a lenght of 300k chars into an application. First i tried to put it in a textbox but it didnt take that much. The richtextbox was more space but still not enough. How...

View Article

RDP Connections

Hello. I am trying to figure out how to connect to RDP using winsock i have tried the following Private WithEvents rdp As MSTSCLib.MsRdpClient2 Private Sub Command1_Click() Set rdp = New...

View Article


insert any specific keyword before any random keyword

how to paste something before keyword. example:- sentence = i am an software engineer. i want paste something before any one keyword means any one random keyword. every time it will select random...

View Article

How do I transfer in-memory data from one program to another easilly?

I've created these two test programs. Basic operation is this. One defines a Long type variable "a" and assigns it a value. Then the second one is run and it establishes a TCP connection to the first...

View Article

ListView Question

I add a line to a ListView like this: Code: Set itmX = ListView.ListItems.Add()    itmX.Text = EmployeeName   itmX.SubItems(1) = EmployeeNumber   itmX.SubItems(2) = EmployeeYearsService...

View Article
Browsing all 21968 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>