2,578 questions with VB-related tags

Sort by: Updated
1 answer

Visual Basic loop

Right now my current code is Do             ProgressBar1.Value -= 5         Loop While ProgressBar1.Value < 100 But its too fast so it instantly makes the value negative, is there a way i can slow down this loop without a timer? This is for Visual…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
asked 2024-03-01T20:05:46.7333333+00:00
Bolisetty, Aarush 0 Reputation points
commented 2024-03-22T05:57:50.57+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
1 answer

Datagridview Not Showing derived class properties?

Hallo, I have a following code and i am trying to get all the properties from the derived class to showup on the datagridview through bindingsource. Any idea why it is not showing up? thanks Imports System.ComponentModel Public Class Form1 Public BS…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
asked 2024-03-14T18:46:16.91+00:00
Hobbyist_programmer 621 Reputation points
commented 2024-03-22T05:49:12.69+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

file attribute value

hello friends i have some files in my pc that have file attribute value (18, 34) ,but file attribute table here does not contain above values. my quesion :why are above values does not present in file attribute table ,by the way the value (18) for…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,657 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,770 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,622 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,578 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,217 questions
asked 2024-03-21T14:29:50.3633333+00:00
ibraheam salman 40 Reputation points
accepted 2024-03-21T21:45:45.5233333+00:00
ibraheam salman 40 Reputation points
1 answer

Problem writing changes back to access database from gridcontrol

Hi I am populating a grid with data from an access database file (.accdb), and it works fine for showing my data. But I can't seem to get it to save changes from the grid back to the database file, my adapter.update(table) command completes without…

Access
Access
A family of Microsoft relational database management systems designed for ease of use.
308 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,578 questions
asked 2024-03-19T12:41:27.8566667+00:00
Darren Rose 281 Reputation points
answered 2024-03-21T10:36:42.63+00:00
Darren Rose 281 Reputation points
1 answer

Save X509Certificate2 as P7B / PKCS#7

Hello I need to select a X509Certificate2 from a store and save it as PKCS#7 with P7B extension, the same format as we save with certmgr as p7b. I'm using .NET Framework 4.8 WinForms, anyone knows a working solution for that? Thanks in advance :)

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,276 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,578 questions
asked 2024-03-16T20:53:16.83+00:00
Peter Volz 1,295 Reputation points
commented 2024-03-20T08:28:11.3866667+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
0 answers

using Vb.net 2010 error "could not open macro storage" creating a word document

I am using visual studio 2010 to create a word document with downloaded code, I have office97 Microsoft Word on my computer. 'Start Word and open the document template. oWord = CreateObject("Word.Application") oWord.Visible = True …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
asked 2024-03-16T04:34:19.99+00:00
x38class-9313 141 Reputation points
2 answers One of the answers was accepted by the question author.

How do I add an existing form from another VB.NET project to my new VB.NET project? I have several forms that I want to reuse.

How do I add an existing form from another VB.NET project to my new VB.NET project? I have several forms that I want to reuse. Do I just Select the Add Existing Item and select the desired Form.vb file in my existing VB.NET project?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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,578 questions
asked 2022-04-20T09:25:21.427+00:00
Marc Menzel 61 Reputation points
commented 2024-03-15T17:44:10.28+00:00
Hal Totten 5 Reputation points
3 answers One of the answers was accepted by the question author.

Detect MZ executable files

Hello, I found a code online which works to detect many MZ executable files, but not all, anyone knows where can I extend it to cover detection of all executable files? ie Win16 executable files etc... I'm on the .Net Framework 4.0 Try Dim…

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,276 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,578 questions
asked 2024-03-13T08:28:51.0033333+00:00
Peter Volz 1,295 Reputation points
accepted 2024-03-14T22:13:14.9133333+00:00
Peter Volz 1,295 Reputation points
1 answer One of the answers was accepted by the question author.

PEReader in .Net Framework?

Hello experts, Going to determine if a file is an executable of any kind, exe dll ocx etc... Checking the initial 2 bytes to be MZ or ZM is not accurate at all, so here's a good way, the second sample,…

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,276 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,578 questions
asked 2024-03-12T20:25:20.2566667+00:00
Peter Volz 1,295 Reputation points
accepted 2024-03-13T11:51:56.2533333+00:00
Peter Volz 1,295 Reputation points
1 answer One of the answers was accepted by the question author.

Read magic number

Hello, I have problem understanding one particular file type here: https://en.wikipedia.org/wiki/List_of_file_signatures ts MPEG Transport Stream (MPEG-2 Part 1) Magic number hex signature is only 1 byte: &H47 / G But there are notes I cannot figure…

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,276 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,578 questions
asked 2024-03-10T19:14:44.72+00:00
Peter Volz 1,295 Reputation points
accepted 2024-03-13T01:43:37.9633333+00:00
Peter Volz 1,295 Reputation points
0 answers

