question: 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 Article[RESOLVED] camera error
hello i created a camera prograame that can take pictures using the user camera on pc or laptop now when i run the programm it points me to the camera and when i choose it i get that no camera is...
View ArticleStatusbar.Top value gives false return value when Form is maximized
If I manually resize the Form then Statusbar.Top always returns the correct value as the Form is made bigger or smaller. However, if I maximize the Form the Statusbar.Top value stays the same value it...
View Articlewhich the best way to store duplicate data in tree (maybe tree data structure)?
Hi all. I've a file and have parsed them into tree structure. I've used dictionary (key-value pair data type) to store the tree. But, I've a problem when another sibling has same name but different of...
View ArticleIs there a way to make a paint brush "stamp" when you draw on a picturebox?
Hello everyone. I am working on a tool that lets me write on a picturebox, but it is focused on teaching math to students, and I am trying to integrate a "stamp" of sorts like you might see in some...
View Article[RESOLVED] How can I read a binary file fast?
I have written code to read a .WAV file with 72,000,000 16 bit samples. My program takes 10.5 minutes to read this file using VB6 IDE in the XP emulation. Audacity, a free program, takes 5 seconds to...
View Article[RESOLVED] How do I pan and zoom in/out of a picture in a picture box?
Well, I am writing a code to get an image, convert it to grayscale. I have got everything done, except that the image (when bigger than picturebox) it isn't scaled properly. And when I use code to...
View Article[RESOLVED] Looking for possible optimization of code to count bits (1's).
I was wondering if anyone could find a better solution to this code i wrote. The purpose of this function is to simply tell me how many bits are flagged in a long integer. I figured there may be some...
View ArticleImage from Webcam
Hi I want to extract an image from Webcam and store it in a database Thanks
View ArticleClick event for Drop Down Menu list in VB 6 Toolbar.
Hey I have vb6 Toolbar in a form. There is three drop menu list. 1. Add --------1. New Profile --------2. New Record 2. Delete 3. Report --------1. Sales --------2. Salary I have below code for Button...
View ArticleWindows 7 64-bit -- Library Not Registered problem
For some reason I am no longer able to open my current project in VB6. When I try to load it I'm now getting the error message "object library not registered". The control causing the problem is...
View ArticleMost repeated/frequent word Please corect error
This is not working properly, what is problem, ty! Private Sub Command1_Click() Dim rijeci() As String, i As Integer, j As Integer, rijec As String rijeci = Split(Text1.Text, " ") Dim najcesca() As...
View Articlehi allz need just help grabbing info
this site http://www.guidedways.com/chapter_di...erTranslations[]=3 am working on , i need to understand why in winsock datta arrival the arabic text is not shown in correct format can u help here is...
View Article