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 ArticleSubscript 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 ArticleProblem 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 Articlehow 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 Articleneed 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 ArticleCan'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 ArticleHow 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 Articleguys 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 Articlelabel1 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 ArticleHow 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 ArticleClient connects to Server but Server is not running
I would have expected an error message after so much time but no messages have been displayed and the Client is still running. ClientSocket.Close ClientSocket.Connect ServerIP, ServerPort...
View ArticleHow can I make a very time-consuming loop short?
Hi. There are some loops in my code, that take very long time (a few hours) to complete. This is one of them, that also is the longest. Code: For x = 0 To cal_it(5) If z_it(x) = 0 And kh(x)...
View ArticleWho connects to who?
I'm working on a multi-server multi-client project for one of out members. I have ServerA, Server1, Server2, Server3,.........,ServerNNN All clients first connect to ServerA. Here they are verified. If...
View ArticleSearch for a match on an IP address
I have an idea but would like others to give me your idea about how to search a list of IP addresses to find a match of an IP Address coming in from a connection. Let's assume I have a list of 1000's...
View Article[RESOLVED] Changing an open path for saving depending on the number in a...
Hi there everyone. Last year I was working on an attendance prog that would give students the option of adding their birthdays. That prog would only hold one roster of students. This is the code I use...
View ArticleChild forms and "reproduction"
I'm having second thoughts about the performance of an MDI application I'm trying to make. The application consists of some child forms within the MDI parent. There aren't any problems when I run and...
View ArticleDTPICKER value
Hello Sir/Madams. I have DTPicker and i want to how can i determine if it is a saturday and sunday. if it is sat/sun i have to add 1 more day to my Remaining Days. thank you. Code: if dtpicker1.value =...
View Article