Microsoft Q&A

VB

1,825 questions

An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.

Browse all VB tags

1,825 questions with VB-related tags

Sort by: Updated
0 answers

Trying to Rescale images remotely in word from excel macro

For my company one of the processes is copying graphs from an Excel spreadsheet and pasting them into a word document. However, these graphs are pasted slightly too big and need to be descaled to 80% their original size. I'm trying to write a macro in…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
20 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
54 questions
asked 2023-01-27T16:24:48.3666667+00:00
Archie Smith 0 Reputation points
1 answer

Run .vbs file

Hi! I don't know about scripting in vbs. Here in the environment we have a 2008 Standard R2 server with scheduling that executes a .bat file with: cscript file.vbs Everything works normally. But I need to migrate this server to a 2016 and when testing…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
442 questions
asked 2023-01-26T21:44:51.9+00:00
Quintas 0 Reputation points
edited the question 2023-01-27T16:13:10.1966667+00:00
KarishmaTiwari-MSFT 10,701 Reputation points Microsoft Employee
2 answers

RAID Volumes and RAID Levels (if any) with PS or VB.net

Hi, Is it possible to know if the disk has RAID configuration or not. If RAID is configured, the information of the RAID volumes using VB.Net or PowerShell? This is what I have checked so far, but not desired results: …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,388 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
57 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,141 questions
Windows Hardware Performance
Windows Hardware Performance
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.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,239 questions
asked 2023-01-26T23:03:06.4866667+00:00
~OSD~ 1,716 Reputation points
answered 2023-01-27T12:48:22.4766667+00:00
~OSD~ 1,716 Reputation points
0 answers

Outlook- Email to Task in a Specified Task List within To Do

