vb.net

How to compile a console application VB.NET on Linux?

There is a simple console application code on VB.NET. It uses collections, regular expressions, search and read files from th ... o end :novbc color c echo No one VB.NET compiler was found color exit 2 :end How do I compile and run a program on Linux?

Is there an analog VB.Net the Strings.Format method in C#?

There is an old code in VB.Net, which is ported to C#. In the process, there was a problem with porting Strings. Format. The ... ring(); // Console.WriteLine(DateTime.Parse(dt).ToString(format, new VBDateTimeFormatProvider())); // выводит: "S12orA DaAe"

How to create a critical process in vb.NET?

If anyone does not know, a critical process is a process at the end of which a BSoD occurs. So, I am interested in how to create such a process?

How can I get information about an interface property in EF from the corresponding implemented class property?

The question is formulated for VB.NET however, the C# answer will also be relevant. This is supposed to be a navigation prope ... d, and Childs. However, the implemented properties themselves have proper names, such as Author or AuthorID. Help with ideas?

How to simulate the sound of guitar strings? [closed]

Closed. This question is off-topic. Answers to it are not accepted at the moment. ... where you can simply take samples of notes for all guitar octaves (a file with the sound of the note)? Thank you in advance.

Convert DOCX to PDF

Hello. I need to programmatically get a PDF from DOCX (MS Office can not be installed on a PC). I tried the Spire library.Off ... but it's a trial (writes it on every page). Please tell me if there are free libraries, or a link to the full version (paid).

What is a NullReferenceException, and how do I fix the code?

When I execute some code, an exception is thrown NullReferenceException with the following message: Object reference not ... ject. Or The object instance does not have a reference to the object. What does this mean, and how do I fix the code?

Methods for comparing reference classes в.Net

Previously, I thought that you can and should redefine Equals for your classes. But I came across other information that rede ... ountries in my world with the same name. It just so happens that we created two instances, but they are identical in nature..

Dynamic controls (TextBox)

I have created by clicking on the button controls, two textboxes Question: how do I get the value of the desired control? If ... er1.CheckedChanged, AddressOf enter_checked Sub enter_checked(ByVal sender As Object, ByVal e As EventArgs) 'пусто' End Sub

Finding a word in the text by the mask [closed]

Closed. This question should be clarified or supplemented with details. Answers to it are not accepted at the moment. ... veral thousand words, and in it you need to find all the words by mask. For example: "сл*в*"... = "слово" Like this do it?

Transliteration to VB.NET

Hello . I need to check the file name for the presence of Cyrillic characters , if such characters are there , then replace them with Latin ones. The question is - is there anything similar in NET libraries, or do it manually ?

Visual Basic - Conversion from percentages to fractions (Expression)

I need to write code (an expression like A / B * 100 & " % " - but only the other way around) to convert from percentages ... tBox1.Text) Dim prosto prosto = 100 / ((X) / (10)) TextBox2.Text = prosto End Sub Can you explain what the problem is?

What are the main differences between VB.NET, VB6 and VBA?

What are the main differences between VB.NET, VB6 and VBA?

Maximize borderless screen without hiding Windows taskbar

When I set the window to FormBorderStyle = None and maximize it, it is full screen, hiding the taskbar. I would like to know how to make it maximized, but without hiding the taskbar.

Direct printing on the door

I need a code VB.Net to print directly to the port of a lug printer without using any windows driver. I add that my printer is connected by USB but in the future I needed it to print on any type of port: COM, parallel, USB...

Swap "Web Browser" vb.net

I want to change the default visual studio browser, I would like to use another one to run some scripts that are having problems in internet explorer. I would like suggestions and examples of how to do this. I appreciate it now.

argument out of range exception was unhandled

I'm a beginner in VB.NET and I'm creating a simple simulation game, has hunger, thirst etc, in the hunger progressbar the max ... As Object, e As EventArgs) Handles Timer1.Tick ProgressBar2.Value = Fome Module Module1 Public Fome As Integer = 100

Custom controls in vb.net

How to create custom controls in VB .NET? I would like to create them and modify values of their properties. My purpose is to import them into other projects.

How to include a column that demonstrates image dynamically in a GridView

I am generating a report and exporting to Excel, but like most reports the amount of columns is dynamic and I am mounting the ... rcaAux As New DataView(dtcloned) grid.DataSource = dataviewMarcaAux grid.DataBind() End If

VBA - how to split a word mailing into multiple files.pdf

Personall, my case is this: I participate in the organization of some events in the area of it and free software and the prin ... generating a PDF file for each certificate. How can I split a direct mail into different files, with custom names and in PDF?