2,612 questions with VB-related tags

Sort by: Updated
0 answers

Webrequest populate UserAgent and Headers

asp net version 2.0 asp.net forms with vb.net Dim strData As String = String.Empty Dim wr As HttpWebRequest = Nothing Dim wrRes As HttpWebResponse = Nothing wr = DirectCast(WebRequest.Create(URi),…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,480 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 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,612 questions
asked 2024-05-31T01:20:28.4933333+00:00
icm63 0 Reputation points
commented 2024-05-31T06:15:40.6466667+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
3 answers

Query is too complex.

Hello To delete many selected records at once: In a loop I populate question marks: QuestionMarks = QuestionMarks + "?, " Then: "DELETE FROM table WHERE theID = ? AND fld IN (" + QuestionMarks + ")" And: For Each MyRow As…

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,417 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,612 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
837 questions
asked 2024-05-24T08:22:33.26+00:00
StewartBW 565 Reputation points
commented 2024-05-31T05:48:41.7633333+00:00
Jiachen Li-MSFT 27,406 Reputation points Microsoft Vendor
1 answer

Select from table

Hello Using Access mdb with OleDbRader (Access Database Engine) to select all: "SELECT * FROM tabke WHERE clmn = 'blah'" This might return 100 items, how can I use select to read from number 5 to 50, for example? Possible? Thank you all

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,417 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,612 questions
asked 2024-05-24T00:46:41.91+00:00
StewartBW 565 Reputation points
commented 2024-05-31T05:48:12.15+00:00
Jiachen Li-MSFT 27,406 Reputation points Microsoft Vendor
1 answer

Get data with post method using webclient

Hello There's a POST sample at the bottom of this page: https://ws.interfax.net/admin.asmx?op=GetAccountPPCardsBalance2 Sample HTTP POST request and response. The placeholders shown need to be replaced with actual values. POST…

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,417 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,612 questions
asked 2024-05-30T13:11:52.0833333+00:00
StewartBW 565 Reputation points
answered 2024-05-31T01:47:42.0266667+00:00
Jiachen Li-MSFT 27,406 Reputation points Microsoft Vendor
1 answer

Memory access violation when writing a combobox in Visual Basic

I've had a program since 2004. I've been updating it since then. The GUI is in Visual Basic. Suddenly a statement that simply takes the text from one combobox and puts it in a second (invisible) combobox is giving me a memory access violation during…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,722 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,612 questions
asked 2024-05-26T21:41:11.0533333+00:00
Bob Zeidman 1 Reputation point
commented 2024-05-30T09:24:36.62+00:00
Jiachen Li-MSFT 27,406 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Rename mdb table

Hello I use Access Database Engine and OleDbReader to work with mdb and accdb files, need to rename a table: ALTER TABLE <table name> RENAME TO <new table name> OleDbException, anyway using ADE? Thanks

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,417 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,612 questions
asked 2024-05-29T04:01:30.4533333+00:00
StewartBW 565 Reputation points
commented 2024-05-29T23:55:20.6966667+00:00
StewartBW 565 Reputation points
3 answers

VB support in VisualStudio 2022 for ASP.NET Core Web App

Hi, There is no more Visual Basic support in Visual Studio 2022 for ASP.NET Core Web App? Is Visual Basic EOL program language now and their will be no future support for it? Thx

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2022-01-29T12:39:40.983+00:00
nickCroat 111 Reputation points
commented 2024-05-29T12:29:05.4333333+00:00
Steve Mol 0 Reputation points
3 answers One of the answers was accepted by the question author.

Simple program using a Background Worker freezes anyway

Program gets every filename from a folder, then creates a text list of unique extensions found and the frequency. In this case there are around 35000 files. I put most of the work into the Background Worker but the UI freezes anyway until it is finished.…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2024-05-28T18:23:19.2266667+00:00
Devon Nullman 20 Reputation points
answered 2024-05-29T06:05:50.3266667+00:00
Devon Nullman 20 Reputation points
2 answers One of the answers was accepted by the question author.

FileIO.TextFieldParser

Hello, Dim Blah As New FileIO.TextFieldParser(src) MyTextParser.TextFieldType / .SetDelimiters / .TrimWhiteSpace etc While Not MyTextParser.EndOfData Blah.ReadFields()... End While Before entering the While loop, how can I get how many times this…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2024-05-24T09:50:20.7233333+00:00
StewartBW 565 Reputation points
edited an answer 2024-05-29T01:26:43.1966667+00:00
Hui Liu-MSFT 44,631 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,480 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,612 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 461 Reputation points
commented 2024-05-27T21:00:43.62+00:00
KOZ6.0 5,375 Reputation points
1 answer

How to get specific image coordinates from within bitmap

hi Is there a special (Library/Class) for such an achievement? which can find and return the coordinates by giving a symbol of a specific image from within the larger image

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,455 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,612 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,676 Reputation points
commented 2024-05-27T03:36:02.4133333+00:00
Jiachen Li-MSFT 27,406 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Integer equivalent in Access

Hello I work with Access mdb with OleDbRader (Access Database Engine) in vb.net and need to set the data type to Integer (NOT Long Integer) so: Dim cmd As New OleDbCommand("ALTER TABLE Blah ALTER Column colm ???",…

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,417 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,612 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
837 questions
asked 2024-05-26T01:35:55.2433333+00:00
StewartBW 565 Reputation points
accepted 2024-05-26T21:35:04.4533333+00:00
StewartBW 565 Reputation points
3 answers

DataGridView RowCount vs Rows.Count

Hello, RowCount: Gets or sets the number of rows displayed in the DataGridView Rows.Count: Returns the number of rows What does it mean, when they can have different values? The only condition I can imagine is if a row is invisible, then RowCount does…

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,417 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,612 questions
asked 2024-05-24T14:28:36.5866667+00:00
StewartBW 565 Reputation points
commented 2024-05-24T22:47:53.43+00:00
StewartBW 565 Reputation points
4 answers One of the answers was accepted by the question author.

.Net problem/Question

I haven't programmed in .Net, last used VB 6 several years ago. I'm trying to make a Windows Form application in VB.Net, and it won't let me use the "Add New Data Source" option to connect my database to the project. When I click "Add New…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2021-03-29T20:12:43.77+00:00
Randall Donaldson 21 Reputation points
commented 2024-05-23T04:14:28.9366667+00:00
Brian Carey 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Joint elements from within the array with specified Step and the array result LINQ

hi Dim ByStep as integer=3 Dim MyArray as Integer()={2,5,4,0,0,4,24,6,5,2,5} need Result As String()={"254","004","2465","25"}

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 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,612 questions
asked 2024-05-22T16:00:56.13+00:00
Mansour_Dalir 1,676 Reputation points
accepted 2024-05-22T18:52:06.3566667+00:00
Mansour_Dalir 1,676 Reputation points
1 answer

Connect VB6 IDE to TFS

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2020-12-23T17:26:41.117+00:00
udi kiany 1 Reputation point
commented 2024-05-22T17:06:34.1833333+00:00
André Jakobs | SALAR Software 0 Reputation points
1 answer

Visual Studio 2022 - VB.Net Desktop application error message hindering functionality

My desktop application developed with Visual Studio 2022 - VB.Net codes, generated an error message that is hindering the functionality of the application. Please see the message below: Severity Code Description Project File Line Suppression…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2024-05-16T21:25:31.1233333+00:00
Simon 286 Reputation points
commented 2024-05-22T09:10:32.7733333+00:00
Jiachen Li-MSFT 27,406 Reputation points Microsoft Vendor
2 answers

ToUpper and ToLower first char and first word

Hello, Going to convert the first letter of each word to upper and lower case, to upper is simple, but to lower? System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(---) And to convert the first word of string to upper and lower case, no…

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,417 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,612 questions
asked 2024-05-16T13:29:08.5166667+00:00
StewartBW 565 Reputation points
commented 2024-05-22T09:09:54.16+00:00
Jiachen Li-MSFT 27,406 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WebClient Timeout

Hello, I used many WebClient : OpenRead, UploadValues, DownloadString, DownloadStringAsync, DownloadFileAsync in my app. Need to set a timeout for each one and found this code, added the Dispose sub myself, needed to check if it's fine to use it? A class…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2024-05-19T14:43:38.9+00:00
StewartBW 565 Reputation points
accepted 2024-05-21T10:15:31.1266667+00:00
StewartBW 565 Reputation points
2 answers One of the answers was accepted by the question author.

Structure member name conflict rules

Hello When using Structures: Public Structure Blah Public Name As String Public Home As String End Structure I have 2 strings: Name and Home, does it matter for the variable names inside the Structure to be unique? ie if I have another string…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2024-05-20T15:04:43.32+00:00
StewartBW 565 Reputation points
accepted 2024-05-21T10:13:55.0733333+00:00
StewartBW 565 Reputation points