Win11 Scaling Issues with .NET 4 WinForms Application
A WinForms application developed in .NET 4 is experiencing display issues when running on Windows 11 with a zoom level of 125%. The application does not properly support DPI scaling due to limitations in .NET 4. Attempts to use the Windows API function…
VBA Outlook: AddressList.AddressEntries collects only the first 500 entries of address list
I am using O365 classical outlook on Windows 10 Considering classical VBA code bellow, AddressList.AddressEntries only collects the first 500 entries. Indeed, browing "All Users" global list in Outlook AddressBook Window, I see the same last…
How to create TN3270 connection using Visual Basic .NET Community 2022
I have the below installed in my laptop; Microsoft Visual Studio Community 2022 - Current Version 17.12.4 Microsoft .NET Framework Version 4.8.09.32 Microsoft Host Integration Server 2020 Evaluation Version 11.0.2020.0 I want to create a Mainframe TN3270…
How can I programmatically call the windows dialog window: "Select an app to open this" which is used to set default programs?
Hello, How can I programmatically call the windows dialog window: "Select an app to open this" which is used to set default programs? I am looking for some example in c# or vb. Any assistance would be appreciated. Thank you in advance.
How do I fix this parameterized query error?
Receive this error when running the code below. How do I fix this? objCommand.CommandText = "UPDATE names2 " & "SET trn_date1 = @trn_date1, " & "trn_date2 = @trn_date2, trn_date3 =…
Install visual basic SP6
Impossible to install the cumulative version of VB SP6 as long the VB SP6 is not installed??? Please advise. KR Pierre
api rest api for check if email exists, or other method
Exists a method via api rest code, to check if an email exists? Note: in vba for exacel please Not the correct syntiax to compose email, but if the myname@test.com, exits
Developing Cross-Platform MAUI Applications with VB.NET
Is it possible to develop cross-platform MAUI applications using VB.NET? Guidance and resources on this topic have been difficult to find.
Migrating Vb.Net web application into .Net 8.0
Hi, I would like to migrate our web application which has been developed in vb.net web application (MVP) using .Net Framework 4.7 into .Net 8.0. But I am not able to do it. I had used .Net Upgrade Assistant. Can we migrate vb.net web application into…
Taskbar Icon doesn't match Application Icon when using a Soortcut
I wrote a program that monitors my Documents Folder and every time a file that matches my criteria is saved, it makes a copy in the selected backup folder. I added code that blinks the Icon a few times so I know that the file was backed up. The blinking…
In a Class change console message for textbox message yes or no, VB2017 Vb.Net
I want to delete a table in a database if it exists, with a textbox (yes or no) to create a new one programmatically. If the table exists "delete it" with the condition (yes), if this table does no exists with option no create a new one. For…
VS 2019 always crashes whenever I try to open this one solution
I am tasked with maintaining an old VB.NET ASP.NET WebForms application. It has 9 projects within the solution. It is at least 15 years old, which is longer than I have been employed in this position. None of the original developers are around. They left…
Where can a commercial license purchased for Visual Basic 6?
We need a commercial license for VB6. Is there any way to purchase one?
How do I update DBContext after adding new table to SQL database?
We added a new table to our SQL Server database called Occupation. From the ASP.NET Web Form project, I can not seem to access it. Imports System.Data.Entity Public Class CCDBContext Inherits DbContext Public Sub New() …
search in DataGridView
Hello experts I need to select some DataGridView rows based on the user text input, some sort of search, so: For loop As Integer = 0 To DataGridView.Rows.Count - 1 If DataGridView.Item(0,…
How to use WPF Mouse.OverrideCursor in a VB.NET application
I tried a sample WPF code, that Kareninstructor recommended to me, from https://github.com/karenpayneoregon/visual-basic-getting-started/tree/master/ChangeCursor to test the usage of Mouse.OverrideCursor - this worked beautifully. However, it is a…
Can I backup my programming some easy way?
Two years ago I lost all my programming that I worked on for two years. Apparently, when you start a new project in VS, the old project is lost. I tried to get it back, but never found it. So I quitted using VS and programming. Yesterday, I decided to…
Must declare the scalar variable "@n"
Receive the above error generated by the code below. Dim objCommand As SqlCommand = New SqlCommand Dim Connection1 As New SqlConnection(ConnectionString) objCommand.CommandText = "UPDATE names " & "SET n.cc_date = @n.cc_date,…
how is way to create menus on a aspx page
i am using vb.net 2022 and renamed the extantion of a form to aspx now how is posible to create menus on this page
error in visual studio regarding "object reference not set to an instance of an object" while making vb.net project
regarding "object reference not set to an instance of an object" while making vb.net project