2,570 questions with VB-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Cannot view code changes in a web project unless I restart Visual Studio!

So, this is not the first time it happens but it's getting worse... I am working on a web based in a package called "AspDoteNetStoreFront" and every page of the site is customizes through XMLPackage files (xml.config). For whose is not aware…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-11-01T19:08:51.473+00:00
Yan Moura 96 Reputation points
accepted 2021-11-01T23:06:50.283+00:00
Yan Moura 96 Reputation points
5 answers One of the answers was accepted by the question author.

Multiple SQL tables within form, need to update just one

Have a VB form in which there is a main SQL table with 3 other SQL tables linked to get various data. Can't update main table, throws exceptions for the other 3 linked tables. Believe form is trying to update the linked tables as well. Is there 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,570 questions
asked 2021-10-28T17:12:15.423+00:00
Rich Craxton 116 Reputation points
accepted 2021-11-01T20:52:18.147+00:00
Rich Craxton 116 Reputation points
2 answers

Make KeyChar Accept Decimal

Hi I am trying to build a custom calculator to make my data entry more efficient. I am trying to limit a textbox in Visual Basic to only accept one decimal point. So far this code only accepts integers and the Backspace button. Dim Ch As Char = e.KeyChar…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-30T17:42:08.813+00:00
Andy 1 Reputation point
commented 2021-10-31T14:08:59.087+00:00
Viorel 112.1K Reputation points
1 answer

Resizing a Windows Forms border if the border is set to None.

Hello, I am trying to make a simple program that I made to test around with in Windows Forms. I am programming in Visual Basic and I am trying to resize the border of the program. Is this possible? Thanks!

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-29T10:50:39.403+00:00
Twisty Nado 1 Reputation point
answered 2021-10-29T14:54:12.96+00:00
Viorel 112.1K Reputation points
1 answer One of the answers was accepted by the question author.

Update a ComboBox selection based on a DataGridView cell value?

I want my data bound combo boxes to change based on the what is selected on my datagridview. This is what I've tried. Private Sub MyDataGridView_SelectionChanged(sender As Object, e As EventArgs) Handles DataGridView1.SelectionChanged …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-25T16:16:13.477+00:00
jumexmango 136 Reputation points
accepted 2021-10-27T16:03:02.337+00:00
jumexmango 136 Reputation points
0 answers

VB.NET determine if a file is ASCII text before opening?

One can select a file via OpenFileDialog, and set the file filters to .TXT or other extensions to limit input files to text based files. However, it is possible to have an ASCII text file that has no extension, or the wrong extension. Likewise, binary…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-26T00:01:37.4+00:00
Tony Lewis 1 Reputation point
commented 2021-10-26T06:50:37.623+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
2 answers One of the answers was accepted by the question author.

What are the correct syntax of SQL in Visual Basic 2019?

Hi, I am learning how to use the Visual Basic 2019/2017. Currently, I have a problem to find the right syntax of SQL within the program code to use. In order to simplify my questions, I have just created the following simple code to test and ask for…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,714 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,570 questions
asked 2021-10-25T09:32:35.937+00:00
jasonfan2000 21 Reputation points
commented 2021-10-26T02:33:46.03+00:00
jasonfan2000 21 Reputation points
1 answer One of the answers was accepted by the question author.

As byte to bytes

Hello, ive this code: Private Shared HexFind As Byte() = {&H1A, &H2A, &H3A, &H4A, &H5A} Private Shared HexReplace As Byte() = {&H1B, &H2B, &H3B, &H4B, &H5B} Private Shared Function DetectHex(ByVal sequence…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-17T11:07:30.99+00:00
Imperio Tuga 41 Reputation points
commented 2021-10-23T11:36:23.307+00:00
Imperio Tuga 41 Reputation points
1 answer One of the answers was accepted by the question author.

how to create pop up message when checked box didn't check

]1 when I choose the service and then I click submit the total of services will be appeared in the total text box. the problem is I want to make a warning message appear when I didn't choose any services and then click submit. this is my if statement for…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-21T12:48:11.347+00:00
Faris z 21 Reputation points
commented 2021-10-22T05:55:39.95+00:00
Faris z 21 Reputation points
1 answer

extension for running Visual Basic script in Visual Studio Code

I want to run Visual Basic code in Visual Studio Code. So, when I search for Visual Basic extension in Visual Studio Code, it shows several extensions. Which is the right extension for running Visual Basic script in Visual Studio Code?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-20T10:04:09.073+00:00
Sanniddha Chakrabarti 36 Reputation points
answered 2021-10-20T21:07:10.263+00:00
Karen Payne MVP 35,036 Reputation points
1 answer One of the answers was accepted by the question author.

