2,591 questions with VB-related tags

Sort by: Updated
1 answer

The HTTP request is unauthorized with client authentication scheme Negotiate. The authentication header received from the server was Negotiate oX…Q=

I am using a desktop application on a client pc to communicate with an IIS WCF web service running on a server, using WsHttpBinding to pass over the Windows user credentials. The application has worked well for many years, but now we are trying to have…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 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,591 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,132 questions
asked 2021-08-12T14:53:56.91+00:00
gotorg 21 Reputation points
answered 2024-03-31T09:13:40.4933333+00:00
Towhidul Islam 0 Reputation points
2 answers One of the answers was accepted by the question author.

mdb/accdb to use with Access database engine

Hey I need to create an Access database in Office Access and make the tables and fields, then deliver the blank file with the vb.net app which will use Access database engine 2010 and OleDbRerader to work with the database. Just need to decide between…

Access
Access
A family of Microsoft relational database management systems designed for ease of use.
312 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,591 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.
830 questions
asked 2024-03-28T13:53:33.89+00:00
StewartBW 385 Reputation points
accepted 2024-03-29T10:53:40.9166667+00:00
StewartBW 385 Reputation points
0 answers

Create folder inside channel of a Teams' team using Graph from VBA

Hello, I'm trying to create a folder on a team's channel in Teams, using the Graph API inside VBA running in an Excel file. Basically, I have an excel file with data and a button, and when the button is pushed, it would trigger the creation of a folder…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,194 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,761 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,782 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,591 questions
asked 2024-03-28T15:33:54.5866667+00:00
Inácio Rodrigues 0 Reputation points
commented 2024-03-29T02:37:54.2466667+00:00
LiweiTian-MSFT 14,940 Reputation points Microsoft Vendor
1 answer

String encryptor and decryptor

Hey I need a simple safe method to save passwords on the local user registry and found…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-03-27T20:43:46.3666667+00:00
StewartBW 385 Reputation points
edited a comment 2024-03-28T17:21:00.9+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Change late binding after setting Option Strict on

Hi Gurus, I am correcting errors after changing option strict to on. I have been able to correct everything with the exception of the following code which gets the outlook email signature file. The underline is under fso.getfile and under ts.readall I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 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,591 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,132 questions
asked 2024-03-27T20:12:04.2066667+00:00
Hugh Self Taught 81 Reputation points
accepted 2024-03-28T07:46:13.4433333+00:00
Hugh Self Taught 81 Reputation points
2 answers One of the answers was accepted by the question author.

Disposable string enc/dec class

Hey, I've collected a code snippet to encrypt and decrypt a string and found some code to make it a disposable class but not sure if did it properly. First that _Key and _IV are constant private, possible to remove the Key and IV properties? And under…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-03-25T00:04:21.2+00:00
StewartBW 385 Reputation points
answered 2024-03-27T20:51:46.06+00:00
Michael Taylor 48,976 Reputation points
1 answer One of the answers was accepted by the question author.

Vb.net Windows Forms and placement of buttons at Resize event

Hi, I have a form where I have selected DPI under auto-scale property. However, when the screen resolution changes, the buttons (Button 1, 2, and 3) are dislocated. Is it possible to place the buttons on approximately 75 percent of the entire form…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-03-26T13:56:11.1466667+00:00
~OSD~ 2,131 Reputation points
accepted 2024-03-27T08:31:32.7066667+00:00
~OSD~ 2,131 Reputation points
1 answer One of the answers was accepted by the question author.

Disposing Streams

Hey I have 2 different usages of Streams, is the first mode neccessary for proper disposing or I can just use the second mode? Second one: webClient.OpenRead(BaseURL) is fine? First: Using data As Stream = webClient.OpenRead(BaseURL) Using reader As 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,591 questions
asked 2024-03-26T15:43:13.7066667+00:00
StewartBW 385 Reputation points
accepted 2024-03-27T00:54:30.58+00:00
StewartBW 385 Reputation points
0 answers

Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid?

Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid? Currently, when calling the enterpriceservice.component component, there are conflicts between System._comobject and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,298 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,342 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,591 questions
asked 2024-03-24T14:02:00.0166667+00:00
易安 蔡 0 Reputation points
commented 2024-03-26T07:46:02.14+00:00
Lan Huang-MSFT 26,036 Reputation points Microsoft Vendor
1 answer

Native vb.Net to C# conversion

Hey Im in the transition of converting my projects from vb.net to C#. Currently im using a 3rd party conversion and its taking a long time. Today while running a test on the vb.net project, i noticed my vb.net class had been converted during runtime to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 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,342 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,591 questions
asked 2024-03-25T22:07:15.45+00:00
NachitoMax 411 Reputation points
edited the question 2024-03-26T01:24:24.47+00:00
Jiale Xue - MSFT 34,501 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How For Each works?

Hey Will For Each dispose the returned x509Certificate2 objects itself? Cheers For Each certItem as x509Certificate2 in X509Certificate2Collection 'Now do I need to use certItem.Dispose() for each cert when retrieving them in For Each? 'In some…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-03-25T00:16:13.2266667+00:00
StewartBW 385 Reputation points
accepted 2024-03-26T01:01:22.3666667+00:00
StewartBW 385 Reputation points
1 answer One of the answers was accepted by the question author.

x509 properties

Hey When adding certs from one X509CertCollection to another with .AddRange, if I dispose the source collection, items inside the target destination will be disposed too No deep copy? How to dispose the source coll items without hurting the destination…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-03-25T00:13:07.3333333+00:00
StewartBW 385 Reputation points
accepted 2024-03-26T01:01:16.1+00:00
StewartBW 385 Reputation points
1 answer

Windows Forms-Designer not working after switch from VS2015 to VS2022

Hey, we have recently started do switch from VS2015 to VS2022 and most Windows Forms projects now have the following Exception in the Forms-Designer: “Der Designer konnte für diese Datei nicht angezeigt werden, da keine der enthaltenen Klassen…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2022-05-30T12:11:10.73+00:00
Morgil 1 Reputation point
commented 2024-03-22T07:01:06.07+00:00
Jiachen Li-MSFT 26,916 Reputation points Microsoft Vendor
2 answers

DataGrid is Not Updating Properly

I have a DataGrid that should display a new item when it is added to the ItemsSource but that is not happening and I can't see the error. The XAML: <DataGrid x:Name="dgTimes" ItemsSource="{Binding…

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,685 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,591 questions
asked 2024-03-10T01:14:34.6233333+00:00
RogerSchlueter-7899 1,236 Reputation points
commented 2024-03-22T06:30:27+00:00
Hui Liu-MSFT 40,866 Reputation points Microsoft Vendor
2 answers

What is wrong in this "Insert Into" syntax?

Hi all, I am trying to enter and save values in my Database but I am getting the Error message "Syntax Error in INSERT INTO statement." I created Textboxes for entering the "values" & a Button to "Insert" values. My…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
asked 2024-03-13T13:23:11.25+00:00
VKSB 196 Reputation points
commented 2024-03-22T05:58:34.39+00:00
Jiachen Li-MSFT 26,916 Reputation points Microsoft Vendor
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,591 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,916 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,591 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,916 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,748 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,818 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,665 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,591 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,351 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.
312 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,591 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,342 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,591 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,916 Reputation points Microsoft Vendor