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

[RESOLVED] Adding new item to array

Hi Guys! .NET has pretty good functions to add new items to an array. Is there anyway to do it with vb6, too? Because, you know, "Redim Preserve" is a bit bulky. It is backing up the old keys in the...

View Article


visualbasic 6.0 OLE to MS word

good day to everyone. i have some problems with the OLE thing. Im making now a program that can edit my word template directly. things are going so smoothly populating formfields in my word template...

View Article


connect to server ip and port using http proxy

chat client connect using http proxy help using winsock how can i connect to ip and port using http proxy with port 8080 or 80 or 3128 ? 1 example will get me started need...

View Article

ListView printout mess-up, please help

Code: Private Sub cmdPrint_Click() Dim i As Long Dim Count As Integer Count = 1     Printer.FontName = "courier new" 'Monospaced font works best     Printer.FontSize = 5     Printer.PaperSize =...

View Article

Image may be NSFW.
Clik here to view.

1 Question about sniffing!

hi i have a problem with this source code. this is sniffing the network good in win xp but it do not sniff in win 7. can anyone help me how to solve it, or anyway else to capture and know the data has...

View Article


Image may be NSFW.
Clik here to view.

MSCOMM Help Needed realll bad

Hey Guys, So I am working with a VB6 project that is really old. This is my first time seeing this and it appears to be having problems when used with newer machines or with a usb to serial adapter....

View Article

Subscript out of range error

Every time i run my program, a "Run time '381'. Subscript out of range" error occurs on this part of the code: FlexPP.TextMatrix(RR, 0) = PPDate(RSPartPayment.Fields(2)) Heres the whole code: Private...

View Article

Problem with Dates

Can anyone help me please. I have a table for holiday wherein holiday names and dates are saved in that table(tbl_Holiday). I also have 2 dates for DateBorrowed and DateDue that are saved in another...

View Article


how to add checkbox inside combobox

Dear Expert, How to add checkbox inside two combobox to compare date different.

View Article


[RESOLVED] How To: Check and Uncheck Listbox with Style = Checkbox

How do I set and unset the check per item in a listbox with style set to Checkbox. I'm using a listbox to tell user which event has taken place. When 1st started the 1st entry in the listbox is...

View Article

need do decompile com dll

we have a dll in prod that was put in 2005 however i cannot find matching change in our source repository. how can i rever engineer the dll so i can get the change done and put it in source repository

View Article

Can't debug ActiveX project after switch to Win 7

Originally posted in COM and ActiveX forum... Thanks to this author I am running VB 6.0 on Windows 7 after my XP laptop's SSD failed. I can run ActiveX projects in VB 6.0 and call them from Microsoft...

View Article

Crystal Report Query using VB 6

trying to get a report from access data base using VB 6 codes what i want it is a collective data data from my DB, between two given dates, say start date and end date and i need another field...

View Article


Image may be NSFW.
Clik here to view.

Problem Filter Year with Between

Dear Expert, I have try to Filter year using Between in query, but it fails to Filter it still display the year from the first combo i choose when both combo box is activated. Kindly point me the...

View Article

How do I get text out of a textbox line by line

I need to get each line from a textbox because I need to remove the first 6 bytes from each line so I can write the textbox data out to a file Each line in the textbox is prefixed with a 6-byte line...

View Article


[RESOLVED] Problem: Member already exists.......

In my VB project which was already error free I added a new sub Code: Private Sub SocketListen(ByVal requestID As Long)  Dim ConnectionTime As Long    SocketIndex = GetAvailableSocket...

View Article

guys need simple help textbox

in my chat client i have a multiline textbox1 were i type room message after i send out the message the textbox1 stays on second line , the caret don't go to beginning Code: Dim iClicks As Integer...

View Article


[RESOLVED] Print using ; (semi-colon)

I thought that putting a semi-colon after the variable in a Print statement suppressed the vbNewLine but when I looked at the file using a hex dump I see &H0D &H0A after every line. How do I...

View Article

label1 colour help tricky done it before forgoten

in form has labe1 , caption is set to count:0 count:0 is currently red , how do i change the colour of 0 only to yellow Label1.Caption = Label1.Caption = "count:" & counter goes here with colour...

View Article

How can I get the last row number of MS Access database table into a Text Box?

Hi, I want to get the last row number in a Text Box called txtLastRowNumber.text. How can I get it? I am using MS ACCESS Database 2007: Accounts.mdb Table Name: Customers Please help me. Regards.

View Article
Browsing all 21256 articles
Browse latest View live


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