2,644 questions with VB-related tags

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

Using iLogger in WinForms with VB.Net

Hi Can someone please give me some guidance on implementing iLogger using VB.Net in a WinForms application? Most documentation seems to cover C# and converting the code doesn't seem to work so not sure where I am going wrong. Spent a while with Mr…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-28T17:45:31.367+00:00
Darren Rose 281 Reputation points
commented 2020-12-31T22:07:53.443+00:00
Darren Rose 281 Reputation points
3 answers

psexec syntax error within VB macro.

Hi Guys, I am trying to use psexec to start a program on a remote computer. I embedded the code : psexec -i -s -d \REMOTECOMPUTERNAME -u USER -p PASSWORD “C:\Program Files\LightBurn\LightBurn.exe” (which working well by itself) inside a 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,644 questions
asked 2020-12-31T13:16:03.487+00:00
shauli 1 Reputation point
answered 2020-12-31T15:13:16.807+00:00
shauli 1 Reputation point
2 answers One of the answers was accepted by the question author.

Why don't my webcam components work in my VB WinForms apps?

WHAT I HAVE: Visual Basic 2019, .NET 4.6.1, WinForms, Windows 10 Home laptop MY PROBLEM: I downloaded WebEye.Controls.WinForms.WebCameraControl from NuGet, and tried to run a VB.NET WinForms program using the control, only to get just a black…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,085 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,644 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
asked 2020-12-30T22:44:46.757+00:00
Robert Gustafson 606 Reputation points
accepted 2020-12-31T06:40:34.64+00:00
Robert Gustafson 606 Reputation points
1 answer

Error: mixed mode assembly is built against version v2.0.50727 of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information

I working in a solution containing a VB and a C# project. It runs well from Visual Studio (2013)development environment and as an executable in the development PC. When deployed to another PC I keep getting this error: "mixed mode assembly is built…

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,582 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,644 questions
asked 2020-12-27T16:53:42.933+00:00
RR 1 Reputation point
commented 2020-12-31T04:56:29.77+00:00
Cheong00 3,471 Reputation points
1 answer One of the answers was accepted by the question author.

Select the first line of a richtextbox when the test is there

I am having a problem selecting the first line of a richtextbox. I fill the rtb with text and all I want to do is when the text is loaded into the box I want the first line highlighted. Can someone help me? Thanks Les

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-30T20:47:01.073+00:00
Les 281 Reputation points
commented 2020-12-31T02:17:26.553+00:00
Les 281 Reputation points
1 answer

How do I incorporate web-cam functionality into a VB WinForms app?

WHAT I HAVE: Visual Basic 2019, .NET 4.6.1, WinForms MY PROBLEM: I'm trying the incorporate web-cam functionality into my VB WinForms project. I've read that the CameraCaptureUI class allows one to implement it simply. The problem is, I can't…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 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,644 questions
asked 2020-12-30T16:15:26.85+00:00
Robert Gustafson 606 Reputation points
answered 2020-12-30T16:29:21.65+00:00
Castorix31 82,846 Reputation points
0 answers

Is it possible to Identify a Process Based off of...

Is it possible or a way in vb.net to identify a very specific Process running on a Computer based off of content within a browser? I am trying to develop a game that can be played in a browser, for example chrome while having it's own platform. …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-29T21:03:44.04+00:00
Ryan Ellis 1 Reputation point
commented 2020-12-30T07:32:13.113+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
0 answers

visual basic 2010 express 64 bit

I am currently working using vb 2019 but have vb 2010 express also. I would like to know how do I change it from 32 bit to 64 bit? I cant seem to find a way to do that. Thanks Les

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-30T04:08:40.577+00:00
Les 281 Reputation points
commented 2020-12-30T06:08:32.293+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
1 answer One of the answers was accepted by the question author.

Weather Alerts Refusing to Display In List Box

Hello, I have a weather application that uses a list box and a ticker to display weather information. However, the list box refuses to display any bit of information while the ticker remains functioning. Here is my code: Private Sub…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,575 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,644 questions
asked 2020-12-28T20:20:05.693+00:00
Austin Althouse 26 Reputation points
accepted 2020-12-29T18:38:40.59+00:00
Austin Althouse 26 Reputation points
1 answer One of the answers was accepted by the question author.

Extend a Function without extension method

Hey The title is a bit curious... What I try to achieve is as follows: I have a class with a function something like this: Public Class Test Public Function GetName As String Return "Jane Doe" End Function …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-29T14:56:07.743+00:00
Harald Bacik 61 Reputation points
commented 2020-12-29T16:28:59.847+00:00
Harald Bacik 61 Reputation points
2 answers One of the answers was accepted by the question author.

Current Application Directory Name without full path VB.net