Hello Thank you for taking the time to read this. I followed this article here [https://www.slipstick.com/outlook/rules/create-task-email-rule/ Brilliant and works well - I reached out to the author but I was unsuccessful. Essentially the rule in Outlook…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
103 questions
asked 2023-01-27T09:39:59.3866667+00:00
Brian Stone 0 Reputation points
2 answers

VB.NET Winform HttpWebRequest / XmlDocument Error: The remote server returned an error: (403) Forbidden.

So the below code works on my home network but at work .NET application gets a 403 Forbidden. I believe ZScaler firewall is blocking traffic, but I can view XML via browser without issue just not in a .NET application. I have read that it's trying to…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,388 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
596 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,314 questions
asked 2023-01-25T16:52:26.0466667+00:00
jim brown 251 Reputation points
commented 2023-01-26T21:17:08.87+00:00
jim brown 251 Reputation points
2 answers

How to read a file from external server

Hi I want to read csv file from the following URL (display only rider name) [http://www.votrecourse.com/medias/xml/?C=M;O=D/] file name = timetrial.csv pls help me in this.

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.
6,910 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
asked 2023-01-26T06:41:49.8066667+00:00
Ramesh Sunderasan 0 Reputation points
edited the question 2023-01-26T18:45:42.1533333+00:00
Reza Aghaei 2,601 Reputation points Microsoft MVP
2 answers

A library unregistered error occurred when calling the vbs sound library

Error 8002801D Library not registered Triggered when calling the vbs sound library

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
5,896 questions
asked 2023-01-25T12:39:22.28+00:00
Cx330 0 Reputation points
answered 2023-01-26T16:18:57.3233333+00:00
Limitless Technology 8,866 Reputation points
2 answers

Can I use Visual Basic.net in V.S. Community 2022 tu build asp.net web applications

Hi all, I install V.S. Community 2022 on my desktop PC but I do not found the possibility to build an ASP.NET web application with VB.NET (only C#) Is it possible add this language to the installation? Thank you for the answer...

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,388 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,173 questions
asked 2023-01-11T16:44:03.6466667+00:00
Gino Palmia 0 Reputation points
commented 2023-01-26T13:50:06.76+00:00
Gino Palmia 0 Reputation points
4 answers One of the answers was accepted by the question author.

Exporting Text File using VB. net

Good day, I would like to ask on how to arrange the exported text file. Below, I have the code using vb. net and the result of file exported. Dim writer As New StreamWriter("D:\PDAexport.txt") For i As Integer = 0 To…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,388 questions
asked 2023-01-10T01:35:32.317+00:00
Ritchie Liz 21 Reputation points
accepted 2023-01-26T04:40:33.63+00:00
Ritchie Liz 21 Reputation points
1 answer

How to read xml file from URL using vb.net

Hi I want to read xml file from following url and bind only <riders> name with listbox http://www.votrecourse.com/medias/xml/Sharjah_Tour_2023_2023_Partant.xml Please help me

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
asked 2023-01-25T18:10:12.75+00:00
Ramesh Sunderasan 0 Reputation points
answered 2023-01-26T03:20:53.3733333+00:00
Jiachen Li-MSFT 10,756 Reputation points Microsoft Employee
1 answer

How can I automatically enter total e-mail word count into text fo e-mail?

I would like to have the total word count of an e-mail be automatically listed at the top (or better yet subject) of an e-mail. Trying to let readers of e-mail know how long in words the e-mail is. Thanks

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
108 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
103 questions
asked 2023-01-23T14:00:10.0133333+00:00
Motew, Steve 0 Reputation points
commented 2023-01-26T01:39:58.6466667+00:00
Yuki Sun-MSFT 24,311 Reputation points
1 answer

how to read csv file from url

Hi I want to read csv file from the following URL and bind with DataGrid http://www.votrecourse.com/medias/xml/?C=M;O=D/timetrial.csv" pls help me in this

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
596 questions
asked 2023-01-25T16:47:47.4733333+00:00
Ramesh Sunderasan 0 Reputation points
commented 2023-01-26T00:04:15.5966667+00:00
Ramesh Sunderasan 0 Reputation points
3 answers One of the answers was accepted by the question author.

How do I modify this jQuery to allow for more controls?

Greetings again mates. I have been trying quite unsuccessfully for the last three days to try to figure out how to dynamically add rows based on selecting DropDownList values. There are quite a good number of examples on how to do this by clicking a…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,173 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
482 questions
asked 2023-01-03T19:53:00.06+00:00
Simflex 81 Reputation points
edited the question 2023-01-25T22:15:50.1566667+00:00
Simflex 81 Reputation points
1 answer

I am trying to cast a type into an interface and have some problems with it

Hi guys! I have the following code snippet that I'm currently trying to reason about. It looks a bit constructed but contains all important assets of the actual code, so please bear with me here :) Interface ISpark Function Swing() As Double End…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
asked 2023-01-24T18:15:52.9266667+00:00
Daniel Bischof 0 Reputation points
commented 2023-01-25T15:11:16.4433333+00:00
Michael Taylor 37,366 Reputation points
2 answers

Can NativeWindow be used for a window whose handle isn't exposed by a Form or Control in the current WinForms app?

WHAT I HAVE: Visual Basic 2019, WinForms, .NET Framework 4 and up MY ISSUE: I wonder if a NativeWindow instance can be assigned the handle for a window that isn't exposed by one of the current WinForms app's forms or controls so that it can catch such a…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,314 questions
asked 2023-01-19T07:07:52.73+00:00
Robert Gustafson 601 Reputation points
commented 2023-01-25T10:31:09.23+00:00
RLWA32 28,446 Reputation points
0 answers

i tring to read an excel cells

i am trying to read excel cell but always appear this: System.MissingMemberException: 'Public member 'Value' on type 'Range' not found.' how can i fix it, i tried whith option Strict off and nothing here is the program: Option Strict Off Option Infer…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
asked 2023-01-23T22:24:32.5966667+00:00
mario salatino 0 Reputation points
commented 2023-01-25T07:50:16.8866667+00:00
Viorel 82,286 Reputation points
1 answer One of the answers was accepted by the question author.

using mouse click and shift key in visual basic to select a range of items in a list box: selected index does not change

I am updating a VB6 application to visual basic 2022. The application has a list box with data entries. I want to emulate the Explorer behavior of clicking on an item, then pressing shift and clicking on another item to select the range to copy it to…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
asked 2023-01-23T23:49:05.8266667+00:00
Ben Martinez 20 Reputation points
commented 2023-01-25T02:41:10.58+00:00
Ben Martinez 20 Reputation points
4 answers

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

I am unable to get beyond this error when trying to add a Microsoft Access database (.accdb) as a data source in Visual Studio 2019. I’ve tried to add this data source to a Visual Basic and C# program with the same results. I’ve followed guidance I’ve…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 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.
726 questions
asked 2021-06-14T14:09:56.17+00:00
Bob Wentzel 6 Reputation points
answered 2023-01-24T23:39:29.3+00:00
Albert Kallal 3,446 Reputation points
1 answer

Convert uris to links in html page

Hi, I have a very simple/basic html which has some uris inside, like this: <p>some text http://www.msn.com the rest</p> Need to convert the uris to links like this: http://www.msn.com/abc to: <a…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 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.
6,910 questions
asked 2023-01-17T16:57:52.6766667+00:00
S-Soft 361 Reputation points
commented 2023-01-24T08:34:39.1133333+00:00
Jack J Jun 19,031 Reputation points Microsoft Employee
1 answer

comment envoyer un mail avec le code VB.NET 2015 via le serveur smtp.gmail.com

en fait voici mon code d'envoie de mail quand je l'exécute je reçois le message " le serveur STPM requiert une connexion sécurisé ou le client n'était pas authentifié. la réponse du serveur était : 5.7.0 Authentification Required. Learn more…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,825 questions
asked 2023-01-20T14:57:55.15+00:00
Donald 1331 0 Reputation points
commented 2023-01-24T08:16:22.8666667+00:00
Jiachen Li-MSFT 10,756 Reputation points Microsoft Employee