Image List must be initialized before it can be used.
GOod afternoon, I am new to VB6 however relatively experienced in VBA. I am attempting to load information into a ListView control via an Access DB. I have placed the following code into the form_load...
View ArticleSetting default properties in VB6?
I would like to set default properties for a number of control types in VB6. For example I'd like to set the default ScaleMode property for Form objects and PictureBox objects to Pixels (instead of...
View Article[RESOLVED] Strange Serial Behavior When Changing Text Box Value
Hello, I am having a strange issue, and I don't really know where to look to fix it. I have a form that communicates with a microcontroller via a serial port. The form works as expected as long as the...
View ArticleHow to Crreate a Connection to DB2
I am have Attachment Reflections 2011 Emulator and am trying to use a VB Form from its VB Options to make a connection to my As400 and do a simple query in a table and have the results displayed...
View ArticleData Report As Object in Function
Hello! I made a Data Report and I want to print using DataReport.PrintReport False. Even the report has many pages, it is print only first page. I tries to use rptRangeFromTo or rptRangeAllPages, but...
View Article[RESOLVED] syntax error missing in query expression
hey im getting a error every time i try to update a field " syntax error missing in query expression" i checked the code i dont know whats wrong. this is the code when i load the form Code: Private Sub...
View Articlehow to connect crystal report 8.5 or 10 to mssql 2005
how to connect crystal report 8.5 or 10 to mssql 2005 without using the data sources(odbc) ?
View ArticleWindow showing on top of application
I have a VB6 application consisting of a MDI form, MDI child forms and standard forms. This application has been fine running on operating systems before Windows 7 / Windows 2008 Server R2. On Windows...
View ArticleImageCombo like combobox Dropdownlist?
Hi, I wanted to change my regular combobox with an ImageCombo, but I see no way to get the same kind of handling like a regular combobox with dropdownlist style. Is there a way to prevent the...
View ArticleAdd code to existing: Populate combobox from database
Good afternoon, I know I have alot to learn so please bare with me :) Thank you in advanced for any help. I have the following code which pulls values into a listview control. This works perfectly....
View ArticleAlignment on Printer.print
:sick:Hi guys! after many problems with data reports, crystal reports and things like that, i'm decided to use the Printer.print. I made a simple class, that class receive a ListView Control and after...
View ArticleNotepad Application
I'm working on a VB6 project which among many things needs a textbox that has Notepad capabilities. Anyone have such a Form with code? I originally started out by embedding Notepad into the project...
View Article[RESOLVED] Add code to existing: Populate combobox from database
Good afternoon, I know I have alot to learn so please bare with me :) Thank you in advanced for any help. I have the following code which pulls values into a listview control. This works perfectly....
View Article[RESOLVED] Controls not showing in toolbox
I am trying to get the Date/Time picker or the MonthView control to show in my toolbox. I choose the project/component and click the appropriate square, but nothing shows in my toolbox. Would somebody...
View ArticleIf a program was made in VB, is there an easier way of controlling it with...
I suspect that this program was made in VB because there are ThunderRT6 classnames in it. Eg.: instead of Class: Button, it has Class: ThunderRT6CommandButton. Once it has also returned an error...
View Article[RESOLVED] need help listview image
when adding item with image/icon, code used is : set itm = listview.ListItems.add(,,field,1,1) how about changing image/icon of selected item during runtime?
View ArticleDate Update Error VB6
I have a form that is bound to a table via ADO. On it i have several Text boxes and one of them carries the Date of birth (txtDate). I have used a DataEnvironment to update the table (tblNames). Before...
View ArticleError not being caught (RTE 76)
RTE 76 doesn't want to be caught for some reason. Some one mind helping with the problem? My Code Code: Public Sub DownloadFile(ByVal URL As String, ByVal Path As String) Dim fBytes() As Byte...
View ArticleAdd/Edit entry to Access DB help.
Good afternoon, I'm starting to get the hang of this but I feel like I may be confusing myself yet again. I have the below. It connects to my database fine. Then loads records into the listview. This...
View Articleado 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