How to Avoid Unnecessary Subroutine Calls
Here is a typical snippet of a class in my application: Public Class Person Implements INotifyPropertyChanged Private _FirstName As String Public Property FirstName As String Get Return _FirstName End Get Set(value As String) _FirstName…
Developer technologies | VB
How to outsmart the long file name problem on FTP.
Hi there, Have a problem in transfering the files with the long path names to the FTPS/SFTP server. I know, this is the old problem of the Windows file names length limitation, raised the tons of info on the internet, but the problem still not…
Developer technologies | VB
Probable permissions issue with file download - need help
Hi all - I've written the code below as part of a webforms project to download a file from my remote webserver. It's straightforward enough but, when I run my project from a browser, I get an error every time. The message says 'Access to…
Developer technologies | VB
Why is microsoft giving up on Visual Basic?
Is it just me, or does anyone else think Visual basic should continue to be supported? I am just a casual programmer and VB made my life so much easier than all the damn C type languages including javascript and php, etc.. They all have way too many…
Developer technologies | VB
How to load row data from listview or gridview
Hi there i would like to ask is if possible to load data from a row select.Item on Listview or Gridview and load on the player this is for Website and Winforms program both ways here is the code any help Imports System.Net imports…
Developer technologies | VB
Class Properties Changing in Unexpected Ways
Consider this Person class: Public Class Person Implements INotifyPropertyChanged Private _PersonID As Integer Public Property PersonID As Integer Get Return _PersonID End Get Set(value As Integer) _PersonID = value End Set End…
Developer technologies | VB
Get data from web table
Ho to get web table value from:https://www.xamig.com/superenalotto/sistema-consigliato-prossima-estrazione.phpthe table Is to the bottom of Page. Tks
Developer technologies | VB
How to add all item in listbox 1 to datagridview in column 1.Then for listbox2 to column 2 in datagridview
I have 2 listbox and 1 datagridview. Then 1 button for transferring the item. My listbox1 is the order of customer. My listbox2 is sugar level the item here is 3 only. The problem when i run the code below some item in listbox1 did not tranfer in…
Developer technologies | VB
during app review process, how do i get test username and password to certification team
i have an app that failed certification, requiring TEST credentials. Q: How do i provide such? (what field do i put that in) ?
Developer technologies | VB
Alternative to AsTask() for awaiting IAsyncOperation in VB.NET (.NET Framework 4.7.2)?
I’m working on a WinForms VB.NET app targeting .NET Framework 4.7.2, using Windows.Services.Store APIs like GetAppLicenseAsync() and RequestPurchaseAsync(). These return IAsyncOperation(Of T), and the documented way to await them is via…
Developer technologies | VB
Post and get data from database and show on page or form
Hi there how i can post data into database using webrequest and using forms to do this Post and Get information Dim Username As String Dim Password As String Dim Email As String Dim Pass_Code As String …
Developer technologies | VB
WinForms VB.NET + Windows.Services.Store: Missing .NETCore v4.5 reference assemblies
I’m building a WinForms VB.NET app (.NET Framework 4.7.2) that uses Windows.Services.Store APIs inside an MSIX‑packaged desktop app. The project recognizes StoreContext and the async methods, but VB.NET cannot Await them. I get errors like: 'AsTask' is…
Developer technologies | VB
Regex for string cleaning
Hi there, I have the following string to be cleaned of 1 and 2 character words unless it's the letter M or F. EL EL EL EL M EL EL FU S FF EL EL EL E EL I tried with the following expression but it didn't work quite well. var output =…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | VB
Developer technologies | .NET | .NET CLI
Developer technologies | C#
WHY ARE MICROSFT KILLING VISUAL BASIC AND THIER USERS? in favour on third party programming languges
My question is Why is Visual basic (the original programming language) being leverage out of Microsoft? Today there are many programming languages in the world currently in use as well as the mass migration to the python platform ... which would not…
Developer technologies | .NET | Other
Developer technologies | VB
System.Collections.Generic.HashSet does not work as advertised
Consider following code which demonstrates the usage of System.Collections.Generic.HashSet: HashSet does not hash the key's value when doing "contains" lookup. If we change the key's value, it has no bearing on the lookup.
Developer technologies | VB
ShowDialog displays in different position on different machines
I have compiled an EXE from Visual Basic using Visual Studio 2022 Version 17.14.21. When I run it on my Windows 11 laptop, the subject of the ShowDialog command is displayed in the correct position (CenterScreen, see image), but on a new Windows 11…
Developer technologies | VB
Can't launch my app because of 'you must install .NET Desktop Runtime' popup
Hi everyone, I'm trying to run my application I've just installed on my computer but I'm having an issue with my .NET Runtime. I've been debugging this application in Visual Studio Community 2022 v17.10.2 and it works fine when I start it through Visual…
Developer technologies | Visual Studio | Extensions
Developer technologies | .NET | Other
Developer technologies | VB
Developer technologies | Visual Studio | Other
How to convert VB6 vbp file to a modern compiler
I have a VB6 application that needs to be upgraded to a newer version of VB, what is available to make the conversion?
Developer technologies | VB
How to draw pineapple ring and output it as bitmap
This is pineapple ring I wanted to draw using VB code: Imagine the background color is black. Each segment must be same size. The line color can be same for practice purpose. The final image have to output to bitmap file. For those who have no idea how…
Developer technologies | VB
how to fix windows + v not working on a windows asus vivobook
I've tried restarting my computer and the system and checking google but nothing seems to be working.