Error Trap Index Was Outside the Bounds of the Array
Hey guys! First I need to tell you what I'm working with. I wrote an app in PowerApps that will read a QR code. The QR code should have 7 lines of data. When I scan the QR code, I have it insert into...
View Articlecharacter position vb.net
hi I want to create a character key And control this key how to press in a specific place on the screen like a mouse We control the location of the click by cursor position What are the countries that...
View ArticleVS 2017 (Resolved) Ideas on quicker way to create forms with many fields
Hello all, Wondering if anyone has ideas on how to generate code for controls for forms with many fields. These are for applications where the VB form needs to simulate an existing paper form with, say...
View ArticleOption Strict On disallows late binding.
Hi, In a subroutine I have: Code: AddHandler box.Click, AddressOf Move I'm trying to read the name of the sender so that I can extract which (Picture) box has been clicked. Code: Public Function...
View ArticleHelp control from the keyboard
hi How can I control from the keyboard letter pressing a specific place on the screen like mouse Cursor.Position Code: Private Const KEYEVENTF_KEYDOWN As Integer = &H0 Private Const...
View ArticleVS 2019 [vb.net] Turn off COMPORTS and turn it on
I have a led with a resistor soldered on a USB cable with a resistor when I put it on the USB comport1 it turns on, but I would like to turn it off or reduce to almost zero the power flow in the serial...
View ArticleMsOf10 What can cause Excel to think I have over a million rows
I've posted similar questions before but haven't been able to solve the problem which is that while I only have about 6800 rows in my worksheet, Excel thinks the last row is 1,048,576! I know that...
View ArticleHow to rotate image with wia object
How to rotate image with wia object How to remove the white edges in the picture? For example, if there is a partially transparent PNG, cut off 4 weeks? Resolved [RESOLVED] problem with rotate image...
View ArticleSuper fast running image rotation
This is the first method, which is slower and has no extra white edges. The second method is faster Code: Private Type Bitmap bmType As Long 'Image type: 0 means bitmap bmWidth As Long 'Image width...
View ArticleCrop Filter: Crop Picture
This is a tested code, which is perfect. If there is a better way, you can also communicate together. Code: Function CutImg(PicFile As String, SaveAs As String, Left As Long, Top As Long, newWidth As...
View ArticleVB6 code parse: Is TypeScript/JavaScript the most complicated language to parse?
I'm currently working on code analysis/parse in multiple programming languages: Code->AST->Code. The syntax of TypeScript/JavaScript is extremely flexible, so the parsing process/algorithm is...
View ArticleSetting Properties When Passing Objects (Comparing Advantages / Disadvantages)
When writing procedures fewer parameters being passed would save a bit of stack access. Is there any compiler advantage to setting properties BEFORE the call or AFTER? Here's three (what I consider)...
View ArticleBOLD FONT in header column...
Code: Private Sub CREA_LISTVIEW() With Me.ListView1 SendMessage .hwnd, WM_SETREDRAW, 0, 0 .ColumnHeaders.Clear .ColumnHeaders.Add , , "FILA", 550 'possible to set bold font...
View ArticleI have some questions about computer memory?
If I'm not mistaken, memory available to programs uses a combination of harddrive space and physical RAM, and all software running uses physical RAM first, until it's exhausted. After that, the next...
View ArticleVS 2017 Laptop crashed, and cannot install vb.net 2017, need online compiler
My Laptop has crashed, and now it is very slow, and it is getting worse, every application I open like vb.net, brave browser is freezing, did format and reinstall, but same problem. Need to get new...
View ArticleVS 2015 How can i IWebElement in Selenium chrome in Vb.net
Hey guys, I have code am using in python its working well im trying to move it to VB.net but i had hard time understanding how its done I have hard time understanding IWebElement in Vb.NET Python,...
View ArticleSet image DPI--save picturebox as jpg(GdipCreateBitmapFromHBITMAP)
' GdipCreateBitmapFromFile StrPtr(LoadimgFile), Bitmap GdipLoadImageFromFile StrPtr(LoadimgFile), Bitmap can't set GdipBitmapSetResolution by file,why? use GdipCreateBitmapFromHBITMAP,Resolution is set...
View ArticleConvert image files to JPG format BY WIA
Code: Function WiaSaveAsJpg(LoadFile1 As String, SaveJpgFile As String, Optional JpgQuality As Long = 85, Optional ErrInfo As String) As Boolean On Error GoTo Err1 Dim Img 'As ImageFile Dim IP 'As...
View Article[RESOLVED] System.InvalidCastException: System.Data.SQLite.SQLiteDataReader...
My Sqlite DB column ImageBlob is Image type, can be NULL. When the image is NULL, I get System.InvalidCastException. How to check whether it is NULL before doing the cast? if (reader!= DBNull.Value...
View ArticleHow to get the coordinates of the 4 corners of a coaxial rectangle on the circle
Assuming that the short side of the rectangle A=10CM, the long side B=20CM, the diameter of the circle is the diagonal of the rectangle (hypotenuse) At 0 degrees, the coordinates of the four corners of...
View Article