Error on running and instlled app.
I built and published the application I built, but on installing it on another machine, I get the following error. It appears to have installed as its in the program list, but the error occurs on...
View ArticleVS 2017 [RESOLVED] can't modify user control passed as parameter
In a VB.Net 2017 Windows Forms project, I've defined a user control (named "ExDatePicker") that includes a label, a textbox (named "txt") and a datetimepicker. In several places, I'm passing specific...
View Article.NET 5 BGW Never Finishes in Prod Only
The title sucks, but then again, the problem isn't simple. I have a program that downloads some data from a web service and checks it. This is written in .NET5. It works perfectly in debug or release...
View ArticleVS 2012 Percentage Calculation
Hello...how do l calculate 4 practical assignments mark given that each practical assignment mark is a percentage and the semester test 2 mark is given out of 100. Practical Assignments counts 10%...
View ArticleVS 2022 How do I create a custom object that gets saved to Settings?
I'm trying to write a VB program that has parameters that need to be preserved between runs, and some of those parameters are in a custom object. I know that Visual Studio provides options to define a...
View ArticleOpening a folder when you only know the first 4 char of the folder name
Todays transitioning from VBA problem, opening a folder when you only know the first 4 char of the folder name. This is a task I do in Excel with VBA, but I cannot find code to mirror it in VB.net....
View ArticleImplementing Undo
I am writing a fairly simple program and I want to be able to undo changes made. There are multiple text boxes whose contents can be changed by typing in them by the user. I tried using a stack that...
View ArticleWhy is this maths wrong ?
Hi, I don't understand this, I run this code with a breakpoint at Line 3: - vb.NET Code: Dim x As Integer = Panel1.Location.X Dim y As Integer = Panel1.Location.Y + Panel1.Height ' Some other code When...
View ArticleVS 2019 how can i use controller to execute this code
I would want it in a way that after the Name has been enter then the account number is generated automatically iam using MVC visual 2019 Code: Protected Sub Names_TextChanged(ByVal sender As...
View ArticleSyntax
I'm new to .net but am having trouble with an "End of Statement Expected" error when defining a text line. Here is my code: Private Function buildPVRRequest() As String Dim output As String = "{...
View ArticleVS 2019 Finding numerical data in strings.
Hi there. A lot of work I do is finding and changing numerical data in strings. This can be challenging depending on delimiters, data types, file types etc. Rather than write routines for each and all...
View ArticleListView and Timer
Hello everyone, so I'm currently working on a software to do reminders or tasks etc... using name, time to call and additional notes I'm not so familiar with ListView etc... tried to read microsoft...
View Article[RESOLVED] Why is this maths wrong ?
Hi, I don't understand this, I run this code with a breakpoint at Line 3: - vb.NET Code: Dim x As Integer = Panel1.Location.X Dim y As Integer = Panel1.Location.Y + Panel1.Height ' Some other code When...
View Article[RESOLVED] TextBox Select not behaving as expected.
Hi, I have a textbox named KeyBox, it's usually not visible, but when the mouse enters a button (Named 'Invite') I expect it to become visible and to have the caret in it's centre (Text align =...
View Articleupdating form1 from module thread
form1 code Code: Private Sub Startbtn4_Click(sender As Object, e As EventArgs) Handles Startbtn4.Click Dim thread As New Thread(AddressOf thread4) thread.Start() End Sub...
View ArticleGet href of a button through web browser control
I'm trying to get the href of a button using the control Web Browser. The html is: HTML Code: <a download=""...
View ArticleOne Error being triggered twenty-two times, already now!!
Can someone please help me in this problem of mine??? I have an error in this postion... Code: <!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture...
View ArticleSearch by specific date from MS Access database
I'm trying to search a date using DateTimePicker from an Access database and have the results show in the DataGridView but it doesn't work. No errors but it just doesn't show the database/results....
View ArticleVS 2008 Retrieve LAPS Password from AD
Hi all, I'm trying to retrieve the LAPS password from AD. If I retrieve the description for instance it works fine, when I put ms-Mcs-AdmPwd into VS2008 it sepertes it out. Dim ObjUser objUser =...
View ArticleHelp with table relations
I have just moved to Visual Studio after working for years with MS Access VB, and have imported my .mdb database into the project. I am using WPF with .net framework 4.7.2. I have a main dataset called...
View Article