Category "vb.net"

Global.Micrsoft.VisualBasic.ApplicationsServices... is not defined error BC30002

I'm converting some old legacy VB apps from .NET framework to .NET 5, and have worked through most of the issues, however, I'm lost on these: Error BC30002 Ty

Solution add textbox in SQL as string in vb.net

What is the solution if you see the code below there is a value (2000) then I want to change it to textbox so I can custom value. Thanks jack Dim sql As String

RestSharp issues integrating with zscaler product will not work on IIS Server 2012 R2

Our organization is removing our proxy web servers and integrating Zscalar. We were informed that all we had to do is remove the proxy property/settings. So I

Maintain Datagridview Checkbox State while using filter

I have a datagridview which I populated thru mysql query Using command As New MySqlCommand("SELECT p_code as 'Prodcut Code', p_name as 'Product Name', filter "

Get row with first 10 empty cells in excel spreadsheet

I am creating a vb.net application to update an excel spreadsheet. I access the excel file using Imports Microsoft.Office.Interop. So far I can add data to the

Windows forms scalling

I'm trying to avoid wrong form showing when "Scale and layout" in windows screen settings is different than 100%. I've folloved this LINK, and it works but only

Handling property change several layers down

I am new to events and handling them, and this is a simplified example of the structure I have: Public Class Main Public world As World Public totalWorl

System.IndexOutOfRangeException: 'Index was outside the bounds of the array.' in datagridview

I'm trying to retrieve data from the web to desktop using vbnet, but whenever i tried to show it on datagridview it show this error. It only succes when i only

What is a NullReferenceException, and how do I fix it?

I have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance of an object.

Get Labels from loaded ML.NET model

I have followed the ML.NET tutorial for image classification and already created my first Model. (https://docs.microsoft.com/en-us/dotnet/machine-learning/tutor

Visual Basic - 'GetObject' Not Declared

I've been running into an issue while attempting to update a script from VBScript to standard VB. The script simply checks for any running processes of Excel, t

Google.Analytics.Data.V1Alpha - property "daterange" read only

https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries I have run the sample code of the quickstart in c# and this work

How do I programmatically click "Submit" on a Google form using Visual Basic?

I'm coding an A.I. in Visual Basic and when it when it doesn't know something the user inputted, it'll send the user's input into a Google form and submit it au

This method can't be used with an inline response mail item

I have an Outlook add-in that monitors sent items and moves specific emails to a folder. I am not sure what have changed, but when I send an email, I get this e

File Saveas or copy from xls to xlsx

I have an excel file in the C disk named C:\Book1.xls How can I saveas C:\Book1.xls to C:\Book2.xlsx ? Is there a System.IO.File.SaveAs class? The following

ClosedXML Gives 'File Corrupt' Error, But File is Not Corrupt (VB.net)

I am using the ClosedXML package (version 0.95.4) to open an Excel file (.xlsx), which was previously saved in a folder to which the application has access. Th

Split an Image into different PictureBoxes

I have a Image with size 187x16 which contain 10 smaller Images in a row. I want split those Images into 10 different PictureBoxes. Original Image: Dim

SQL (INSERT INTO) COMMAND DOES NOT WORK IN OLEDB IN VB.NET

I want to update in the "CIU" column in the database "GSDTS" and retrieve the data or values from the database "IFGTS" in the column "PRSOBNET" based on the con

Visual Basic loop sum of integers ^ 2 till user input. power of 2

I need help with one simple task: Input an integer number n and output the sum: 1 + 2^2 + 3^2 + ... + n^2. Use input validation for n to be positive. My code d

Check if email is digitally signed using VB.Net

I would like to know if it's possible, using VB.Net, to check if an e-mail is digitally signed and who is the issuer of the certificate. Using Extended MAPI Wr