Fixed-length encryption
Hello everyone I would like to take advantage of your experience in the area of cryptography. By chance there is some encryption method that returns a fixed size value like MD5 for example. But in...
View ArticleFindWindow, etc.
Hi, About 10 years ago I wrote a program which ran another program that I wrote, in Visual Basic 2010. The program being run had 20 to 30 forms and two of those forms each had over 100 textboxes. After...
View ArticleCoding for webpages for when screen size changes?
I ran into an issue where a customer's site had the formatting off on his browser. He was using chrome and he said that the magnification was normal but I'm thinking otherwise. With that said, how do...
View ArticleVS 2019 Cannot debug the calculation. been trying for 2 hours
Trying to code a vb console application that calculates sin(x). But it compares the approximated value of sin x with an intrinsic function of sin(x) and gives the error as a percentage. There is...
View ArticleLinq
In LINQ how will i find the index of the element using where () with Lambda Expressions?
View ArticleHow do I run VB6 code as string in VB6?
Let's say I had code a string variable like this. Code: Dim MyString as String MyString="msgbox ""test""" Is there a way to do something like this? Code: RunStringAsVBCode MyString Obviously the name...
View ArticleUC how to set default property only for the first time
Hi guys! Im doing a User Control that can display its Icons in Black or in White. I created a property for it and on the constructor I set the default value to White (so from the start it loads the...
View ArticleDelete Vs Clear Contents VB.net
Dear All I have a code in VB.net to delete certain Excel Sheets named as : T10, T12 , T16 and so on , so I wrote this code to delete them as follows: Code: Sub DeleteTSheets_Restart() Dim xl As...
View ArticleHow to add 2 columns in the textarea?
Hello, How can I add 2 columns to the textarea below? Code: <div class="col-md-7"> <div class="form-group container-fluid"> <textarea...
View ArticleChange color scheme of flat scroll bars
One of my customers uses the standard Windows flat scroll bars introduced in MSIE 4 inside the list/grid controls in his VB6 app. Now he wants to implement a dark theme in his app and needs to colorize...
View ArticleConverting C3 to VB.Net
Hi, I have found some useful codes but they are in C# language. How can I convert those projects to VB.Net? Online C# to VB.Net converts the code, but when I paste in Visual Studio, It gives error.:mad:
View ArticleVS 2015 How to Handle Serial data event and new frame event using Aforge...
hello everyone, I'm using AFORGE video library in my project for video capturing. Also, I'm using serial data receive event for capturing incoming serial data. My issue is that when I run both together...
View ArticleHow to use setcursorpos in virtual machine like vmware?
Hello I tried this Code: Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long Private Sub Form_Load() SetCursorPos 1, 1 End Sub It works just in the host...
View ArticleThe Best Way To Close (Hide) And Open (Show) Form
There are three forms in on project:Mai, formOrder, formShip. When one form open, I want to hide another two forms. For example, when formOrder open I want to make Main and formShip two forms...
View ArticleCan't open chrome after shell "chrome" command
Hello I am using that code to open chrome: Code: Shell "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --profile-directory=Default --new-window https://drive.google.com/drive/my-drive",...
View ArticleVS 2019 All possible combinations in an integer array
Hi, i need to find a way of finding all possible combinations of an array full of numbers. Have had a look but can't really find a true way of finding this anywhere, and i need it to not have...
View Articletoolbar 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 Article