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

[RESOLVED] Be able to close form with ALT+F4

Hello! I have a form, ControlBox=True, BorderStyle=None, blank Caption. I want to be able to close the form at ALT+F4. Any idea? I need the form to remain without title bar. ( it is also displayed...

View Article


read from random access file

Can someone help me explain the code snippet below: Why am I getting "1" when reading "Buks(2).Index" in Private Sub Command2_Click(). Its value should be "88". Also, when reading "Buks(2).Saved" I am...

View Article


help:query timeout expired error

Code: Private Sub Command1_Click()     Dim loadrs As ADODB.Recordset     Dim loadcn As ADODB.Connection         Dim loaddbcon As New DLLConnectionFunction     Set loaddbcon = New DLLConnectionFunction...

View Article

I need to make my VB app act as a COM+ object...

Hi all. Been a while since I've posted here as I'm no longer a full time programer, but rather a guitar maker (yea, big change of carreer...). That said, I did make my own business management software...

View Article

help: incorrect sytax near ','

Code: Dim str As String             str = "Update tbinvent " & _             "Set Markup_Out=200, " & _             "Markup_In=200, " & _             "sellingpriceout=" & Text2.Text...

View Article


How do I move a whole bunch of folder in VB6?

Hi there! I am finishing up an attendance prog, and one of the features is that when a teacher creates a roster, the program will create a folder with each students name. At the end of the year, the...

View Article

[RESOLVED] 2 or more records SQL DELETE FROM - problem

strSQL = "DELETE FROM sold_Tbl WHERE (transno = 1)" is working efficiently for me however strSQL = "DELETE FROM sold_Tbl WHERE (transno = 1) AND (transno = 2)" have a problem. no error is encountered...

View Article

VB6: Adding a new record to an existing TYPE structure?

Hi, I've searched through the threads but can't seem to find an answer. I have a Type structure namely Type PersonalInfo CompanyName As String * 50 Address1 As String * 50 Address2 As String * 50 City...

View Article


Closing a form without closing the whole program

Hi guys, Tiny little issue Im having with a program im writing. I have a form open in my program (when the program is running) what I need is a close button so that when the close (or exit or whatever)...

View Article


Inner Join in B6

Hi guys, any idea how can i use innerjoin in VB, im not sure if its inner join that i nee to use. Here is the scenario. i have two tables: tblProductInfo and tblSerialNumber tblProductInfo:...

View Article

Image may be NSFW.
Clik here to view.

Layout creation

How could I create such a layout using visual basic 6 There could be any no. of rows from database. Logically I think that I should use Grid or listview But I don't know how to write a code for that...

View Article

Sql Server does not exist or access denied

Hi Connection is like this cnn.Open "Driver=SQL Server;Server=.\SQLEXPRESS;Database=Test;uid=sa;pwd=sa;" When i run program fron Client machine it gives the above error "Sql Server does not exist or...

View Article

[RESOLVED] Text on Image in vsflexgrid

I'm using vsflexgrid. In my Grid I have to show a button like image as a background of particular cell and have to put some text on it. I wrote like this. GridTotal.Cell(flexcpText, 2, 1) = "First Row"...

View Article


[RESOLVED] Radio ComboBox Group (Changing value on one combo affects others)

Hey all, I have a rather strange request, or well... I am requesting something that could possibly have an alternative solution. I have 3 ComboBoxes all with the same data, and each ComboBox has 3...

View Article

Image may be NSFW.
Clik here to view.

Difference between two shapes?

Hey, Is there any way I can 'filter' a kind of difference between two shapes, kind of like this: Attachment 97207 Thanks! Attached Images  

View Article


Image may be NSFW.
Clik here to view.

Layout in Gridview

How to put such a data in Grid. There are red buttons if clicked they change color as clicked. Attachment 97209 Attached Images  

View Article

Help Please VB 2005 Need HELP!!!

Hi I have VB 2005 and I am making a task manager and I need to know how to make buttons on my project accessible for users. On the page are several buttons that will start a process using the...

View Article


Disconnected recordset doesn't release database login - Unidata

I have inherited a VB 6 application that is using the Informix Unidata ODBC driver to retrieve data from Primac. After I close the connection and destroy the connection object, I am still logged in to...

View Article

VB6 Shockwaveflash Leftclick detect

Hey guys i want to detect if a left mouse click on flash is detected and then do something.. - Any help?

View Article

Size of objects on different screens - advice needed

Hi coders, Just posting this for some advise and help. Firstly, i have a maximised form with several object ie text boxes, combo boxes ect...I use 2 different size screens, and it looks silly when the...

View Article
Browsing all 21842 articles
Browse latest View live