How to make changes in Excel sheets only with Visual Basic .NET (Only Programing)
hi I want to have all kinds of changes in the sheets by programming. But the user cannot edit the cells in Excel itself. All edits should be programming only.
Microsoft Excel cannot access the file ' SegmentExport2_d0ad8d.xlsx'. There are several possible reasons: • The file name or path does not exist. • The file is being used by another program. • The workbook you are try
HI Web application Hosted on IIS Server and when i am trying to open the excel file from vb .net code getting Microsoft Excel cannot access the file 'E:\inetpub\Sites\iHomeSite\main\Macros\SegmentExport2_d0ad8d.xlsx'. There are several possible reasons:…
Method to find the exact line of code that caused an error in VB.NET using Try Catch
When an error occurs while executing the project (in this case, dividing by zero), the message box displays the exception details, including the file path, procedure and line number where the error occurred, such as "Form1.vb:line 5".…
error in visual studio regarding "object reference not set to an instance of an object" while making vb.net project
regarding "object reference not set to an instance of an object" while making vb.net project
Scanner status detection
How can I identify the status of a scanner, i.e. if it is active, if it is closed, or if it is on standby? without ManagementObject
After migrating to VB.NET Core 9.0 from 8.0, I am getting error messages on menu bindings
After migrating from version 8.0 to version 9.0, I am getting error messages related to the binding of menu items. I am working with Visual Studio 17.12.3 and .NET Core 9.0.101 on a Windows 11 (23H2) machine. Further down in the XAML code, I have the…
Exception when using Firebase streaming
Hi, When I try to read data from Firebase using FirebaseDatabase.net Library I receive Newtonsoft.Json.JsonReaderException exeptionn this code works Imports Firebase.Database Imports Firebase.Database.Query Public Class Form1 Private Async Sub…
SSRS GetParameters() returns empty string/ null.
SSRS report when requested for parameter columns using GetParameters() method returns empty string. This is inconsistently causing application errors. Looking for some help. We are invoking the below method within our PowerBuilder code by connecting to…
Cell Duplication Issue in DataGridView During Fast Scrolling in Fullscreen Mode with VB.NET
Hi everyone, I’m encountering an issue with the DataGridView in my VB.NET app. When scrolling quickly in fullscreen mode, some cells get duplicated. The faster I scroll, the worse the issue becomes. Interestingly, this does not happen when the window is…
How to use OpenXML SDK in a vb.net project to change custom properties of .docx files?
I'm working on a vb.net project that is supposed to use OpenXML SDK to alter custom file properties of a .docx file. Once I have the document open as a 'WordprocessingDocument`, how do I access the custom file properties?
How to insert line break for send whatsapp message using vb.net
I want to send whatsapp message like below using VB.net LAUNDRY HOMES Invoice Number : 100006 Invoice Date : 07/30/2022 I have used following code but its not line breaking in whatsapp Dim web As New WebBrowser Dim strMessage As…
Information about local network devices with vb
on my local network devices (e.g. network printer, network scanner), how can i get the path, ip, mac address and any other information i can use
How can I programmatically call the windows dialog window: "Select an app to open this" which is used to set default programs?
Hello, How can I programmatically call the windows dialog window: "Select an app to open this" which is used to set default programs? I am looking for some example in c# or vb. Any assistance would be appreciated. Thank you in advance.
i am getting this error
please give me some solution for SqlConnection, SqlCommand and Clear ()
DataGridView column alignment header vs data
In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …
How can I make some space between labels both across and down in a FlowLayoutPanel
I have tried changing the margin and padding, but it changes nothing. there seems to always be a perfect space left-to-right but top to bottom the labels touch each other.
Network device detection in vb.net
How do I find out if a device on the local network is a computer, motherboard, printer, scanner, mobile phone, smart TV with vb.net?
how do I declare a control in windows forms
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> Partial Class Form1 Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> Protected…
what library do I need to work with serial com ports
I want to open a comm port (usb port) to send commands to a controler box via Ascii text. I have about 50 commands and want to create a dropdown box to select those commands then send them through the USB port to the external device.
How to get the focus of a text box that is anywhere (such as: on a SplitContainer or any control that contains other controls)
Private Sub ToolStripButton1_Click(sender As Object, e As EventArgs) Handles ToolStripButton1.Click ActiveControl.Text += "A" End Sub