text file creation
Hi I have a form with various fields and check boxes. I want one CmdSave to save all fields and check values to a file Record1.txt and then I want the same command button to save the next record to...
View ArticleVB6 - Method or data member not found - Menu Items
Hi I have a problem compiling a form with this code. Private Sub mnuBlue_Click(Index As Integer) mnuRed.Checked = False mnuBlue.Checked = True mnuYellow.Checked = False mnuOrange.Checked = False...
View Article[RESOLVED] search listview dosnt search
hey im trying to search a listview in a textbox but its not searching for some reason. the listview pulls the data from another form ive done this a houndred times already i know im missing something...
View Article[RESOLVED] isn't possible create the Visible and enable propery?
can i create the Visible and Enable property in usercontrol? Code: 'WARNING! DO NOT REMOVE OR MODIFY THE FOLLOWING COMMENTED LINES! 'MappingInfo=UserControl,UserControl,-1,Visible Public Property Get...
View Article[RESOLVED] ShellExecute or VBA.Shell?
Hi, I hope this isn't a silly question, but is there any good reason why you should use ShellExecute over the VBA.Shell? Because I've been only using the latter one and considered it to be the most...
View ArticleVB 6 can't open Access 97 database on OS Windows 7
Hi, I have a program coded in Visual Basic 6 that links to a Microsoft Access 97 database. The VB Program is running on OS Windows 7 Enterprise 32 bit that has MS Access 2010 installed. I get the error...
View Article[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 Article