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

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


birthday reminder 8 days

hello everyone i created a program with students and their birthday now each time a student have a birthday in the same day a form pop's up im trying to make like a reminder of 8 days or a week before...

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


UDT Question

How do I remove a UDT that the program creates?

View Article

SetFilePointer doesn't work with ReadFile for physical drive reading

Nevermind I figured out what to change.

View Article

Direct Printing out of .res

hello, i got huge problem... i wanna print a jpg out of the custom resource DIRECTLY, that mean i dont want an extra print-window for properties or smth. atm iam printing with shellexecute print but...

View Article
Browsing all 21236 articles
Browse latest View live


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