Questions tagged as 'vb.net'

1
answer

Array From C # to Visual Basic

I have the following algorithm in C #: public static int Encriptar(string cad) { int[,] mul = { {0,1,2,3,4,5,6,7,8,9}, {1,2,3,4,0,6,7,8,9,5}, {2,3,4,0,1,7,8,9,5,6},...
asked by 09.03.2018 / 03:09
1
answer

Optimize path of XML nodes in VB.NET

I am making an application to extract data from an xml and through them classify the documents in different folders. I use the XmlNodeList and the XmlElement to extract the attribute from the elements but I do it with two for cycles to achieve t...
asked by 08.03.2018 / 18:04
2
answers

Convert dd / MM / yyyy to yyyy / MM / dd

I have the following code: Me.txtFechaFin.Text = '08/03/2018' can someone tell me how I can convert it to Me.txtFechaFin.Text = '2018/03/08'     
asked by 08.03.2018 / 22:50
2
answers

How to take values from a web page in VB.NET

I need to take the value of the dollar, from a web page, since I need it to be constantly updated, to multiply certain products by the value of the dollar. For example on this page: link     
asked by 11.01.2018 / 06:20
1
answer

Send array via Ajax

I need to send an array using an ajax call. $.ajax({ type: "GET", crossDomain: true, dataType: "json", url: "http://localhost:24234/api/SendPushNotification", success: { Function(result) { Console.log(re...
asked by 23.11.2017 / 14:21
1
answer

how to ask or check if a query brings a specific data

I have this simple code to enter a system I would like to know if through this same code there is any way of asking if the type of user that I select is administrator, etc. to perform certain actions? this is the code: Private Sub btningres...
asked by 04.08.2017 / 16:09
1
answer

Mask stop only uppercase in maskedtextbox [closed]

How can I do that in a maskedtextbox, which already has a mask assigned, and allows numbers and letters to be entered, the letters are only capital letters?     
asked by 20.07.2017 / 13:39
2
answers

Linq to SQL vs. Entity Framework

What is the difference between Linq's SubmitChanges and Entity Framework%% co? WTablasDataContext.AfipEscalaSuss.Add(obj) WTablasDataContext.AfipEscalaSuss.SubmitChanges(obj)     
asked by 06.09.2017 / 13:39
1
answer

Visual error studio 2013

I just migrated a visual project from 2010 to 2013, and checking if everything was fine, I miss this error:    Unhandled exception of type 'System.BadImageFormatException' in   System.Windows.Forms.dll       Additional information: Unable to...
asked by 05.06.2017 / 07:36
1
answer

Empty Field Datatable visual basic window form

Good afternoon a query I'm doing in window form an application that extracts me when I enter the name of a field but that field is still empty but when I run an error jumps me from this: the field is empty but in the row it goes out as 1 and en...
asked by 11.05.2017 / 19:24