Questions tagged [vb.net]
Visual Basic.NET (VB.NET) is a multi-paradigm, managed, type-safe, object-oriented computer programming language. Along with C# and F#, it is one of the main languages targeting the .NET Framework. VB.NET can be viewed as an evolution of Microsoft's Visual Basic 6 (VB6) but implemented on the Microsoft .NET Framework. DO NOT USE this tag for VB6, VBA or VBScript questions.
vb.net
22
questions
0
votes
0
answers
13
views
How to refresh ComboBox from bindinglist to bindingsource in vb.net
I'm Trying to refresh ComboBox from bindinglist to bindingsource in vb.net
but it didn't work
Is there something wrong with my code ?
whether it can be reset via bindingsource or bindinglist or with ...
-1
votes
0
answers
59
views
Why does my project try to reference a file path that I cannot find anywhere in the folder?
I'm building an application in C# using VS 2017. I keep getting an error "Could not find file 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\FlowMotionRelations.txt'" ...
0
votes
0
answers
22
views
Remove/Disable some installed printers from print dialog
Is it possible to remove/disable some installed printers when the print dialog is show? from the photo below, i want to disable/remove the cutepdf writer.
I can accessed the printer names but I cant ...
-1
votes
0
answers
21
views
how to monitor a bunch of items in a listbox and delimiter.. see specifics i keep at it but [closed]
define a string to the left side of the delimiter : as stringA1 define a string to the right side of the delimiter: as stringb1 do this for all of the items in listbox1, then define the left side of ...
0
votes
1
answer
25
views
VB.net Multiple ListBox Selected Items carried into to separate form
Not even sure if what I am trying to do is possible. My goal is for the user to select multiple items from a list box. which are file names and be able to plot the data that's in the files on a ...
0
votes
1
answer
39
views
Option Compare Text in VB.net is *very* slow?
I only learned of Option Compare Text recently so I wrote a little test:
Dim sw As New Stopwatch()
Dim w As Boolean = False
sw.Reset()
sw.Start()
Dim A As String = "hello, world"
For o As ...
-1
votes
0
answers
20
views
SSRS reports are being generated even though the Oracle cursor doesnt have values
I have a Oracle SQL(11+) cursor that returns rows for a report. I also have a VB.NET batch that writes this file to a location by looping over all the Ids just for some context. Im trying to stop the ...
0
votes
1
answer
49
views
Is there a reason why BringToFront() and SendToBack() functions for pictureBoxes are not working on my VB forms program?
I'm coding a UI using pictureboxes as my buttons and menus. They function well, however when my popup menu pops up, it pops up behind my UI buttons.
Alongside this, the transparency from both the ...
0
votes
0
answers
29
views
Various confusing compilation errors after updating Microsoft.IdentityModel libraries in ASP.Net Web Site
I have inherited some maintenance tasks on an older ASP.Net Web Site (not web project). One of the tasks I'm working on is updating all vulnerable libraries. This has been mostly smooth except for ...
-3
votes
0
answers
31
views
Associate multiple columns to one code ID MYSQL [duplicate]
I have two tables.
One called datospaciente and another called inventario
datospaciente has 10 columns: material1, material2 to ... material10. Each one has a code for equipment (values such as 123, ...
0
votes
0
answers
47
views
Retrieving the COM class factory for component with CLSID {8E3867A3-8586-11D1-B16A-00C0F0283628} failed
I am working on a project on windows 11 and Visual Studio 22, and I have had to revamp many sub and different functions within the program to get things to work, mainly due to things being outdated ...
0
votes
1
answer
40
views
Case insensitivity in vb.net Dictionaries keys
I only recently came across Option Compare Text in a roundabout fashion. We have all sorts of:
soAndSo.Equals("one", StringComparison.CurrentCultureIgnoreCase)
and it seemed the option ...
0
votes
0
answers
29
views
Designer Tools make false autocorrection
When I open a form (frmNoticeHashtag) in the designer tool (the WYSIWYG tool of VS Community), i have an error regarding Backgroundimage declaration.
So, i have to correct this:
Dim resources As ...
0
votes
0
answers
15
views
Restapi forbidden response in vb task
I have an API that I tested in Postman. I want to use this API in a task within my own software. I can call the Access Token, CSRF token, and cookies, but when it comes to sending the content I want ...
0
votes
0
answers
34
views
How to convert .dsr to .rpt files in VB.Net
I converted my VB6 project to VB.Net , but .dsr files are carry forwarded as it is without any changes. As .dsr files are not supported in VB.NET I want to migrate it .rpt or .rdlc files.
How can i do ...