2,642 questions with VB-related tags

Sort by: Updated
1 answer

write program that will display and tell a number of palindrome words in a sentance

write a program that will display and tell a number of palindrome words in a sentence

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-20T06:06:57.22+00:00
rano 1 Reputation point
answered 2020-12-20T06:48:27.61+00:00
WayneAKing 4,921 Reputation points
2 answers One of the answers was accepted by the question author.

[vb.net] How do I make method().method() form in VisualBasic?

If I create my own API that can be used like method().method() ... like below, please let me know how to code using class and namespace. Excel.Worksheets(sheetName).range("$A$27:$G100").Value Namespace Excel Class Worksheets …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-13T18:00:56.03+00:00
Soyoung Lee 21 Reputation points
accepted 2020-12-20T03:57:09.197+00:00
Soyoung Lee 21 Reputation points
1 answer One of the answers was accepted by the question author.

How to stop a recursive search

I have an recursive Organization Class as follows: Public Class Organization Public Property OrganizationID As Integer Public Name as string Public Property Subsidiaries As ObservableCollection(Of Organization) .... End Class I want a…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-17T21:41:09.273+00:00
RogerSchlueter-7899 1,236 Reputation points
accepted 2020-12-18T23:37:02.997+00:00
RogerSchlueter-7899 1,236 Reputation points
2 answers One of the answers was accepted by the question author.

Gmail Email Attachment Strnage behavior with VB Application

Hi, I would like to send ALL (files and folders to email attachment with VB). But seems like all files are not attached but only two. Here is the folder containing files to be attached. But I am getting only two files in attachment as: …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-17T13:30:50.547+00:00
~OSD~ 2,131 Reputation points
accepted 2020-12-18T23:25:27.633+00:00
~OSD~ 2,131 Reputation points
6 answers One of the answers was accepted by the question author.

How To Make An Admin Panel To Controll Every Controller In My App.

