2,606 questions with VB-related tags

Sort by: Updated
0 answers

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,389 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,606 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.
834 questions
asked 2024-05-26T01:35:55.2433333+00:00
StewartBW 525 Reputation points
edited the question 2024-05-26T01:36:18.5533333+00:00
StewartBW 525 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,606 questions
asked 2024-05-24T09:50:20.7233333+00:00
StewartBW 525 Reputation points
commented 2024-05-24T22:48:37.7666667+00:00
StewartBW 525 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,389 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,606 questions
asked 2024-05-24T14:28:36.5866667+00:00
StewartBW 525 Reputation points
commented 2024-05-24T22:47:53.43+00:00
StewartBW 525 Reputation points
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,389 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,606 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.
834 questions
asked 2024-05-24T08:22:33.26+00:00
StewartBW 525 Reputation points
answered 2024-05-24T21:13:32.9666667+00:00
Karen Payne MVP 35,201 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,857 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,448 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,606 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,676 Reputation points
commented 2024-05-24T09:46:18.41+00:00
Mansour_Dalir 1,676 Reputation points
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,389 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,606 questions
asked 2024-05-24T00:46:41.91+00:00
StewartBW 525 Reputation points
answered 2024-05-24T02:17:25.3433333+00:00
Jiachen Li-MSFT 27,241 Reputation points Microsoft Vendor
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,606 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,857 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,606 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,606 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,606 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,241 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,389 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,606 questions
asked 2024-05-16T13:29:08.5166667+00:00
StewartBW 525 Reputation points
commented 2024-05-22T09:09:54.16+00:00
Jiachen Li-MSFT 27,241 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,606 questions
asked 2024-05-19T14:43:38.9+00:00
StewartBW 525 Reputation points
accepted 2024-05-21T10:15:31.1266667+00:00
StewartBW 525 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,606 questions
asked 2024-05-20T15:04:43.32+00:00
StewartBW 525 Reputation points
accepted 2024-05-21T10:13:55.0733333+00:00
StewartBW 525 Reputation points
1 answer One of the answers was accepted by the question author.

Rename mdb column

Hello I use Access Database Engine and OleDbReader to work with mdb and accdb files, need to rename a column: "ALTER TABLE xc RENAME Column old new LONG" Searched and found ADE might not support it, what if I add a new column and drop the old…

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,389 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,606 questions
asked 2024-05-17T23:55:41.8966667+00:00
StewartBW 525 Reputation points
accepted 2024-05-20T14:59:02.35+00:00
StewartBW 525 Reputation points
2 answers

Create accdb or mdb from code

Hello I can create a new xls or xlsx Excel file with this: "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\x.xls;Extended Properties=""Excel 8.0""" Using ExcelConnection As New OleDbConnection(AboveString) But how to…

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,389 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,606 questions
asked 2024-05-16T12:30:38.7166667+00:00
StewartBW 525 Reputation points
commented 2024-05-20T07:18:28.5166667+00:00
Jiachen Li-MSFT 27,241 Reputation points Microsoft Vendor
0 answers

How to automatically jump to another cell after hitting enter

Hello All, is there a way to automatically move from the current cell to a specified cell after pressing enter or tab? For example: After entering data in cell H2 and pressing enter, cell H3 is selected. If I press tab, then cell I2 is selected. …

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,541 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,606 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,583 questions
asked 2024-05-17T21:01:24.8+00:00
Constance Fischer 0 Reputation points
edited the question 2024-05-20T01:02:54.1966667+00:00
Emi Zhang-MSFT 22,551 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

DirectoryInfo GetDirectories Reverse

Hello, Using this code and need to reverse the list returned by GetDirectories: Dim di As New DirectoryInfo(path) Dim di2 As DirectoryInfo() = di.GetDirectories How to reverse di2 list? 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,389 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,606 questions
asked 2024-05-19T15:25:17.47+00:00
StewartBW 525 Reputation points
accepted 2024-05-19T23:19:59.1733333+00:00
StewartBW 525 Reputation points
2 answers One of the answers was accepted by the question author.

Get enum string from integer

Hello I have this enum: Friend Enum Blah As Integer Zero = 0 One = 1 Two = 2 End Enum I will get an integer and need to return the related string. ie will need to convert 1 to One. Select Case InputInteger Case 0 …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,606 questions
asked 2024-05-16T01:15:44.92+00:00
StewartBW 525 Reputation points
commented 2024-05-19T23:19:15.5066667+00:00
StewartBW 525 Reputation points
1 answer One of the answers was accepted by the question author.

How to get the handle of the mouse cursor icon with API (GetCursorInfo)

hi I need a function to put in the timer and check the status of the mouse cursor every 500 milliseconds. Private Declare Function GetCursorInfo Lib "user32" (ByRef pCI As cursorInfo) As Integer Public Structure POINTAPI Dim x…

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,448 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,606 questions
asked 2024-05-18T15:37:53.0233333+00:00
Mansour_Dalir 1,676 Reputation points
edited a comment 2024-05-19T08:56:37.3733333+00:00
KOZ6.0 5,215 Reputation points
1 answer One of the answers was accepted by the question author.

How to create the Left/Right MouseDown And MouseUp click event of Global type(Anywhere from Windows with API)

hi .Require mouse events via API functions

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,448 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,606 questions
asked 2024-05-19T02:28:21.12+00:00
Mansour_Dalir 1,676 Reputation points
commented 2024-05-19T06:08:50.09+00:00
KOZ6.0 5,215 Reputation points