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

Delete all text before /

if i have a text box and has "example1/example2" or "text1/example3" how can i make it delete / and all text behind it how does one delete all text in a text box prior to one specific character like...

View Article


Size of string variable.

What is the maximum size of a string variable in VB6?

View Article


How to make an array of Forms

I see that a Form does not have an Index property like controls do so how do I make an array of Forms. In my VB project I have Form1 and Form2. Form1 is the main processing Form and Form2 is used for...

View Article

Image may be NSFW.
Clik here to view.

VBS - Login script for mapping drive with Multiple NICs.

Hi, I tried your code for mapping drive with Multiple NICs, but i am getting this error. set objNetwork = CreateObject("Wscript.Network") Code: strComputer = "." Set objWMIService =...

View Article

Ctrl+Backspace to Remove a Word instead of a Character?

I'm getting a garbled character as oppose to a word deletion with this hotkeys. So as you can do that on any other textboxes, can you possibly "trick" VB6 into doing this as well? Thank you.

View Article


Help needed to modify script so I can confirm delete before action.

Hi to all ... :-) I' a relative newbie to all of this and could really do with some help from any guru out there who would care to give me some advice. Programing is not my forte so I guess patience...

View Article

Error #347: Failed to activate control "VB.UserControl"

I am upgrading a program for my job which is written in VB6. Today, I was updating one of the controls that the program uses called granBEC.ocx (only changed one line). I registered the ocx and made...

View Article

need help about round off

how to prevent "95.555" from rounding to 95.56 ?

View Article


Add Data into DBGrid

hi, all I want to ... 1) add data into DBGrid from some textbox and combobox on CommandClick event. 2) Save Data of DBGrid also using CommandClick event. I want to DO above things using code. (like we...

View Article


[RESOLVED] Select first row in listview

Good afternoon, I am attempting to programatically select the first row in my listview when a command button is clicked. I've seen some examples for vb.net but I cant seem to find any for vb6. I've...

View Article

Test computer with an internet connection ?

I want to search the code your computer with an internet connection, note: not the case on or off the network card

View Article

VB6 consume web service with SOAP 3.0

I would want that someone help me to develop the code to consume a webservice using SOAP 3.0 & VB6 or guide me to a internet site Here's the wsdl: Code: <?xml version="1.0" encoding="UTF-8"...

View Article

Duplicating a Form

I want to create another Form similar to Form1 with controls .. I do not want to use select all , copy and past method for Form2 .. I tried to save Form1 as with different name and tried to add Form as...

View Article


[RESOLVED] color listview gets error after refreshing

i have a code that colors a row in the listview when i run it for the first time then i see the colored listview and everything is ok when i open the listview again or refresh then i get error there is...

View Article

Visual Basic 6.0 question

Hey all, For the past year at school I have been doing Visual Basic in a computing class, I do not know much at all about the language itself but am learning quite quickly. My issue is I want to be...

View Article


Inputing data into Microsoft Access from Visual Basic 6 Problem

Hi, I’m completely new to Visual Basic 6, I only learned the basic a bit from a book Visual Basic for Beginner. So when it came to a harder coding, I got easily confused. I have a problem in inputting...

View Article

Help with mouse_event

So I am coding a mouse clicker and got everything working like grabbing the position, setting how many times you want to repeat, etc. The only problem is getting the mouse to click on every loop...

View Article


made this program how this make read must

Hello my first thread in this web site i make a program please help me my program is consist in picture box and cammand button and 4 text box seen in picture and when i click button then result show...

View Article

Date format in VBS script

Hi, I have no knowledge in VBS. I use a small application named Clavier+ (Keyboard+) Such application allows to assign a VBS script to a hotkey. As an example the following short VBS script can be...

View Article

Images removed from Picturebox if object moves on top

I'm using BitBlt to draw colored balls on a Picturebox. Also using BitBlt I can randomly move these balls around the Picturebox using the mouse pointer. The problem I have is that the ball images get...

View Article
Browsing all 21259 articles
Browse latest View live