Questions tagged as '.net'

2
answers

Ensure that a set of functions work correctly

Hello everyone! I have a problem that is corroding and I think I will not be able to solve it alone ... It is the following: I have a form with a button; This button is responsible for selling a product. The sale is done in 3 steps: Discharge...
asked by 17.05.2015 / 20:51
1
answer

How to capture file size of System.Drawing.Image?

I have a method to which I pass the parameter System.Drawing.Image and the percentage that that image will be after resize . public static Image ResizeImagem(Image imgFoto, int percentual) { float nPorcentagem = ((float)percentual / 1...
asked by 19.11.2014 / 14:11
2
answers

Creating an emailClient

I'm in a project which I need to develop an Email Client, however I'm somewhat lost about it, then. I need to use the IMAP protocol (I have thoroughly studied its RFC) and the C # language, but I can also use Java. Does anyone have a path, re...
asked by 26.09.2014 / 15:26
1
answer

Check file creation date and delete

I created a Backup application, it saves zipped files in DD-MM-YYY - 00-00-00.zip format, but I would like to know how I would do the create date check for deletion, because the files' names are different for saving to the seconds. Sho...
asked by 04.11.2014 / 14:00
1
answer

Accept any attachment format

I have an application where you can insert attachments and then download them. But I've done it in a way that for every file format I want to insert as an attachment, I enter a For Each this way Private Sub grdAnexo_ItemCommand(ByVal so...
asked by 03.02.2015 / 15:39
2
answers

How to allow read only for a certain type of user?

I have a button that triggers an event to close a school's school year. By clicking this button, the person can have access to all screens of the system, but can not edit anything, delete, insert. Is there a way to block only these functions for...
asked by 05.05.2014 / 23:33
2
answers

Can I override existing anottation in .NET?

I have the following annotation: [XmlElement(IsNullable = true)] I would like to see the code that has behind it, so I create my own based on it Or if you have how to override it     
asked by 12.03.2014 / 14:57
2
answers

How to transform a DLL created in C # to VB6?

I've created a pretty basic C # DLL, just to test. It looks like this: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; namespace CriarD...
asked by 31.01.2014 / 01:59
1
answer

How to update the .Net framework?

How to update my project framework?     
asked by 19.09.2014 / 14:16
3
answers

Use of "Contains" in search expression

I have a string _Users of type List , it contains several lines. Each line consists of an integer and a comma-separated string (usually just a string): ID (numbers only), name (letters and numbers ). What I'm trying to do is...
asked by 23.11.2018 / 21:44