DataError when using an AutoComplete ComboBox

Hi Windows Forms Application using .NET Framework 4.7.2 Strange one. I an unsure if this is something that may only be on my system or not. Any help would be appreciated. A DataGridView bound to a DataTable (dt) with 4 columns, a ComboBox bound to 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,578 questions
asked 2024-03-08T01:09:08.6066667+00:00
Anonymous
commented 2024-03-12T14:38:59.8966667+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

VB.net Object creation can be simplified

This line of VB.net code produces a "IDE0140 object creation can be simplified" warning. How do I resolve this? Dim SQLCommand1 As SqlCommand = New SqlCommand

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
asked 2024-03-11T16:30:28.2733333+00:00
SuperCoder 136 Reputation points
accepted 2024-03-12T14:35:03.6133333+00:00
SuperCoder 136 Reputation points
1 answer One of the answers was accepted by the question author.

OLE1.0 Format

Hello, As mentioned here: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-oleds/fdc5e702-d09e-4344-a77f-eb079d41f23f There are 2 versions of Microsoft OLE Compound File: OLE1.0 and OLE2.0 Formats I know the magic number of the OLE2.0…

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,276 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,578 questions
asked 2024-03-08T16:02:06.8133333+00:00
Peter Volz 1,295 Reputation points
accepted 2024-03-11T08:20:26.9966667+00:00
Peter Volz 1,295 Reputation points
4 answers

How do I sign a Visual Studio application with an EV Certificiate

I've been trying to distribute MANASYS Jazz (https://jazzsoftware.co.nz/) with ClickOnce, and I recently purchased an OV Code Signing Certificate to identify Jazz Software Ltd. However I found that a prospect was still unable to download my software,…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
asked 2022-04-22T05:01:45.77+00:00
Robert Barnes 71 Reputation points
answered 2024-03-10T23:33:42.0666667+00:00
Kevin Angus 0 Reputation points
2 answers One of the answers was accepted by the question author.

VB Forms application and PictureBox location

Hi, I have a visual basic Windows Forms application. Form1 has one PictureBox, PictureBox1. Problem Description: When this application is used on different screen resolutions the picture box /picture shows the wrong position. What I have done so far…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,622 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,578 questions
asked 2024-03-08T14:46:41.5866667+00:00
~OSD~ 2,126 Reputation points
accepted 2024-03-09T14:57:07.0433333+00:00
~OSD~ 2,126 Reputation points
1 answer One of the answers was accepted by the question author.

system.net.webclient post error 400

I have this HTTP post that with curl under w10 work fine curl https://auth.sinch.com/oauth2/token -d grant_type=client_credentials -u username:password This require a basic authentication and return a token I need to implement this under vb.net…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 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,578 questions
asked 2024-03-06T13:42:33.91+00:00
alessandro belli 131 Reputation points
commented 2024-03-08T07:15:55.0566667+00:00
alessandro belli 131 Reputation points
2 answers One of the answers was accepted by the question author.

Hide Form's Maximize Button

Hello experts, In a Windows Forms App (.NET Framework 4.5 or 4.8) how to hide the maximize button of a FixedSingle form? I Set MaximizeBox to False, while Minimize is enabled, and need to hide the middle Max button. Please advise and help if there's a…

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,276 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,578 questions
asked 2024-03-05T21:09:35.9633333+00:00
Peter Volz 1,295 Reputation points
accepted 2024-03-07T22:01:51.1866667+00:00
Peter Volz 1,295 Reputation points
1 answer One of the answers was accepted by the question author.

Implicit conversion

Hello, I've converted a C# project to VB (using a tool - I don't know C#) and my converted project has 4 warnings. 2 are warning BC42016: Implicit conversion from Long to Integer for the below 2 lines: Source C#: byte[] buffer = 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,578 questions
asked 2024-03-07T05:58:17.8733333+00:00
Peter Volz 1,295 Reputation points
accepted 2024-03-07T20:09:15.47+00:00
Peter Volz 1,295 Reputation points
1 answer

Currently using Visual Studio 2022 for my vb.net windows form app and the designer fails to load at "Loading Designer...You can continue working while the designer is loading in the background"

I'm currently using Visual Studio Community 2022 17.7.1 and .NET 6.0

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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,578 questions
asked 2023-08-19T14:21:42.4366667+00:00
Jessie Cudiamat 0 Reputation points
commented 2024-03-07T04:07:53.93+00:00
Bir Yazilim 5 Reputation points
1 answer

How to retrieve values from a Database for computation?

Hi all, I am writing an Astrology program, where I need to use Latitude & Longitude of places for the calculation to create a Horoscope. I have made a Database of Latitude & Longitude of places. I couldn't find out how to get the values of…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
asked 2024-03-05T14:38:26.1866667+00:00
VKSB 176 Reputation points
commented 2024-03-06T15:04:53.87+00:00
Michael Taylor 48,576 Reputation points