Microsoft Q&A

VB

2,110 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

2,110 questions with VB-related tags

Sort by: Updated
0 answers

QuickMoney customer care free helpline Number/ 9080254157//9339778365 CALL NOW 9080254157Call Now..pp

Do or do or do or do it did so

Azure SQL Database
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
6,717 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,110 questions
asked 2023-06-08T14:46:33.0033333+00:00
raxehof689@wetsage.com 0 Reputation points
commented 2023-06-08T14:46:44.6233333+00:00
raxehof689@wetsage.com 0 Reputation points
0 answers

Can't get xml

Hello all, Using this code to read magic numbers of xml: FileStream.Read(Bytes, 0, 24) If InputByte.Take(x).SequenceEqual({&Hxx, &Hxx.........}) ... However in the table below, mantioned the starting point as: 0 after…

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.
8,238 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,110 questions
asked 2023-06-08T14:23:45.0466667+00:00
Peter Volz 335 Reputation points
1 answer One of the answers was accepted by the question author.

Detect and distinguish avi and wav

Hello all According to this table, AVI and WAV part: https://en.wikipedia.org/wiki/List_of_file_signatures I have the initial 12 bytes of the file: Case InputByte.Take(12).SequenceEqual({&Hxx, &Hxx, &Hxx, &Hxx, &Hxx, &Hxx,…

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.
8,238 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,110 questions
asked 2023-06-08T03:21:51.7066667+00:00
Peter Volz 335 Reputation points
accepted 2023-06-08T10:45:45.5333333+00:00
Peter Volz 335 Reputation points
2 answers

How do I make a VB webhook listener?

To receive notifications from a service, I want to utilise Visual Basic to build a webhook listener. The service is not listed under Microsoft in Nuget.AspNet.WebHooks.Receivers.*. An SSL certificate from a recognised root authority is necessary for the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,491 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,110 questions
asked 2023-06-03T17:15:02.5466667+00:00
charli puth 0 Reputation points
answered 2023-06-08T10:23:16.7466667+00:00
charli puth 0 Reputation points
2 answers One of the answers was accepted by the question author.

Read magic numbers

Hello all I can't figure out how to make it done, to read 64 bytes of the file and check it against a list of magic numbers. The key is that each signature/magic number has different length. but I wanna read the first 64 bytes only once. Public…

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.
8,238 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,110 questions
asked 2023-06-07T11:59:39.03+00:00
Peter Volz 335 Reputation points
commented 2023-06-08T09:44:13.2533333+00:00
Jiale Xue - MSFT 4,331 Reputation points Microsoft Vendor
1 answer

How to open Folder IP addresses in the local network With VB.'\\MyServer' Open-but '\\192.168....'no Open

hi I have several computers in the network (one server and the rest are normal). With computer number 2, I go to the address of a specific Folder in computer 1 (server) written in Title Address \\server-pc\Drawing\1-PowerPlant And when I go 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,110 questions
asked 2023-06-06T15:12:07.4433333+00:00
Mansour_Dalir 221 Reputation points
edited a comment 2023-06-08T09:42:12.74+00:00
Mansour_Dalir 221 Reputation points
0 answers

QuickMoney customer care free helpline Number/ 9080254157//9339778365 CALL NOW 9080254157Call Now..

Do it do it do it do it do it do it do

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,129 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
27,168 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,110 questions
asked 2023-06-08T08:07:03.51+00:00
rahiv97334@zuile8.com 0 Reputation points
commented 2023-06-08T08:07:16.89+00:00
rahiv97334@zuile8.com 0 Reputation points
1 answer One of the answers was accepted by the question author.

Need to change this code.Linq Set To DataTable

hi need Set to dataTable with 2 column Dim MyDataTable New DataTable MyDataTable.Columns.Add("Key") MyDataTable.Columns.Add("Values") MyDataTable.Rows.Add({"a", "1"}) …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,110 questions
asked 2023-06-07T18:10:34.07+00:00
Mansour_Dalir 221 Reputation points
commented 2023-06-08T07:35:30.34+00:00
Jiachen Li-MSFT 14,216 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Setting the service name using VB.net Framework 4.5.2 from App.config

Hi, I would like to be able to define the service name of a VB.NET application I am writing to run as a service from the app.config file. The reason I want to do this is I have a common service application that I want to install multiple times on the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,182 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,110 questions
asked 2023-06-05T21:07:42.08+00:00
John Macleod 20 Reputation points
accepted 2023-06-07T14:31:36.56+00:00
John Macleod 20 Reputation points
1 answer

This is a custom form for setting properties. At design time

hi Please solve this problem, thank you '_________(1)________________is Form Dialog For Change Properties Public Class frmSetProperties Public dgv As uDgv Dim bitExitTextChenge As Boolean Public Sub _Load() …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,110 questions
asked 2023-06-04T18:49:17.91+00:00
Mansour_Dalir 221 Reputation points
commented 2023-06-07T11:15:46.6666667+00:00
Mansour_Dalir 221 Reputation points
1 answer

How do you get a custom control to stay in the toolbox?

