Clock and Calendar activeX for VB6?
I want two activeX for a small project that I finished long time ago, but I want to renew. I've got a cool activeX that mimics Windows Vista but I don't want the whole package as it has got a lot of...
View ArticleDifferent Icon in the taskbar
I installed VB6 application using our installation package. If run the application program, icon is displayed in the taskbar. And I changed my application's icon, compiled it and replaced existing...
View ArticleCan't open .ocx file
I'm trying to open a source code project which I know works because many years ago I had it open with no errors. I installed VB 6.0 to get a look at the project once again, but when opening the project...
View Articlelooping just continue up to end of RS
Code: Public Sub KillBlacklisted() On Error GoTo Err_Handler Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim con As New DLLConnectionFunction Set con = New DLLConnectionFunction Dim...
View ArticleExport to excel
Hi, I'm having problems exporting data from a listview control to excel for example we have item "serial" with the child items "pass value". PHP Code: serial | value1 | value 2 | value 3 | value 4 |...
View Article[RESOLVED] Printing on a Picturebox
I thought that when you printed text on a picturebox control that the CurrentX always reflected the new X position. When I do this: For n = 0 To 100 Picture1.Print "X" Next n I only get one "X" and...
View ArticlePolygon function with no fill
I'm using this code to draw a polygon shape with a border color and a fill color: VB Code: Private Sub Polygon2Buffer(backbuffer As Long, border_color As Long, inner_color As Long)Â Â Â Â Dim mypoly() As...
View ArticleLong Binary data
How to view Long binary data in MS Access 2007 after storing the image via Visual Basic 6.0? Desperately in need of help!!!
View Articlehow to show student name in another form
hello everyone i got a little problem i have a form with all students and now i build another form for the students to take a course now when i add the details of the new student in the course form i...
View ArticleCan't figure out the logic to avoid a crash
A function performs a loop that simulates some animation on a picturebox and goes on for about 15 seconds. The associated code uses an instance of a class. If I click on a "Exit button" while the...
View ArticleRestart Program
Hi, I've made a game using visual basic 6. When the last form is displayed the user will be given two options - to play the game again or to leave the game. Is there one piece of code which will reset...
View Articlemy openpar not working
Hi Ev1~ i need to do this ( )for my calculation ..somehow when i want to make a coding for the openpar & closepar it highlight at AddTextAndFocus ""...it tell variable not define Code: Private Sub...
View Articlemaybe a stupid question at this point of my programming life!.
I have an no modal form. I calls it from the main form in a button's code with: formname.show 0 then in the form placed a Cancel button with private sub Button_Click unload me end sub there is no...
View ArticleIs There Any Control That Can Center Text in Box?
I am wondering if there is a special control to allow centering text without having to use vbCrLf?
View Article[RESOLVED] how do I create a command Line app and GUI based app?
So I found a couple of places that shows how to convert your application to a command line application. It works fine when you are in cmd... but how can I make both a cmd line app as well as a gui...
View Article[RESOLVED] maybe a stupid question at this point of my programming life!.
I have an no modal form. I calls it from the main form in a button's code with: formname.show 0 then in the form placed a Cancel button with private sub Button_Click unload me end sub there is no...
View Article[RESOLVED] Shell Instruction and Paths
I have a problem In one application executable I have a SHELL instruction that does something like this shell "unzip -quo "+chr$(34)+relativepath\zipfilename+chr$(34)+ -d...
View ArticleHide Colors in a Picturebox - Please assist
I have an xray image in a picturebox - see attachment. I need to display either Green Only/Orange only or Blue and Black. I have tried to use getpixel() to determine the color of each pixel. I cannot...
View ArticleProgrammatically set dimensions of MSFlexGrid based on columns/rows
I've found a few answers to this on the net but nothing is very accurate. Some leave scrollbars and others leave gray background area. I'm using VB6 and an MSFLexGrid control. This is the basic code...
View ArticleError 3704, VB / ADO acces 2003
ADO I opened project then, properties on connection, i connected datebase then when i started form and click on any of button there is error. http://www.zaslike.com/files/e29y5ql6xkyyhbmoa4.png Debug:...
View Article