Hi, I would like to print the current directory name without showing the full path. With current directory I meant the current directory of the VB application from which it's launched. For example; if I launch the application from…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-27T21:36:30.43+00:00
~OSD~ 2,131 Reputation points
commented 2020-12-29T08:43:49.2+00:00
~OSD~ 2,131 Reputation points
2 answers One of the answers was accepted by the question author.

how to change a label caption?

I've been trying to make the caption of a label change from 0-10 when clicking in a button so each time that I click one of the buttons it adds 1 all the way to 10 and another that does the oposite (minus 1 until you reach 0) I've tried this so far but…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,685 questions
asked 2020-12-28T16:52:56.09+00:00
ALMUDENA PÉREZ DE LA VEGA 21 Reputation points
answered 2020-12-29T08:05:51.153+00:00
Emi Zhang-MSFT 23,426 Reputation points Microsoft Vendor
6 answers One of the answers was accepted by the question author.

Class with combobox options

Hallo, I am trying to make a class object which shows a options in a combobox and takes a parameters according to that object selection. Lets say I have an object or class called Box, I want to show some options in a Combobox, for example one to…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-14T18:46:06.91+00:00
Hobbyist_programmer 621 Reputation points
commented 2020-12-28T22:09:40.877+00:00
Karen Payne MVP 35,366 Reputation points
2 answers One of the answers was accepted by the question author.

Showing object property value and its default value in two textboxes with binding?

Hallo, I have a class object at present like below. I have this collection in binding list and with binding source it is bound to textbox controls. I have two text boxes , one to show the default value as read only and another textbox to enter value 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,644 questions
asked 2020-12-23T14:06:05.137+00:00
Hobbyist_programmer 621 Reputation points
accepted 2020-12-28T11:53:42.563+00:00
Hobbyist_programmer 621 Reputation points
1 answer

APIs that always throw exceptions on .NET Core and .NET 5+

Hello, The list of APIs that always throw exceptions on .NET 5+ has three functions under System.CodeDom.Compiler: CodeDomProvider.CompileAssemblyFromDom CodeDomProvider.CompileAssemblyFromFile …

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,582 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,644 questions
asked 2020-12-27T19:41:47.037+00:00
An0n 1 Reputation point
answered 2020-12-27T22:01:03.973+00:00
Karen Payne MVP 35,366 Reputation points
3 answers One of the answers was accepted by the question author.

How do you call an async function from Main on a console app?

I have a VB Winforms application that uses Await in Form1_Load and works fine. I would now like to switch this to being a console application. How do i call asynchronous subs or functions from Main?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-25T17:06:56.7+00:00
Boruch Tkatch 141 Reputation points
accepted 2020-12-27T20:51:14.24+00:00
Boruch Tkatch 141 Reputation points
1 answer

How to use picturebox in MVP C#

i have forum with picturebox and some texts so i want to insert photo to database how can i do that . i want to save image to the table by stored procedure in sql using MVP c# so i start with stored procedure : Create procedure…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,575 questions
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,582 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,644 questions
asked 2020-12-12T06:56:58.35+00:00
KHALID ALI 1 Reputation point
answered 2020-12-25T10:59:13.663+00:00
Alberto Poblacion 1,556 Reputation points
2 answers One of the answers was accepted by the question author.

Textbox Height and text Alignment for four textboxes

Hi Great People. I have 4 textboxes that need to be bigger height than the rest of the textboxes. How can I manipulate the text to be centre of these 4 textboxes. I cannot seem to change the Properties on the Textboxes I have tried using…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-24T14:37:13.713+00:00
Gary Simpson 471 Reputation points
commented 2020-12-24T17:14:44.173+00:00
Viorel 114.2K Reputation points
4 answers One of the answers was accepted by the question author.

Displaying Emoji on Console Program - VB.Net

Dear Friends, I want to display an Emoji on my console program - Not the one like " :-) " but a real one like ![49629-smiling-face.png][1] [1]: /api/attachments/49629-smiling-face.png?platform=QnA Can you please let me know how to do it? …

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,644 questions
asked 2020-12-19T17:14:30.45+00:00
VKSB 236 Reputation points
commented 2020-12-24T01:41:22.567+00:00
WayneAKing 4,921 Reputation points
2 answers One of the answers was accepted by the question author.

How to Initialize an object with an instance of the custom object

Hallo, I have a class with Customer and orders and how do i place a dummy order when i initialize customer so that the customer already has 1 order? Public Class Customer Public Sub New() ordersValue = New Orders() End Sub Private WithEvents…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2020-12-21T20:51:40.25+00:00
Hobbyist_programmer 621 Reputation points
answered 2020-12-23T07:48:01.973+00:00
Hobbyist_programmer 621 Reputation points