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…
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.
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
Method to find the exact line of code that caused an error in VB.NET using Try Catch
When an error occurs while executing the project (in this case, dividing by zero), the message box displays the exception details, including the file path, procedure and line number where the error occurred, such as "Form1.vb:line 5".…
How to make changes in Excel sheets only with Visual Basic .NET (Only Programing)
hi I want to have all kinds of changes in the sheets by programming. But the user cannot edit the cells in Excel itself. All edits should be programming only.
Microsoft Excel cannot access the file ' SegmentExport2_d0ad8d.xlsx'. There are several possible reasons: • The file name or path does not exist. • The file is being used by another program. • The workbook you are try
HI Web application Hosted on IIS Server and when i am trying to open the excel file from vb .net code getting Microsoft Excel cannot access the file 'E:\inetpub\Sites\iHomeSite\main\Macros\SegmentExport2_d0ad8d.xlsx'. There are several possible reasons:…
Scanner status detection
How can I identify the status of a scanner, i.e. if it is active, if it is closed, or if it is on standby? without ManagementObject
After migrating to VB.NET Core 9.0 from 8.0, I am getting error messages on menu bindings
After migrating from version 8.0 to version 9.0, I am getting error messages related to the binding of menu items. I am working with Visual Studio 17.12.3 and .NET Core 9.0.101 on a Windows 11 (23H2) machine. Further down in the XAML code, I have the…
Exception when using Firebase streaming
Hi, When I try to read data from Firebase using FirebaseDatabase.net Library I receive Newtonsoft.Json.JsonReaderException exeptionn this code works Imports Firebase.Database Imports Firebase.Database.Query Public Class Form1 Private Async Sub…
SSRS GetParameters() returns empty string/ null.
SSRS report when requested for parameter columns using GetParameters() method returns empty string. This is inconsistently causing application errors. Looking for some help. We are invoking the below method within our PowerBuilder code by connecting to…