Category "vb.net"

MVVM Bindings doesnt update with PropertyChanged

All my bindings are not updated and I don't understand why My Model is: Public Class TestModel Implements INotifyPropertyChanged Public Event PropertyC

I can't split field in CrystalReports

How to split the field Order_cos that contains "20225130012" to get just "0012" without "2022513" in CrystalReports? I use this code mid({Order_cos },9) but it

Grapecity Active reports - Print with Letter paper , contents gets cut off

I am using active reports with vb.net to generate my report. When the paper size is "Letter" and scale is "default", the contents on the right side of my page a

How to ng-repeat this table row and increase the ng-show row position value instead of hard coding the values

I am working on a feature which allows a user to create their own table. I'd like to refactor this code. So it creates a number of rows based on the max rows I

parse value from datagrid to button name

I'm building a form that has many buttons, all buttons do the same thing: add 1 every time they are clicked. Every pressed button is sent to a datagridview alo

I want to find UUID in my application. Code gives Problem

Following is my code to get UUID of my PC. I'm finding Error. Pls help me to resolve the errors. I'm getting Error on "ManagementObjectSearcher" & "Manageme

jQuery AJAX Not Returning Error Message with SQL Server

I'm testing jQuery AJAX to return data from a SQL Server table. In the AJAX call I have a failure function to show any potential errors in an alert box. However

Property Copying Between Two Objects using Reflection Recursive

I am trying to do a deep copy a source object's property values to the destination object's property of the same name. The problem I have run into is is that if

How to autoincrement version number for a stand alone VB Class Library? (VS 2022, .NET 6)

I'm trying to design a REST API Service and Client that shares a common library (set of public classes that the Service and Client both reference). This common

First column of GridView readonly unless new row

I have a GridView with various columns and rows pulled from a database. In the first column I have a dateEdit repository item. What I would like to do is have t

Unzipping error - Unexpected end - Using ZipArchive

I got the following Code: Dim ms = New MemoryStream() CustomReportVorlage.ExportToPdf(ms) Dim bt2 = ms.ToArray() Dim outStream = New MemoryStream()

Setting a User Group with an Array using Active Directory Domain Services VB.net

I am trying to figure out how to set Users to an array of groups with Data I pulled from another user. I am in the process of creating a User Creation GUI and I

Uploaded Image to Sharepoint using Graph API contains no Content (.NET)

I alreadey use the following method to upload files (docx, xlsx) to our sharepoint. Now i'm trying to upload images (png, jpg) to the same library. I don't get

VB.NET, How to change the User-agent of the web browser control

There is a way to change The User-Agent of web browser control and it works! I changed the User-Agent by using the following code: WebBrowser1.Navigate("https:/

Copy selected text of a RichTextBox to the Clipboard with a Mouse Click

I have a RichTextBox(RTB) that obtains text from two sources a txt file and data from a SQLite DB. The RTB has ReadOnly property set to False. I am trying to NO

Is there a way to exclude document files from the installation folder for vb.net project?

I have created a windows form application using vb.net 2019, and everything seems fine until I found out that an .xml document which contains confidential files

How do I restore focus to previously focused control of the TabPage when switching between tabs

I have a TabControl and I'm adding Tabpages to it programmatically. Each TabPage loads a UserControl in it, and each user control contains a few controls. For e

WP Rest API - Upload image to WP using Restsharp

I have a problem uploading an image to Wordpress from a VB .NET project (using Restsharp). I create the client and the request for this, I added a header with t

Synchronize the Scroll position of two Controls with different content

I use this simple code to set the position of two Scrollbars of different RichTextBox Controls, at same time. The trouble comes when the text of a RichTextBox i

Threadpool not starting any new threads, but is below limit

I have a app that uses async tasks to get Data from a MQTT server. After I updated my System to Windows 11 I started noticing the Problem that the async tasks a