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 ArticleCombo 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 ArticleVB6 + 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 ArticleDWG 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 Articlesuggestion 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 ArticleNew 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 ArticleVB6 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 ArticleHow 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 ArticleNeed 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 ArticleBuilding 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 ArticleSizing 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 ArticleUsb 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 ArticleDate error
Hi I may be posting this question again . I am using SQL Database 2005. I have written the below code , it is giving me error "The conversion of a Char DataType to a datetime data type resulted in an...
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 ArticleAddition on a text box from differnet forms
I am doing a project on banking management system. Its basically a very simple project which just prforms the operation like DEPOSIT and Withdrawl from an account. Of coursely their are other forms...
View ArticleHow 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 ArticleAutofill
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