toolbar behavior
So I have a toolbar (toolbar1), with 10 buttons, all in a button group. When the form loads, I set the first button to be press: toolbar1.buttons(1).value = tbrPressed I have a menu that selects...
View ArticleHow to use vb6 for fill the html form
the html source code is Code: <table style="width: 700px; border: 0;"> <tr> <td rowspan="3" align="center" nowrap bgcolor="#E9F2F8">查詢功能表</td> <td colspan="3"...
View ArticleRainMeter in VB6?
Hi All, I am a big fan of RainMeter and how it is used for "Desktop Customization", specially for graphics rendering and multi threading for multiple animations. Is there a way to mimic RainMeter using...
View ArticleWhy do I copy Table1 contents to Table with the error ?
I have 2 Tables: TABQUANHEGD: destination and TABNGUON: source I implemented sql in SQL Server 2005 with an error Code: INSERT INTO TABQUANHEGD(IDQHGD, MASTT, NGUOITHAN, NGAYSINH, MAGT, MAQH, MAQT,...
View ArticleGetting Webpage data
Recently one of my apps started to fail. I use the AsyncRead VB6 Usercontrol to download data from a webpage. My app got the URL as normal and tried to download the page, but seems there is now a...
View ArticleWhat happens when form loading?
There are a few subs in a form. sub new, sub onload, sub form1_load From form open, what is the sequence of subs loading? Which sub is loading first? What code should add in each sub?
View ArticleVS 2017 Create a btn Save with two store procedure INSERT -UPDATE - Error...
I have to create a small management for an expiration date. I created a form with 2 textboxes and a label. The user only has to fill in the deadline manually inside a Textbox. I have created a class...
View Article5.0 Encryption Class Error, Key length
this is my class which Encrypts / Decrypts the string, But i am getting the error in the KeGen() Routine Error is System.Security.Cryptography.CryptographicException: 'Specified key is not a valid size...
View Articlepassing values between sub
hi to everybody.. i' have a program which analyze group rail reservations. downloading a json i analyze this reservation (date,time,departure,car etc) and to retrieve data to print them,to make label...
View ArticleCalling DateDiff directly in vba6.dll or msvbvm60.dll
Hi I'm developing a C# app which needs to be multi-targetted at NetCore3.1 and NetStandard2.0. I need to call the DateDiff function. I'm struggling with the Microsoft.VisualBasic namespace and...
View ArticleError 35600 ListView Index Problem
Hi! I'm new at this forum, and I'm desesperate with a code I'm writing.. also... I'm a lawyer, so please be gentle with the explanations. So the thing is, that I'm triying to make a project that allows...
View ArticleVS 2019 Controls collection help
I am learning but I just don't know enough about the controls collection. I am trying to replace this code: Code: CR.PlayDate1 = Form1.txtDate1.Text CR.PlayDate2 = Form1.txtDate2.Text...
View ArticleOK, will ask question differently. Use WinHttpRequest in Usercontrol (as an...
Hi. I need help with my usercontrol where i have successfully used WinHttpRequest to download files with progress for a single file. I now want to use my download usercontrol as an array but cannot...
View ArticleHappy Window (M2000 Interpreter)
This is a simple example using M2000 Interpreter and Environment. M2000 Environment is a project written in VB6, an open source project. M2000 language is a BASIC flavor with OOP and THREADS. There is...
View ArticleDisabling keyboard access via VB.NET console app
Hello, How can I disable keyboard inputs by using vbnet console app / cli? The target is not disabling inputs for the cli itself, but disabling keyboard even if the user minimize or close the app....
View Article[RESOLVED] Question about System.IO.Compression and LZW...
Hi, I have a question about the System.IO.Compression namespace: A while back I wrote my own custom vb.net code for the purpose of compressing and decompressing data using the LZW algorithm because I...
View ArticleVS 2019 Adjusting an image (from Memory) to a PictureBox
Hello! I'm trying to correctly display an image(Logo) into a sales ticket. In fact, I've already done that, the image comes from memory (My.Settings.LogoData), because the image gets saved with the...
View ArticleFast way to update colors in a picturebox?
Hey you vb6 guru's, I'm working on a "paint" application (using indexed palettes), and while it work great with small document sizes, it gets sluggish when updating colors on a large scale. I'm drawing...
View ArticleVS 2015 Keep popup open without continuing on
I have a form and under certain conditions, I have a pop up window that requires the user to click on one of two fields to continue. The popup stays on the form, but the program continues to run with...
View ArticleHow to get file size of symbolic link target
Hi guys, how do I go about getting the file size of a symbolic link target? If I do: Code: Dim myFile As New FileInfo("C:\Temp\file.db") And grab the myFile.length it returns 0 because it's a symbolic...
View Article