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

MultiClient Timing Disconnect - How To

I want to set a time limit to all connections. Client has nnn seconds from the time client connects to the time client sends user name and password. If time expires then disconnect that socket...

View Article


treeview icon question simple

1: can treeview support icons on both sides example below icon1 ladooo icon1 or icon1 icon2 ladoo default is icon1 ladoo please help:eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::eek::p

View Article


Newb question/Introduction

Hey guys my name is Steve, I'm a huge forum geek but this is my first time venturing over to the VB forums. I'm usually over in the S4 car forums and have been posting in/on/around forums for over a...

View Article

VBA CODE error

Hello this code i used in 2003 version to past excel tables in to a word document the first code works in 2010 the next doesn't anymore: compilation error: read only. What could be wrong? The two codes...

View Article

Run-Time Error '70' : Permission Denied

Dear Expert, I have a access 2003 database, i get error while copying it to Backup Folder . Run-Time Error '70' : Permission Denied. I already close the Connection and Recordset too. Code: FileCopy...

View Article


SMTP server - message could not be sent

Hello, I'm using vb6.0 and CDO's for sending email.[Windows7] The below code working good for gmail, yahoo, nate. It's not working for Hotmail, naver, daum.net I'm getting below error: Run-time error...

View Article

I am getting error "Subscript of range runtime error "9" in visual basic 6.0

Hi I am using Visual Basic 6.0 and I am getting error "Subscript of range runtime error "9" Please refer the code below I am using arrays.Pleas help me to fix the error and I have pointed the line in...

View Article

Combo list box to text box - changed value

I have a form with a combo list box that is populated with the names of members of a golf society held on an Excel spreadsheet. My code is on combo list box_Click event. Having selected a member...

View Article


VB6 + Word - Merge 2 Word Documents and Preserve Formatting on Both

Hello Everyone. I have a vb6 program that basically shells a program that sends faxes from the command line. Unfortunately, the program xmedius sendfax only accepts 1 attachment. What I need to do is...

View Article


[RESOLVED] typing out abreviated text

I have a file being read line by line that contains short 3 letter labels i want to expand them to full words Im assuming it would be some form of the mid function to replace the letters but i dont...

View Article

DWG OCX Control ...I need Help to Find it... Plz!

Hey guys, I would like to know if anyone knows about any -> completely free <- DWG viewing OCX control?!!!! I just want to view and zoom in/out through the control....ive been searching the...

View Article

[RESOLVED] ActiveX DLL- Include common Subs/Functions that should not need...

Hey all, What I'm trying to do is store some common Subs/Functions (that I would put in a Module) inside of an ActiveX DLL so that I can reuse the code for all of my applications. I was hoping not to...

View Article

[RESOLVED] Listbox has a ListCount of 1 but nothing has been added

How can this be? Code:   '   ' For n = 0 To List1.ListCount -1   '   ' Comes here. When I hover mouse over ListCount it says 1 but nothing has been added to List1   ' Next n   '   ' EDIT: Never mind. I...

View Article


suggestion needed for client plz james

sorry to bring up the topic again but i wish to clear my mind and find a way to do this if possible.. if the server has maxed out with connections then is there a way to tell server1 to accept...

View Article

Image may be NSFW.
Clik here to view.

New to VB6, need help..

Hi all, I'm a beginner to VB6. Right now I'm doing a project to calculate an asset depreciation using Straight-Line and Double Declining method. I managed to get my coding and result right but the...

View Article


VB6 crashes on adding Listview reference

Hi, I newly installed VB6 and Visual Studio 2012 Premium. OS - Windows 7. I want to add Listview control to my form. For this when i add reference to MS Windows common controls, VB crashes and closes....

View Article

How to arrange strings like that?

Hello :) It's my 2nd day im working on a function to arrange any string in a certain pattern, and after all my efforts im forwarding this query here. I want to arrange any string like - Suppose the...

View Article


Need advice from Optimization Experts for computing FAST&accurate color...

Create a new project, create a button named cmdBenchmark, and paste: Code: Option Explicit Const Pi As Double = 3.1415926 Const sngPi As Single = 3.141593! Private Const CIEe As Single = 216! / 24389!...

View Article

Building an array in Visual Basic ^.0

Hi all, Can anyone tell me how exactly to build an array of numbers and randomize the numbers? For a program Im writing I am allocating jobs to a number of 5 engineers, scheduled services of machinery...

View Article

Image may be NSFW.
Clik here to view.

Sizing a control in relation to other controls

Good Day Fellow VB6 Coders, I have a problem centering a control in relation to other controls. I have never done something like this and my attempts to center this control is just not working. Can...

View Article
Browsing all 21925 articles
Browse latest View live