VB6 RC6 Cam-Streaming (with local QRCode-Decoding)
Just a little demo, which shows how to use the new cVidCap-Class of the RC6-lib (a version >= 6.0.7 is needed). It is relatively simple to set-up (basically only a connect-MethodCall with a few...
View Article[RESOLVED] Upload File on Server
I'm not exactly sure if this is a VB.NET question, a PHP question, or both. I have the following PHP web API that uploads a file to the server and then creates a record in the database that references...
View ArticleSearching Active Directory Sub OU's with script
I have an old vbs script that I'd like to reuse versus rewrite. It works, but it's not able to search sub OU's using LDAP search. It does use a csv as a validation script file, and that part works...
View ArticleError in IF statement
Hi All, I am using the below if statement that seems to be giving me problems. The first part of my statement is false, but I am getting a message box popup. I am not sure why I am getting the message...
View ArticleVS 2012 Giving values to a series of user control internal controls
Consider a collection of "user control"s with 3 text boxes which you want to give specific values from a table (i.e. DataGridView cells). How to use a loop to do such operation? "For"? or "For each"?
View ArticleProblems with Excel Charts
So I'm building a dashboard and am working with Charts. With one of these (Line & Column on 2 axis) I change the source data programmatically, make some changes to formatting and then make the...
View ArticleListBox items will be added infinitely
Let me make the long story short. A part of my application is a small "Active alarm monitoring" thing which works by comparing plenty of variables by set-points and if they are critical, out of range,...
View ArticleCapture X & Y coordinates in an array and pass to a public sub for reuse
Hi. I am using Visual Studio Community 2017. I've created a Windows Form application written in Visual Basic. I want to have users input dimensions of a rectangle. I then create CNC mill code to cut...
View ArticleVB6 The real transparent (translucent) control of the user control
HOW TO Convert to VB6 code? FROM :c# The real transparent (translucent) control of the user control and the realization of the effect of the control...
View Article5.0 Datagridview styling class
I have a class which takes a datagridview object and changes the default styling , like column header color, font and some datagridview row styling but when i try to change the Datagridview properties...
View Articlehow to use my python program to control the buttons in VB.
I have an very old program in vb6.0, and I need to use this program as a model to interact with my python program, but I didn't find any way to control the buttons in vb6. it's to use a python program...
View ArticlePerformClick a button in TabControl ???
Hi all! \O I recently realized that when I link a button to a StripMenu button with following code: Code: Â Â Private Sub ShutdownToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles...
View ArticleCylinder projection to 2D globe
This belongs in Games and Graphics but it seems that posting rates are so low nobody goes there. But a mod could always move this too. I was curious as a non-graphics programmer how people do things...
View ArticleVS 2019 Strange One - Comboboxes highlight when TableLayoutPanel is Dock = Fill
Hi, I've used this arrangement in other projects and not had this problem. I have a TableLayoutPanel within a Panel, the TableLayoutPanel has multiple rows containing ComboBoxes, TextBoxes and...
View ArticleHow to SOMETIMES pass an array to a function
I need to pass an array to a function. However, sometimes I don't want that to happen. In other words, I need to write a function that should look at the input array to see if it exists, do something,...
View ArticleBatch Copy Files
I am looking for a way to copy a batch of files from 1 directory to another in VB6. i.e. Copy C:\SourceDirectory\*.* C:\DestinationDirectory\*.*
View Article[RESOLVED] toolstripmenuitem toolstriptext appears
Hi, I have a Contextmenustrip with items, the problem I am facing is that the tooltip aka toolstriptext appears behind a child toolstripmenuitem of the current one: Is there a way to fix this? Thanks....
View Article[RESOLVED] Why don't we use double quotes when working with variables?
Hi, while writing a cell address in a range object I need to use double quotes example: range("B5").select But when I use variables for defining an address I don't require double quotes example:...
View ArticleVS 2019 RichTextBox - add columns to existing table?
In a Rich Text Box, is it possible to add/remove columns in a table? If yes, how? Thanx
View Articlehow to Draw rounded rectangle by vb6 GDI++?Draw a triangle
I want to draw various shapes, I wonder if you have the simplest example. Such as five-pointed star, trapezoid, prismatic, etc. Code: Private Sub DrawRoundRectangle(Graphics As Long, Pen As Long, X As...
View Article