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

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: Private Const CIEe As Single = 216! / 24389! Private Const CIEk As Single = 24389! / 27! Private Const OneThird As Single = 1!...

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

Usb flash drive letter problem

Hello, I am working with a local history group on transcribing data from photographs of one hundred year old documents. Character recognition programs can't cope with the quality of the documents. We...

View Article


Copy all websites page names from vb 6

I am trying to determine if websites i have exchanged links with are still linking back to my site. the link back to me could be on any page so i need to search every page until found i have all the...

View Article


Line of text troubles

I have my program reading from a txt file lines of text and printing them into another file. How would i get it to not type out all lines only certain ones. this is what I have for now but it reads all...

View Article

How would I set up a VB6 program I made to auto run from a usb drive?

Hello everyone. I was wondering. I have a prog that helps to take student attendance, but the prog is on my flash drive with a bunch of other school apps. The attendance prog is my main prog I use the...

View Article

[RESOLVED] is it needed to emty a string ?

just like how we emty text1.text="" is it necessary to emty string like Code: Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long) If InStr(data, "|!busy1|") Then  data = Replace(data,...

View Article

How to get only Time from DatePicker

Hi I have datepicker , i have selected Custom Format = dtpTime . When i display the value it displays 19/02/2013 11:00:00 AM , i want only Time Part & then to store it in SQL 2005 Database . Why it...

View Article


Autofill

Hi Al, Could you please help to tell me what is wrong in this code? I would like to use autofill on a sheet, where only the first column contains function. Code: ActiveWorkbook.Sheets("Numbers").Select...

View Article

Re center a form? Is there a way to put a form in the center of the screen?

Hello there. I have a prog that takes attendance. I have it set up the Window Center position when it starts up, but after the students sign in, the form is widened on one side to show the attendance...

View Article


How to get AM/PM from DatePicker

Hi I have written this MsgBox Format(DTPicker1.Value, "hh:mm:ss") , i am able to get time from Data Picker . How i can get AM/PM Secondly if i have entered time like this 5:00:00 PM in message box it...

View Article

The conversion of a char datatype to a datetime datatype resulted in an...

Hi Insert into shift(shiftcode,starttime,endtime,effectivefrom) values ('1','11:10:00 AM','05:10:00 PM','20/05/2013') . I am using SQL 2005 It is giving me error "The conversion of a char datatype to a...

View Article


Date Format

Hi I am using SQL Database . I have written this statement rs.Open "Select distinct(Shiftcode) from shift where effectivefrom=(select max(effectivefrom) from shift where effectivefrom <= '" &...

View Article

Webbrowser Control with IE7/8 and Windows 7

Hello all - I've searched for the answer to my question but the one discussion that I found that seems to address my issues I attempted what was tried and could not get it to work on my machine. It was...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio crashing when writing to SD Card.

CAUTION: DO NOT RUN THIS CODE WITHOUT LOOKING AT IT FIRST AND UNDERSTANDING IT. IT WRITES TO YOUR G: DRIVE IN A RAW FORMAT WHEN THE COMMAND BUTTON IS CLICKED. Hello, I'm trying to write raw rgb565 data...

View Article
Browsing all 21973 articles
Browse latest View live


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