Questions tagged as 'vb.net'

1
answer

Concatenate words in hour format

I am using the following method to establish a custom day and time format in VB.NET. However, I want the day and time to be displayed as seen in Windows when you place the cursor over the time "Ex: July 25, 2017"): DateTime.Now.ToString("dd d...
asked by 25.07.2017 / 14:56
1
answer

Validate / Convert text to UTF8 vb.net

I have to generate a series of xml retrieving information from a database. The company that will process the xml requires that only UTF8 characters are used but in the information that I recover from the database there are many characters not al...
asked by 26.04.2017 / 06:54
2
answers

The project sometimes does not recognize me a class

I have a class that I use to generate the custom buttons of my project in winforms, I simply define the font..color and in this way I use this custom button in all my forms. The structure of files and directories that I have is this, within t...
asked by 31.05.2017 / 10:46
2
answers

How to restore Visual Studio 2013 Ultimate window

I'm having trouble restoring the order of the toolbars and elements of Visual Studio 2013 Ultimate . Some have disappeared and others are in different places that usually (and by default) were. Is there any way to return this to default?...
asked by 24.08.2016 / 14:13
1
answer

What Happens with the Values of Screen Halves?

Why does it happen that the times in drawing a hypotenuse on the screen are not the same from the upper left corner to the center of the screen, which for the center of the screen towards the bottom right of the screen? That is, the times with t...
asked by 18.09.2018 / 08:11
3
answers

No click event is executed

I am trying to send a form from an ASPX page to AJAX but it does not enter the event function click of the button in the JavaScript part, I have removed the runat="server" from the form but it generates an error; so I do not know w...
asked by 04.02.2016 / 16:28
2
answers

Date query about BD Access

Previous information: I have a database with a Date / Time type field in Access (dd / mm / yy to hh: mm: ss). The idea is to put a date (entered in three TextBox TBDia TBMes TBAnio ) and that I take the records of that date (...
asked by 25.04.2018 / 10:04
1
answer

VB.NET DataGridView change image style (tile, stretch, center, zoom)

How can I change in a Picture Cell of a DataGridView, that the image be seen in tile, stretch, center or zoom mode? By default I get the image that protrudes from the Cell and I need it to look whole.     
asked by 29.06.2018 / 04:48
3
answers

How to create an alphanumeric counter on vb.net?

Hello, I have a question about the realization of an incremental alphanumeric counter in visual basic.net any idea of how it could be done? The counter format would be as follows: PRE-001/13/12/2016 This is a simple numeri...
asked by 13.12.2016 / 16:37
1
answer

Read web responses to see if they contain a given text

I am trying to read web pages, for example I would like to detect the string "My server" in the answer. I found this: Dim Str As System.IO.Stream Dim srRead As System.IO.StreamReader Try ' make a Web request Dim req As System.Net.WebRequest...
asked by 15.06.2018 / 08:27