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

Have a listbox randomly pick to remove either the odd numbers or the even...

Hi there folks. I got this math game to help show students the difference between odd numbers and even numbers between 1-25, but I was wondering if there was a way for vb6 to remove either all the odd...

View Article


winsock send to all socks

im trying to update all the conected sockets with the same data the server accepts all clients and updates ok as single client but when i try to loop though all the conected sockets it seems to just...

View Article


[RESOLVED] treeview txt colour , vbpink needed and others

this is what i have Lv.SelectedItem.ForeColor = vbRed i also require vbpink & others , i defo need vbpink:(

View Article

[RESOLVED] treeview1 general

i got treeview with imagelist and when i add an item in it i set image=0 so there is only text no image , but the text is in the middle of the treeview1 anyway's to get that aligned to left because i...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Type mismatch error - Please help me to solve this

i have a Tool Bar with 6 buttons in my form. Also i have a function to set the visibility of the buttons in the toolbar. When i click on the button, it is showing me a runtime error '13' - Type...

View Article


Using FindWindow to access External Windows, need help with my process

I am using consecutive loops to search for a a sequence of windows and automate clicking command buttons but sometimes some random windows pop up in between the normal windows and my program gets stuck...

View Article

Populate CheckBoxList from Access Database

Hi! In my project I would like to populate checkboxlist from my database. But problem is I cant figure out what I'm doing wrong. Code:     Private Sub form_artikel_Load(sender As Object, e As...

View Article

Timer without Timer Control?

I am wondering if there is a way to create a timer without the use of a timer control?

View Article


Newby - Large TXT file manipulation methods and reference lookup file

I need a functionality starting push as it has been quite a few years since I done any programming. I have a large txt file containing addresses which currently holds 720K lines, I also have a list of...

View Article


Changing a String for Certain Dates

Hi all, I am new to VB6 My question is, I have a date in the from of MDDYYYY... I need it to be in the from o f YYMMDD. My program works for months that have two integers (10, 11, and 12)...but does...

View Article

Mailing Labels - City , St, Zip on new line

I have created mailing labels using a mail merge option from outlook contacts. The problem is that Line 2 of each label holds the street and the city , state and zip... C5 KINCADE CHARLES F 773 FM 683,...

View Article

Image may be NSFW.
Clik here to view.

please modify this project to upload rtf file in richtextbox

Hi guys, i found this quite useful project on net to check typing accuracy. This project has one richtextbox and one textbox, user can type the words in textbox, which shown in Richtextbox ....

View Article

ISO Absolute Week !

Hello guys, I am stuck in an elementary problem...I found on the Chip Pearson's site a very simple formula to calculate the absolute week number in a year : Code: Sub myTest()     Dim absWeek As Byte...

View Article


Timer Interfering With Processes

Okay, I need some serious assistance. I have an app that has a "refresh" timer on the MDI form. This same app has a reference to a Custom ActiveX DLL with all the MSComm controls. The DLL also has user...

View Article

need something important .clent sided

i am currently working on my client , but how ever i will like to talk about fresh project so nobody get confuse. my goal 1: command1_click create appath xxx.txt that should contain date and time when...

View Article


[RESOLVED] Setting Focus of a Textbox in an External application

I have searched everywhere on multiple forums and can't find the answer to this tricky one. Currently I have used the SetForegroundWindow to bring the window to the front first and I have the hWnd of...

View Article

Help splitting a string!

Hi guys, I'm fairly new to visual basic but I'm having a bit of trouble here trying to split a string. Basically I've got a long piece of text, for example a string containing the following formula......

View Article


[RESOLVED] Can't set Owner-Drawn Button MousePointer as HandPointer

I had studied all kinds of Owner-Drawn ActiveX Button control like JCButton,LavolopButton,CandyButton on PSC.com, but none of them got Mouse Icon work properly.If I set MousePointer as handpointer, the...

View Article

webbrowser1 single image =>> webbrowser2 move

this is my code Code: Dim HTML As String HTML = "<Center>" & Text13 & "</center>" ' text13 contains image url and html img tags frmMain.Web.Document.Write HTML and now i wish to...

View Article

webbrowser help urgent

when i enter tags such as Code: <img border="0" src="http://www.w3schools.com/images/pulpit.jpg" alt="Pulpit rock" width="304" height="228"> the browser dont load it please help,is there a way to...

View Article
Browsing all 21114 articles
Browse latest View live


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