Hide 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 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 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 Articlequestion: retrieve image to picturebox
Is there a way to retrieve image from database(mysql) and show it directly to picturebox. this means without saving the image to file and loadpicture to picturebox. my current approach is saving the...
View ArticleProblems with IF statement in Reflections for UNIX
Hi All I am trying to write a VBA macro for use in Reflections for UNIX. Here is the code: Code:   Dim COO As String   COO = InputBox("Origin that is duty free")   Dim COM As String   Dim...
View ArticleMake line longer
I've drawn a line from x1,y1 to x2,y2 and i want to make it a longer in the same direction (x2,y2). It's there a solution for this ? Thank you
View Article[RESOLVED] Random Number
Hi, Could anyone advise me on the code for generating a random number between 1 and 100. I'm looking for something on the lines of; random number = Int(Rnd * 100) + 1 The code above works, but always...
View Articlemsflexgid subtract or add quantity column from database if transaction was...
hi!can anyone please help me how to code the addition of msflexgrid quantity value if transaction was cancelled..my system was called point of sale system...
View ArticleAttach SQL Database
Hi I have SQL Database (.mdf) files . Is it possible to attach it to SQL using Visual Basic as front-end , or we can do it only through SQL Management Studio Thanks
View Articlestring diff algorithm ?
Hello, does anyone of you know VB6/VBA code that can compare 2 strings and visualize the changes? The result should be a HTML or RTF string, in which changed / added / removed characters or words are...
View Articlecheck if workstation is being used
Hello is there a way or API to check if the workstation is in use? meaning if the user moves the mouse, type on the keyboard, etc. to know for sure that the user is still using the workstation?
View ArticleVB6/MYSQL problem using "seek"
I use the following code in the change event of a vb6 textbox and load the result into a listbox. This is using DAO in an ACCESS database. It has worked great since 1994. Dim sFind As Variant sFind =...
View ArticleVB6 App started failing this week in Windows 7
Hello All, I have a VB6 program which uses MSComm to do RS232 communications to a radio transceiver. Operation on Win 7 and XP has been very stable until this week. We started noticing that on Win 7...
View ArticleIs there a way for vb6 to post a new thread to Google Group Forum?
This is not Google+ but the old Google Group discussion forum No. It's not spam We use Google Group as a private in-house messaging system and as we process data for our business, we want our VB6...
View ArticleHow to declare public array using a variable as the subscript in a BAS module?
Hi everyone! It would be great if this worked! Public TotalKeys as integer Public Factors(TotalKeys) as double I understand why this won't work: The value of TotalKeys is not determined until after the...
View Article[RESOLVED] [VB6] Opening Form in Mouse Y, X
Hey guys i need to open a Form in the current X, Y of the mouse, basically like a menu. I don't have any idea how to do that :/ Because if i find the x, y of the mouse the form will not open in the...
View Article[VB6] Find Screen color
Hey guys i need to find a color in the screen ( monitor ) using the mouse, like an eyedropper tool, any help ? I would appreciate some help C: - Help me Please *-*
View Article