ado refresh error
I have a Datagrid connected to an ADODC control through the properties. I am trying to get info from a table to populate the datagrid. It gives me an error as soon as i get to the adoSearch.refresh. I...
View Article[RESOLVED] Unicode problem with UserControl
Hi All I am using a 3d party user control (not commercial). This user control doesn't show some unicode characters. How can i give this property to this user control? Note: This user control contains a...
View Articlehow to update a specific column in excel using access database?
I am trying to compare one column of an excel sheet with the database table.If the value in the column matches with the data in the table,the excel has to be populated with another value in the table...
View ArticleCan i use Print preview before printing with Printer.print?
can i do something like this? any idea? i've more 1 problem... when i print something, the first page had multiple lines, but all the rest of the print had only 1 line per page. How can i solve this?...
View ArticleMethod '~' of object '~' failed
I have a vb6 application which does work from a long time. But in some customer PC(windows xp) while running my application error comes like "Method '~' of object '~' failed". This error comes in all...
View Articleerror when running exe after compiling
I am using my WinXP computer to use VB6. When I compile it and make it an exe it works fine on the XP machine. As soon as i put it on a Win7 Computer i get a Run-time error 339 'Component 'MSADODC.OCX'...
View ArticleDisplaying Text from BMP Image?
I am wondering if there is a way for me to make the green background on a BMP image transparent, and then using the characters remaining on the image to display a word. LIke, say, if I wanted to...
View Article[RESOLVED] How to change caption of a menu item during run-time
My App has a menu bar button called File. Under File there are five sub items: File ---- Open Save Save As Make file Exit How do I change the caption of the 4th sub menu item (the one that reads Make...
View Articleerror after adding another colum
hey i just added anoter colum to my DB "ExpInvoice" and i put the code in the place but something is missing please tell me what i missed and why? Code: CN.Execute "INSERT INTO Expenses " & _...
View Article[RESOLVED] error after adding another colum
hey i just added anoter colum to my DB "ExpInvoice" and i put the code in the place but something is missing please tell me what i missed and why? Code: CN.Execute "INSERT INTO Expenses " & _...
View Article[RESOLVED] question about ocx properties
Good day. While learning ocx, I would like to know the following: 1. What is the difference between GET, LET and SET property in creating an ocx ? 2. Is there a general code format on creating an ocx ?
View Article[RESOLVED] Colour background of controls and forms forms throughout app...
Hi, I have this code to set all forms and controls in my program to a colour of my choosing. vb Code: Public Sub colour() Static lngCustom(15) As LongStatic lngCurrent As LongDim lngHandle As LongDim...
View Article[RESOLVED] How to open directory window to view files
I would like to have a vb6 code to open the directory window in order to view files - select - and then attach the file path to an eMail program. Can anyone help me please?
View Article[RESOLVED] need help listview selected item.
how will i get the value of first and last highlighted record. eg. first = 1004 and last = 1009 as i press ENTER KEY, feedback will appear through message box. with this code, last selected item...
View ArticleUsing TrackPopupMenu API to open menu designed with VB Menu Editor
Hello, How can I use the TrackPopupMenu API to open a menu designed with Menu Editor that I would normally display through: Code: Popupmenu MenuName, Flags, X, Y, DefaultMenu Specifically, what...
View Articlemerge two scanned images into one
after scanning two documents as jpeg files - how to merge them into one one below the other ?
View ArticleFace detection algorithms
Hello folks :) It's been long time since I posted last xD But now I've a new matter. Talking with my dad yesterday we were curious to know how softwares recognize people faces from photos and if it's...
View ArticleRictTextBox Question
I got some code from a VB project that has a lot of editing features for a RichTextBox. When selecting a word, multiple words, or the entire text the selected text is highlighted in black. How can I...
View Article[RESOLVED] merge two scanned images into one
after scanning two documents as jpeg files - how to merge them into one one below the other ?
View Article[RESOLVED] RictTextBox Question
I got some code from a VB project that has a lot of editing features for a RichTextBox. When selecting a word, multiple words, or the entire text the selected text is highlighted in black. How can I...
View Article