VB6. How to know if a Form is visible without loading it
Hello! I have this project with many forms, opening, hiding, unloading, etc... I want to add a cautionary process that watch if no form is showing, so it makes the main form show. How do I do it?...
View ArticleGlobalLock - worked earlier - no change to code - now returns 0
Earlier as I was doing some testing everything was working. I have made no changes to any variable or structure or the values in these variables and structure. Now the function returns 0 Code: ' '...
View ArticleTrying to get col2, row1 from a listview control
That is, the column after the checkbox. I'm trying Dim thelistview Set thelistview = Form1.LV1.ListItems Debug.Print thelistview.SubItems(1) Set thelistview = Nothing And failing spectacularly... but I...
View Articlegetting the driver name
how to get the odbc mysql driver name using vb6 programmatically?
View Articlehow to show Currency symbol like ( $ or Euro ) next to the price in a text
i did a program of expenses now im trying to show each time i do the calc to show me the simbol of a price examlpe: 250 $ the symbol $ nnext to the price tnx
View ArticleLoad a listbox from a textfile?
Hi there! I am working on a school program that will randomly pick a student to ask a question. I have a listbox called StudentList, and I am borrowing code from an older project that loaded a textfile...
View ArticleDiffrent results in counting by changing languge format in pc
Hello my friends this is the thing just happens to me when i try to change format language to Turkish i just get different results and i just don't know why this happen here is screen shot and my code...
View ArticleDataGrid Invalid Row Number
I have the following code which fills a DataGrid and formats the columns so that if they contain 0, they display a space. The code fails in the highlighted line but it only fails when the row it wants...
View ArticleControls aquire wrong names
Hi, Just added a couple of labels inside a frame. VB6 asked if I wanted a 'control array' and as I had no idea if I did or not, I said yes to the first, and no to the second (in case one way was best)....
View ArticleVisual Basic "On Error GoTo"
I have created a program in Visual Basic code, how do I add unstructured exception handling into the program using "On Error GoTo" to pick up errors such as the text boxes being left blank?
View Article[RESOLVED] how to show Currency symbol like ( $ or Euro ) next to the price...
i did a program of expenses now im trying to show each time i do the calc to show me the simbol of a price examlpe: 250 $ the symbol $ nnext to the price tnx
View Article[RESOLVED] Controls aquire wrong names
Hi, Just added a couple of labels inside a frame. VB6 asked if I wanted a 'control array' and as I had no idea if I did or not, I said yes to the first, and no to the second (in case one way was best)....
View ArticleDo loop problem - doesn't exit when I think it should
I have this Do While.....Loop that is supposed to exit when I click on button. While the boolean variable is True the app is constantly recording sound and sending it out to another app using Winsock....
View ArticleHow to use combo box to enter different input data
Dear All, I'm an elementary VB user and i have to use it for my M.S. final project. As shown in the pic, It has been shown that some combo boxes are given to program user to select which input they...
View ArticleQuestion about Class Module vs BAS Module
In a Class Module I have the following Sub: Code: Public Sub SaveStreamBuffer(StreamIdx As Integer, recBuffer() As Byte) ' Saves A Record Buffer To A Record Buffer Array ' If Buffer Is Free If...
View ArticleHi need help with spell check?
Hi I added a spell check to my word program and I go to my spell check form when running the program I get an error and it want go away the error im I doing something wrong on my code heres the code....
View Articleoptionbutton.caption
Is there any way to left align the caption text? It seems to be centered. Thanks, ABB
View Articlelistview row color
Can the backcolor vary for any row ? If yes, how is this done so all coloumns are included? Thanks, ABB
View ArticleWinsdow Media Player condition..PLEASE HELP ME!!
hello guys.... i got some problem..... i don`t` know how to make some condition on Windos Media Player.... the condition is : I want to stop the TIMER when the VIDEO start playing..... I`ve tries this...
View Article