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

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: 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


Date 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 Article


Addition 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 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

[RESOLVED] Re center a form? Is there a way to put a form in the center of...

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


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