How do I create an animation from a series of bmp files (in dot net)

How do I create an animation from a series of bmp files in dot net? Suppose for example I want to show a cartoon, and I have the frames for it, each one in a bmp file. One way to do this within a program is just use a timer to show successive…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-19T15:15:03.787+00:00
rael isaac 21 Reputation points
accepted 2021-10-20T20:33:47.593+00:00
rael isaac 21 Reputation points
2 answers One of the answers was accepted by the question author.

How can I programmatically select every newly added row in a DataGridView?

I have a button set up that adds a new row to my data grid. I have tried DataGridView1.CurrentCell = DataGridView1.Rows(DataGridView1.Rows.Count - 1).Cells(0) While this code does select every newly added row, it resets all my True's to False (I…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-12T17:29:49.787+00:00
jumexmango 136 Reputation points
accepted 2021-10-20T20:04:16.27+00:00
jumexmango 136 Reputation points
2 answers

Pop up message to remote computer

Hello, I am trying to send a pop up notification (message) to a remote computer using some proposed methods using the command prompt always unsuccessfully. Could you please help with a Visual Basic program to do this. Thanks a lot.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-19T13:52:04.677+00:00
Abdelmalek Aitouche 176 Reputation points
answered 2021-10-20T16:18:31.987+00:00
Viorel 112.1K Reputation points
1 answer One of the answers was accepted by the question author.

Error connecting Oracle with c#

Hi everyone. I have an issue trying to connect Oracle with C#, I hope you can helpme. I’m using Oracle SQL Developer and make the connection successfully: Everything Works fine: But then, when I’m trying to connect to that database…

Azure Database Migration service
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,245 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,570 questions
asked 2021-10-19T12:51:15.877+00:00
programinca 21 Reputation points
accepted 2021-10-20T11:41:30.52+00:00
programinca 21 Reputation points
1 answer

WINDOWS CAMERA APP AND VB.NET

I WOULD LIKE TO SNAP A PICTURE WHEN AN UNAUTHORIZED USER PLUGS IN A PHONE OR USB DEVICE AND POSSIBLY STORE THAT TO DISK. IS ANYONE AWARE OF COMMAND LINE SWITCHES OR PROGRAM 'REFERENCES' USING VB.NET FOR THE BUILT IN WINDOWS CAMERA APP? THE IMPORTS FOR…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-19T14:03:29.763+00:00
Frank Peck 1 Reputation point
answered 2021-10-20T08:08:17.143+00:00
Castorix31 81,721 Reputation points
0 answers

Missing MouseDown/up using DrawingVisual

I'm building a custom chart app using drawingvisual; I draw the chart with lines and the highlight some regions with rectangles; also added a Vertical line as a cursor/mousepointer; The user can grab the point and change it so I manage to use Mouse…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 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,570 questions
asked 2021-10-14T11:03:52.297+00:00
Ajeje Brazorf 106 Reputation points
commented 2021-10-19T16:34:46.313+00:00
Castorix31 81,721 Reputation points
2 answers One of the answers was accepted by the question author.

VB.NET = How can i display the total value in textbox which is calculated in sql COUMN UNIT based on id

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-10-18T16:45:14.637+00:00
JIM DASMA 21 Reputation points
commented 2021-10-19T11:49:06.097+00:00
simonberrurier-7045 41 Reputation points
2 answers

How to get Field Name in code

I am trying to get the Field Name that is on the Fields tab in Dataset Properties and can't figure out how. I need to get the field name so I can compare it to a list of values. I am sure a custom function could be created, I just don't know VB.

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,799 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,570 questions
asked 2021-10-14T02:39:47.383+00:00
John V Kane III 1 Reputation point
commented 2021-10-19T01:27:58.247+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
2 answers

split PrintPage for the number of parts

HI I have a database with the name of the employee, his data, and a picture of the employee. I want to split the print page into 3 parts in length and 3 parts in width. In each part, a picture of the employee and the name of the employee is…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,570 questions
asked 2021-09-27T16:24:09.12+00:00
AMER SAID 396 Reputation points
commented 2021-10-18T05:52:27.217+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
3 answers

VB getting ID of imagebutton onclick

Hi In my Web site I use VB and I have a sub where I have 5 onClick imageButtons that can trigger that sub. How can I get ID of the button which triggered that sub so I can use it in If statement? aspx: <asp:ImageButton ID="gb"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 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,570 questions
asked 2021-10-16T22:20:34.23+00:00
nickCroat 106 Reputation points
answered 2021-10-18T02:08:24.867+00:00
Yijing Sun-MSFT 7,066 Reputation points