Questions tagged as 'c#'

2
answers

Instantiate dll created in C # .net for VB6

I have a dll that I want to consume, developed in C #, and I want to load this dLL in VB6. How can I do this? What steps should I follow? Inside the VB6 code below you already have a call to this dll: Dim mail As New MamMail Body = Repl...
asked by 15.05.2015 / 18:57
0
answers

WIA - Upload network devices

I am writing code in C # and using WIA to perform scan tasks. However, I'm having trouble capturing the devices that are shared on the network. My code captures all devices that are directly connected to the machine. public static List<stri...
asked by 30.04.2015 / 18:50
0
answers

C # Appointment Schedule [closed]

I need to make a schedule that will receive some appointments, and on the day of this appointment she will send a notice. Can anyone point me some material, or path that I need to get started?     
asked by 29.04.2015 / 15:52
1
answer

Combobox.Items not being updated

I'm creating a combobox in runtime and trying to manually set a% of 'default'%, but I realized that even setting a value inside the combo manually is not selected. p> I already checked if the data type beats (both are SelectedValue )....
asked by 01.07.2015 / 19:43
0
answers

How to break the page using Nreco.PdfGenerator in ASP.NET/C#?

I'm using CSS to break the page, I'm putting it inside a <asp:Repeater> In the first break everything happens well but on the third page it breaks incorrectly (in the middle of the page).     
asked by 02.07.2015 / 15:35
2
answers

Update function to update date and time?

I have a Windows Form , in the control bar (where you have the Title, close and minimize) I also have the date and time: this.hora.Text = DateTime.Now.ToShortTimeString(); this.data.Text = DateTime.Now.ToShortDateString(); B...
asked by 02.07.2015 / 21:32
1
answer

Hidden Field Encryption in MVC - How to decrypt more than one property on the server side

Hello I'm developing a mvc 5 web application and in some cases I need to insert in the view fields @ Html.HiddenFor, only I do not want to show the value to the user if he views the html code, so fine I I was able to encrypt the values that go t...
asked by 22.09.2015 / 22:42
1
answer

Customizing Json consumption - Web API

I have the following information in Json: [ { "$id": "1", "Cditemcontacli": 1.0, "Cdcontacli": 1.0, "Descricao": "Produto 1" }, { "$id": "2", "Cditemcontacli": 2.0, "Cdcontacli": 2.0, "Descricao": "Produto...
asked by 22.09.2015 / 20:27
1
answer

Add values of textboxes when leaving the field [closed]

I have a form with three TextBoxes where the user will type any value and a Label where I want to show the result of the sum of these values. However, I'd like to add the contents of these TextBoxes without having...
asked by 22.09.2015 / 23:42
1
answer

Write on a label when it loads with the form

Well, I have a program that requires me to write using labels, but these only work, and actually write when they are clicked, I would like someone to explain how I should proceed to be able to write then the form is loaded : EDIT: Basically a...
asked by 20.07.2015 / 16:44