VB6 displays the desktop when a 2nd window is displayed
I have a VB6 COM object that is called from C++ app. This C++ app is displaying a series of windows that uses the entire screen display. The windows taskbar is not displayed. This C++ App calls my VB6...
View ArticleDisplaying an image in VB6 retrieved from SQL Server 2005
Displaying an image in VB6 retrieved from SQL Server 2005 Attachment 91371 I am new to VB6. My shop uses VB6 and SQL Server 2005. What I would like to do is create 2 forms; the first form has a button....
View ArticleVB6 - Listview vertically?
Hello I was playing around with listviews (new to vb) and from what I understand is that the item is placed to the far left then the sub items are then listed to the right of it. Is there anyway to...
View ArticleReDim Array and get Subscript Out of Range problem
Public Type ColorArray ColorTable() As Long End Type Dim MyColorArray() As ColorArray Then in code ReDim MyColorArray(1).ColorTable(256) For this I get Index out of Range error
View Articlehow to creat code with VB to calculate dat ot Year(2012)
I would like to know how to write vb code about this: My question is 1. a combobox to selct month 2. a textbox to input Day 3. a label to display Day of Year(2012) 4. and click add the button to...
View ArticleSave Image automaticaly in a perticular file with name.
I want to save Save Image automaticaly in a perticular file with name and when restart the program it should not replace the previous saved files. I have a code for saving the image which assign name...
View ArticleHow to hide the menubar ?
Hi All I hope someone can help me. In VB6, I have used the "Menu Editor" to put a menu at the top of my form. At runtime I want to be able to programatically hide the menu bar and also show the menu...
View Articlehelp: disabling certain keyboard keys
I have made a program to lock the computer however I still need to know how to disable windows ctrl, alt and esc key. I have tried winlockdll.dll but there none for specific key that I mentioned....
View ArticleSimple dynamic textblock
Hi guys, I'm new here and I want to continue on again with my programming. my 1st programming is way back 1998 LOL. but now i totally forgot how to do. I'm using Blend along VB6, need help for a basic...
View ArticleItem cannot be found in the collection corresponding to the requested name or...
when the user clicks the student's year level the subjects will appear in a listview however I'm having an error here's my code Code: Set rs = New ADODB.Recordset rs.Open "SELECT * FROM [tblsubject]...
View Articleobject with variable block not set
here is my code Code: rs.Open "SELECT * FROM [tblstud_reg] WHERE [stud_no] = '" & ListView1.SelectedItem.Text & "' ", con, adOpenStatic, adLockOptimistic frmStudentProf.Text1.Text =...
View Article[RESOLVED] Print data to text file including data from textbox
Hi, For some reason this does not work: vb Code: Print #ff, "IK_" & txtSheathe.Text & "=(Gamekey=GI_Holster,Value=1.000000)" However, if I do vb Code: Print #1, "IK_" & Text1.Text & "1"...
View ArticleListing all the computers connected to the network.
Hey, I am creating a tool that gives me the ip of the local server pc wich ip changes often, I want the program to generate a list of all the computers connected to the network and then check each ip...
View ArticleWindows 7 Registry Access with Manifest File.
If I create an application that reads(not write) from the registry and include a manifest file with "highestavailable" then the application fails to read the registry. If I do not include the manifest...
View Articleadding data to text boxes instead of database
i have a bit of work to do based on something i have done before expect this time instead of adding the info to a database i want to populate the text boxes on my screen here is the code Code: Public...
View ArticleCheck for empty access database
Is it possible to check if access database has table or not? Please help with codes if it is possible thanks
View ArticleMy VB6 Angry Birds Game
Hello Everyone, A while ago i created a replica of Angry Birds using vb6 but unfortunately i don't remember where i saved the source. I have the compiled exe which runs well in my computer but gives...
View ArticleQuestion about mail merge with VB6
Hi everyone, I have to modify an existing VB6 app to print data on business card labels (the ones with 8 cards per sheet). I have looked up code examples for this but I'm not sure how to start. Do I...
View ArticleHow do I pass a multidimentional bytearray to a user control?
In Class Modules, I can just use the "let property" statement, but in a User Control it doesn't work. From the Control's point of view, it thinks I'm passing it an undimentioned array (as if I'd...
View ArticleMSFlexgrid
Hi I have fields Code,Name,Quantity,Value in MSFlexGrid order by code . I want if user type any character cursor should move to that row in MSFlexgrid . For e.g as the user enters character first row...
View Article