Run Time error '-2147217900(80040e14)'
Hi My desktop runs Windows 10 I am trying to access y and x co-ordinates of a point from an access database nearest to a co-ordinated point on the screen (Cad.Picture1...) . I get the error Run Time...
View Article[RESOLVED] If Not list.Contains(variable) not working
Hi, I am making a really simple bingo caller. The object of it is that it displays a random number from 1 to 90 every time a label is clicked (just because I don't like buttons). It should never repeat...
View ArticleVB - SnipSnap: Copy/Cut & Paste Image Areas
Earlier versions of this were called "MaskoMania" but a lot has been cleaned up and additional functionality added. Basically it is a UserControl to be hosted within a container control with a bitmap...
View ArticleHow to use Rectangle API function
I declare the Rectangle API function: Code: Private Declare Function Rectangle Lib "gdi32" (ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long I use it...
View ArticleVS 2019 Listbox selection affecting if another listbox will save data
Hey folks! Let me start by saying my experience coding is next to nothing but somehow at work I have become responsible for maintaining this web app we have that is made with VB.net. Recently, they...
View ArticleVS 2019 Socket connected but send doesn't seem to work
I have an old vb6 desktop application which communicates with a mainframe server using socket (winsock 2) that i need to convert to .net. I found the small code which seems correct to me using...
View ArticleCursor stuck on WaitCursor on form
Hi, A quick question: I have tried to change the cursor on the Form - at design - from WaitCursor to the default and it won't let me. I change it and VS changes it back. Has anyone had the same problem...
View ArticleAutomating the running of a script?
I'm working on a website where one part of the functionality is to sign up to receive a weekly "devotional/inspiritional" via email. Once a user enters their email address, the email will get stored on...
View ArticleHow to simulate IDE KeyDown Help
I have an editor in my app and the new users get confused easily when first encountering certain commands that must be coded. The VB IDE has that very useful feature of showing the command structure as...
View ArticleVS 2019 Old man needs help
Good day all. Firstly, please forgive such a stupid question. I am 54 years old and have only a few months ago started with vb.net after I lost my job in aviation due to covid. This is all new to me...
View ArticleListing all com interfaces that an object supports
Is there a tool\utility that shows the interfaces that an object supports ? I use Typelib browser (by jose roca) but it doesn't show all the supported interfaces. For example, the UserForm object of...
View Article[RESOLVED] Testing a MySQL connection.
Ok, this one is going to show my naïveté on the intersection between VB6 and things internet related. Let me outline the issue: I'm working with folks in setting up a MySQL server. Several of us have...
View ArticleWin XP NY 5.1 question hardware
I am not sure what my USB ports are on my Dell optiplex 755 (there are 2 in the front) Where in control panel would I find if they are USB 2 or 3? Jeff
View ArticleVS 2017 command line for virtual printer (Cute PDF, Microsoft Print to PDF ..)
Hello, With VB.NET 2017, I design a report (invoice, payroll ..) then with a virtual printer (cute PDF or Microsoft Print to PDF) I create a PDF. But we need to choose the virtual printer then to click...
View ArticleVS2019 Community edition COM Aware setting ?
Does anyone know off hand if the VS2019 community edition still supports the COM aware feature for a class library? I cant seem to find it anywhere in the properties. Was this killed off completely or...
View ArticleA compatibility issue
We' re trying to run an xp program created with vb6 in windows 10. Unfortunately there is no source code to apply the known compatibility fixes. As it is, it works but when it is about to deliver the...
View Articlefilter datatable
Hi all, Im currently trying to extract information from excel and display it in a different way so ive managed to pull the info from excel using Code: 'Open the Excel file using ClosedXML....
View Article[RESOLVED] VS2019 Community edition COM Aware setting ?
Does anyone know off hand if the VS2019 community edition still supports the COM aware feature for a class library? I cant seem to find it anywhere in the properties. Was this killed off completely or...
View Article[RESOLVED] How to intercept KeyPress or KeyDown CTRL+D in/on a textbox
Hi, there are numerous postings on this (and closely related) subject. But no practical answer I can find. Simple question: I need to intercept the user typing CTRL+D in a Textbox. Alt+D is simple and...
View ArticleVS 2019 Counting rows with the same date as 1 item.
Hello! I have a table with a column called: "DGV_Date_Column", it contains the dates of my sale tickets. I've sent these values to a DataGridView1 and I'm trying to display de total amount of tickets...
View Article