Hi all, This question is strange, i think that . But i had to ask it before..... Anyway , My clients asked me to fix some code in my apps. for example (I have to make a date changeable not fixed" In some Forms i made the datetimepicker takes…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-14T10:13:05.207+00:00
Amr_Ali 136 Reputation points
commented 2020-12-18T13:11:00.413+00:00
Amr_Ali 136 Reputation points
2 answers One of the answers was accepted by the question author.

Problem with Microsoft.Office.Interop.Excel

Hello, I have simple code to open a excel. But I couldn't open it.. I googled about this interop problem and tried every ways, but I didn't get anything.. I use 2019 VB.NET and 2019 MS Office. Please, help me to fix it.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-17T15:15:15.813+00:00
sem 21 Reputation points
commented 2020-12-18T07:40:37.66+00:00
sem 21 Reputation points
5 answers

Can someone please help fix the coding issue for the application "Apartment Rental by City?" (Exception Unhandled - "Input string was not in correct format")

Option Strict On Public Class frmApartment ' Class level private variables Public Shared _intSizeOfArray As Integer = 9 Public Shared _strDisplayCity(_intSizeOfArray) As String Private…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
962 questions
asked 2020-12-17T16:12:07.66+00:00
Laura 1 Reputation point
commented 2020-12-18T03:13:43.08+00:00
Laura 1 Reputation point
2 answers One of the answers was accepted by the question author.

Files - Folder attachment with VB.Net

Hi, I am using following sample code to send email to Gmail, working fine so far. However, I would like to add email attachment(s). For example, everything under the C:\Users\%UserName%\Attachments should be emailed, is it possible? Private Sub…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-16T13:40:45.54+00:00
~OSD~ 2,131 Reputation points
commented 2020-12-17T15:36:22.48+00:00
Anonymous
2 answers

Data Copy Operation and Process excecution in VB

Hi, I would like to copy a folder (with all it's contents - files /folders /hidden files folders /empty directories etc.) And need to use this newly copied data to start a process, ... but if the copying operation is not finished already, the next…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-16T12:12:29.163+00:00
~OSD~ 2,131 Reputation points
commented 2020-12-17T14:15:45.703+00:00
~OSD~ 2,131 Reputation points
5 answers One of the answers was accepted by the question author.

VB.NET DataGridView to CSV Error: system.outofmemoryexception

I have the below code that works but if DGV is large I get a system.outofmemoryexception how would I change existing code to download in chunks or preferred method of doing this. any help is greatly appreciated. If ComboBoxExport.Text = "Save As…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-14T16:53:31.49+00:00
jim brown 271 Reputation points
accepted 2020-12-16T20:19:33.43+00:00
jim brown 271 Reputation points
1 answer

Multiple Serializarion over Network (tcp)

Hello Dear Sir , I got some problem with parallel serialization (in same time , not async) : Dll Serialized : Public Class Class1 <Serializable()> Public Class PacketMaker Public Property File As Byte() Public Property…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-15T17:56:12.817+00:00
Arsium ***** 331 Reputation points
commented 2020-12-16T12:29:59.303+00:00
Arsium ***** 331 Reputation points
1 answer One of the answers was accepted by the question author.

File Deletion from Unknown Folders

Hi, I have a root directory at N:\DemoLab with following directory structure of known folders (Months,Years,Weeks) and unknown folders (DynamicName, RandomName etc.) DemoFile.txt is available under all these sub-directories (regardless if…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-16T10:59:42.25+00:00
~OSD~ 2,131 Reputation points
commented 2020-12-16T11:15:27.547+00:00
~OSD~ 2,131 Reputation points
2 answers

Delete Hidden Directories & wildcards search in VB.net?

Hi, I would like to delete directories (and all it's contents) using VB.Net where I know part of the directory name. For example, see below: All directories with name default***** should be deleted. All directories with name Trash should be…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-14T14:44:03.417+00:00
~OSD~ 2,131 Reputation points
answered 2020-12-16T07:43:18.327+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
6 answers

Access database source connection

Hello, i made a Access database connection with a source from access file from my desktop. What i need is to change source from desktop to dataset that i have on form, any suggestion?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-15T20:50:30.587+00:00
DRGAGI 146 Reputation points
commented 2020-12-16T02:38:18.69+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
2 answers One of the answers was accepted by the question author.

Creation of a registry key for the first time gives an error

Hi all , Really i miss you a lot , Okay I have this code Private Sub LoginForm19_Load(sender As Object, e As EventArgs) Handles MyBase.Load Panel2.Location = New Point(Me.ClientSize.Width / 2 - Panel2.Size.Width / 2, Me.ClientSize.Height / 2…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-08T15:13:54.667+00:00
Amr_Ali 136 Reputation points
commented 2020-12-15T12:23:55.153+00:00
Amr_Ali 136 Reputation points
2 answers

SQL Server to Webservice VB.net

Hi i was wondering if possible i want to extract the JSON data from SQL table and POST the JSON output to a Webservice all this done using VB.net code is this possible

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,572 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,201 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,591 questions
asked 2020-12-10T08:08:21.95+00:00
Ronald Van Der Westhuizen 41 Reputation points
answered 2020-12-14T22:23:23.7+00:00
Duane Arnold 3,216 Reputation points
5 answers One of the answers was accepted by the question author.

Masking TextBox and DataGridView cell

Hello, i have textbox which contains currency, i am trying to add mask to show currency when some value is entered. Image show sample of what i need, and also need to be aligned to the right side of the textbox. Same is need it with DataGridView cells in…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-13T20:15:40.553+00:00
DRGAGI 146 Reputation points
commented 2020-12-14T19:31:41.707+00:00
DRGAGI 146 Reputation points
5 answers One of the answers was accepted by the question author.

Calculate multi TextBoxes

I have few TextBoxes and i need to calculate sum of all of them into another TextBox or Label, any suggestions? Name of the TextBoxes are: TextBox1, TextBox2 and so on. It is a regular TextBoxes without any data on it.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-12T19:51:36.73+00:00
DRGAGI 146 Reputation points
commented 2020-12-14T17:44:48.477+00:00
DRGAGI 146 Reputation points
3 answers One of the answers was accepted by the question author.

Nested Folder Deletion with VB.Net

Hi, I have following directory structure with static parent directory name and randomly created sub-directories. Where in each sub-directory, there are several folders with same names on all sub-directories. Is it supported to delete the…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-14T09:18:11.097+00:00
~OSD~ 2,131 Reputation points
commented 2020-12-14T12:51:08.003+00:00
~OSD~ 2,131 Reputation points
1 answer One of the answers was accepted by the question author.

VB Forms Application Current Directory and File Copy Operation

Hi, I have following directory structure on Windows 10: Random User 1 and Random User 2 are directories which represents dynamically created directories names. Whereas the - Backup\Bookmarks\Chrome structure is constant. Due to this dynamic naming…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2020-12-10T12:47:27.673+00:00
~OSD~ 2,131 Reputation points
accepted 2020-12-14T08:57:34.033+00:00
~OSD~ 2,131 Reputation points