Questions tagged as '.net'

2
answers

Variable outside the bounds of the matrix

I'm trying to put the items in positions of an array, but I get the error that the variable is outside the bounds of the array. I do not know how to fix the bug and I need help. Follow the code: Dim posicao As String = String.Join("", itens...
asked by 02.05.2016 / 00:19
2
answers

Convert String with AM / PM to DateTime

I have a variable that contains a date with AM / PM: string data = "01/08/2016 9:00 PM"; When I try to convert to DateTime using the TryParse method, the result ignores the designator "AM / PM". string data = "01/08/2016 9:0...
asked by 31.08.2016 / 22:07
1
answer

What do the following column / row measurements mean?

When creating WPF rows or columns, what does each of these measures mean? <Grid.ColumnDefinitions> <ColumnDefinition Width="50"/> <ColumnDefinition Width="50*"/> <ColumnDefinition Width="*"/> <ColumnDefinitio...
asked by 10.09.2016 / 04:05
1
answer

ASP.NET vs Intraweb

As I come from PHP and I'm starting now with ASP.NET and I'm really raw, I'm going to need to argue about .NET for one of the owners of the company, and it develops in IntraWEB. For my vision of WEB, the structure of .NET is much better to work...
asked by 18.01.2016 / 14:09
2
answers

How to close splash screen?

I've developed a splash screen for my application. It is working perfectly, it opens and directs to Form2 . But I realized that when I close Form2 , I have to stop debugging through Visual Studio, as it looks like splash is active...
asked by 24.08.2015 / 14:26
1
answer

SQLite deployment along with .Net application

I finished the C # app with SQLite, but I saw that I need to send it along with the base and the SQLite DLL. What SQLite DLL files do I need to append and what folder do I have to play these files? The installation of the program will be done...
asked by 20.08.2015 / 15:19
3
answers

What is the difference between SmtpClient.SendAsync and SmtpClient.Send () using Thread?

What is the difference between using SmtpClient.SendAsync() and creating threads and running SmtpClient.Send() for sending messages? Is there a lot of difference in performance or resource consumption?     
asked by 05.10.2016 / 15:07
1
answer

If it exists, update one table and insert another, if not, insert the two

How to make an expression using EF so that when a certain list of objects is sent and already exists in the database, it is updated and the change is inserted into another history entity, otherwise, it inserts both entities. Example publ...
asked by 23.10.2015 / 22:20
1
answer

How do I set the size of a button in centimeters?

I need to put a button with height and width in centimeters, where the size is maintained if it is accessed at different screen resolutions. It is possible? If so, how?     
asked by 02.09.2015 / 18:42
1
answer

Apply function to all list elements using VB.NET

Is there any function / module for an object of type List in VB.NET that is similar to array_map() of PHP? The idea is to create a new variable with elements that satisfy a given condition. I have a list of objects of type...
asked by 10.07.2015 / 20:43