[RESOLVED] Reading a file by segments
How do I read a file into a byte array in segments? I need to read the 1st 44-bytes of the file into a byte array then after that I need to read nnn number of bytes into another byte array of which nnn...
View ArticleRecording Audio in ASF format using Visual Basic 6 on Windows 7
Hi everyone, This is my first post at VBForums, :) Sorry if my english isn't perfect, I'm brazilian. I'm really needing some help. The situation is: One client of the company where I work have an old...
View ArticleChanging Picture settings
Hi everyone. I am writing a macro in vb6 that opens a Word 2010 document, accesses a particular picture ("Picture 2") and changes its brightness. My code is: sub ChangePictureBrightness() Dim wrdapp As...
View Articleproblem with Punch in clock Punch out clock
hey im trying to make a punch clock for the users so far ive manage to make only the punch in clock now i cant figure out how to make the punch out clock(this is hard for me) basicaly this is the code...
View ArticleBULK INSERT Text Files into SQL/Oracle
Good Morning All, I have a table in SQL called [RU].[MainTab]. It contains the following fields: CKale (nvarchar, 5) Checkdt (date) RecDate (date) PersonID (nvarchar, 6) I have a folder on my hard...
View Articlehow to sum total profit from 2 tables and display the total in a textbox
hey how do i calculate a total from diffrent tables? ill put here the names of the 2 tables and there text and subitems Code: Tablename: Inventory , Formname - Frmnewproduct ,Txt(11).text =...
View ArticleVB6 Troubles with Drive Drop Down List: 68 error Drive not accessible
This one is wild. I haven't got a clue why it will not work. I'm using VB6 & SP6 with Windows 7 I created a little test program that has one Drive box, one Directory box, one Command button and...
View ArticleSkip 1st nnn bytes of a file
How do I read a file into a byte array but skip the first nnn bytes and start at xxx and then read zzz bytes at a time
View ArticleDebug VB6 IIS (WebClass) application on Windows 8?
Hi I know that it was not possible to run VB6 IIS Application from the IDE on Windows 7 64-bit. Does anyone know if this has changed with Windows 8? If it has then I will upgrade the OS immediately!...
View ArticleOpen xlsx file in VB6
Hello, we have process to monitor and reading the email attachment in xls format and converted into txt or csv file and store it in a system location. Dim objWorkbook As excel.Workbook Dim objWorkSheet...
View ArticleSubclassing Questions
So I'm looking to understand sub-classing instead of blindly using some sample code segments that really sometimes simply just don't fit "as is" with what I'd be trying to do. Below is a pseudo-code of...
View ArticleDiference between enter in main keyboard and enter in the numeric keypad
Hi all, At first, sorry for my poor english... not my mother language. I am modifying an old application in VB6 which needs to send key strokes to another application. I am sucessfully using the...
View Article[RESOLVED] syntax error missing operator
hey i get this strange error syntax error missing operator in query expreesion i checked my code 10 times already this happens only when i update a record. this is the code. you tell me whats wrong...
View Article[RESOLVED] Invalid used of AddressOf operator
First time this has ever happened and the exact same code is in another project without the error. Here is the Sub code that invokes the AddressOf Code: Public Function StartRecord(ByVal samplerate As...
View Articlewinsock1 - POP3 email reader program
Hello, I want to program a POP3 email reader (like CS_Email_Monitor from vbsourcecode). My gmx email server stores the mails from the last 14 days. Every morning at 5h AM the email server deletes the...
View ArticleVB6 on Win7 Object library not registered
Im trying to install VB6 on windows 7 everything went smooth on the installation. But when I tried to add some components(.ocx) im getting an error message "Object library not registered" I tried to...
View ArticleRegisterClass and CreateWindow Questions
Guess who's back, Once again, It's your friend outta Heartless Land... Please do pardon my lame 2Pac reference rap :D!! Issue #1: According to MSDN, one can create a message only window using...
View Articlesql statement to retrieve only those rows which contain a particular...
One of my MS access DB table contains thousands of records in it. I would like to retrieve only those records, in which a particular field contain a particular character in it. Is it possible to do it...
View ArticleRe: Classic VB - How can I check if a file exists?
Quote: Originally Posted by dee-u We can also utilize the API's FindFirstFile and FindNextFile to determine the existence of a file or a folder, it can also support wildcard searches which I...
View Article