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

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: 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
Browsing all 21237 articles
Browse latest View live


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