Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21264 articles
Browse latest View live

If 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 Article


Date 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 Article

Error 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 Article

Add/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 Article


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] If a program was made in VB, is there an easier way of controlling...

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] 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 Article


how 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 Article


Can 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 Article

Method '~' 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 Article

error 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 Article

Image may be NSFW.
Clik here to view.

Displaying 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 Article

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] 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

Image may be NSFW.
Clik here to view.

[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 Article
Browsing all 21264 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>