Questions tagged as 'vb.net'

1
answer

Why can not we use Await within a Catch, Finally and Synclock in VB?

Why can not we use the Await operator within the statements Catch , Finally and Synclock in VB? The C # 6.0 has support for using Await within Catch / Finally .     
asked by 01.01.2017 / 13:43
2
answers

How to sort the items in a Listbox using quicksort

I'm doing a project for the university that consists of making software that sort from a listbox using quicksort, BlubbleSort etc ... In VB.NET I made an array to generate the random numbers in the listbox, but my difficulty now is to get the nu...
asked by 16.05.2016 / 03:52
1
answer

How to change the blinking cursor from "|" to "_" in a textbox

I would like to know how to use the _ character to write, such as when you press the Insert key in some text editors (Notepad ++) and the text is written with _ in front of the letters. More basically, equal to DOS. I wanted to p...
asked by 03.10.2015 / 02:01
1
answer

What is the difference between the operators "+" and "&" when in string concatenation?

In VB.NET, there are two operators that I use in the concatenation of strings , the & and the
asked by 22.09.2016 / 00:37
1
answer

How to create an endless process?

Simple question, how do I make my application process "unstoppable" by the system? I want when a user tries to close the application the message "Access is denied" appears, and when it forces the kernel to terminate the CRITICAL_PROCESS_DIED ker...
asked by 07.02.2016 / 00:50
1
answer

How to read MFD printer fiscal hard disk files

Is there any way to read MFD fiscal printer files on the hard drive? These files are binary is there any way to read binary files and save with txt? Printer : BEMATECH MP-2100 FI     
asked by 24.11.2014 / 21:22
2
answers

Detect event generated in another class

I have a class (in VB) that returns an event of TimeOut , that is, if the time it pops up it returns an event with a string containing the data I need using RaiseEvent. How can I handle this event in the main class which is in C #. I tried...
asked by 09.06.2014 / 21:33
1
answer

Error opening form inside panel

I'd like to open a form inside a panel, but when it opens, it always stays the same size and in the same place regardless of the size of the form or form. DimrvAsNewformRVrv.link=lvPasta.SelectedItems(0).ImageKeyrv.FormBorderStyle=FormBorder...
asked by 14.11.2018 / 21:34
3
answers

Remove non-numeric characters from a string

Example: I have the following string    "M1245D454" I need only leave the numbers on it. M and D, are examples, I want to remove any non-numeric character. Is there any function in C # or VB.NET for this?     
asked by 14.04.2016 / 21:35
1
answer

How to create a new configSections in App.config

I'm working with an application that currently uses the appSettings section to get application settings through ConfigurationManager.AppSettings . But I would like a more complex structure for my configuration, something like this: &...
asked by 28.09.2015 / 22:16