I am having all sorts of trouble with a custom control. All I wanted was a DGV that treated the Enter key as if it were the Tab key. I followed an article on how to do it and ended up with the CustomDGV in the Solution Explorer and it appeared in 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,110 questions
asked 2023-06-06T11:11:48.1333333+00:00
Cynolycus 170 Reputation points
commented 2023-06-07T08:42:54.4733333+00:00
Cynolycus 170 Reputation points
1 answer One of the answers was accepted by the question author.

How to use CopyToDataTable() in Linq. I want to get One column 'B'

hi All the kind I want to get a column 'B' with Distinct() and set it to another table by (.CopyToDataTable()). Dim MyDataTable As New DataTable Dim Resault As New DataTable MyDataTable.Columns.Add("A") …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,110 questions
asked 2023-06-06T19:51:39.6866667+00:00
Mansour_Dalir 221 Reputation points
edited a comment 2023-06-07T02:34:00.0466667+00:00
Mansour_Dalir 221 Reputation points
3 answers One of the answers was accepted by the question author.

GZip detection

Hello all I need to detect GZip file format by its content, not just file extension, using this code recently given: Dim file_is_CFBF As Boolean Using fs = File.OpenRead("path to my file...") Dim bytes(8 - 1) As Byte Dim expected_bytes…

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.
8,238 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,110 questions
asked 2023-06-06T14:39:50.9666667+00:00
Peter Volz 335 Reputation points
accepted 2023-06-07T02:05:57.63+00:00
Peter Volz 335 Reputation points
4 answers One of the answers was accepted by the question author.

Verify/Validate GZip

Hello all. There's a nasty bug in the forums disallowing me from replying to my own thread: https://learn.microsoft.com/en-us/answers/questions/1299741/gzip-detection?page=1&orderby=Helpful&comment=answer-1265950 However, to perform a thorough…

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.
8,238 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,110 questions
asked 2023-06-06T15:25:09.97+00:00
Peter Volz 335 Reputation points
commented 2023-06-07T02:05:22.6266667+00:00
Peter Volz 335 Reputation points
8 answers One of the answers was accepted by the question author.

How to convert datetime to date string string only

How do I exclude the time element from the code below. Beg_Date.ToString("MM/dd/yyyy") Returns #05/01/2023 12:00:00 AM# I want only the date...no time.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,110 questions
asked 2023-06-06T16:19:44.89+00:00
Jeff Stiegler 426 Reputation points
accepted 2023-06-06T20:37:02.4433333+00:00
Jeff Stiegler 426 Reputation points
1 answer One of the answers was accepted by the question author.

Detect file format, by content, not extension

Hello expert devs I need to detect the file format of JUST one file type: oleData.mso https://en.wikipedia.org/wiki/Compound_File_Binary_Format Using FindMimeFromData will return Octet-Stream, no help How to detect it? There's OpenMcdf which I use 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.
8,238 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,110 questions
asked 2023-05-28T02:55:08.5366667+00:00
Peter Volz 335 Reputation points
commented 2023-06-06T14:23:43.5+00:00
Layla Taher Salah Esail 6 Reputation points
1 answer One of the answers was accepted by the question author.

Stream overload for file based function

Hello all, I have this function to extract image001.emf from image001.emz which is Office internal file. How to change the function to accept Streams for input and output? Can anyone help? Public Function GZipExtract(InputEMZ As String, OutputEMF As…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,110 questions
asked 2023-06-05T17:17:01.2633333+00:00
Peter Volz 335 Reputation points
edited a comment 2023-06-06T06:48:46.08+00:00
Peter Volz 335 Reputation points
1 answer One of the answers was accepted by the question author.

How to get One column 'B' Distinct With Linq Where (Column B IsNot Nothing Or Column B<>"") ?

hi Dim MyDataTable As New DataTable MyDataTable.Columns.Add("A") MyDataTable.Columns.Add("B") MyDataTable.Rows.Add({"a", Nothing}) MyDataTable.Rows.Add({"b", Nothing}) …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,110 questions
asked 2023-06-06T04:47:44.0333333+00:00
Mansour_Dalir 221 Reputation points
commented 2023-06-06T05:19:31.5366667+00:00
Mansour_Dalir 221 Reputation points
1 answer One of the answers was accepted by the question author.

How to get One column 'B' Distinct With Linq?

hi I want an array of string type in Column 'B' thank Dim MyDataTable New DataTable MyDataTable.Columns.Add("A") MyDataTable.Columns.Add("B") MyDataTable.Rows.Add({"a", "w1"}) …

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,110 questions
asked 2023-06-05T17:35:36.1233333+00:00
Mansour_Dalir 221 Reputation points
edited a comment 2023-06-06T03:34:04.93+00:00
Mansour_Dalir 221 Reputation points
1 answer

bold text arabic only in Word using vb.net

bold text Arabic only in Word using vb.net objDoc.Tables(1).Cell(7, 1).Select() objWordApp.Selection.Font.Bold = 1 objDoc.Tables(1).Range.LanguageID = WdLanguageID.wdArabic objWordApp.Selection.TypeText("تركي") …

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
258 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,110 questions
asked 2023-05-22T08:13:40.3866667+00:00
Turki alhalwani 0 Reputation points
answered 2023-06-05T17:36:23.42+00:00
Osjaetor 320 Reputation points