Getting 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 ArticleHow to Split One Excel Sheet into many Sheets According to its Criteria?
Dear All I want to split one worksheet which has a column named Diameter into many sheets according to the number of diameters found, in my case it is Column C in a Master Sheet, My code is Code:...
View Article[RESOLVED] VB 2015 Express OpenFileDialog problem
OK, Here it goes... I am new to Visual Basic. In fact I am pretty new to Structured Text style programming. I am mildly familiar with C from programming micro-controllers/PLCs to do basic tasks. So be...
View Article[RESOLVED] Question about storing data in your project->
EDIT: Ignore this thread. I found a workable solution. Hi, At the moment I am updating an older project of mine and a coding technique I used finally made its limits apparent. Let me try to explain the...
View Articlealign to center the text in first column of listview
I know to the default the text in firts column of lv is left, but during to fill the lv possible to align text to center?
View Article