Questions tagged as 'vb.net'

1
answer

Getdata function VB.NET

I'm trying to create a function to update the Datagridview. I added the following code but a "Can not clean list" error Code: Private Sub GetData() Try con = New SqlConnection(cs) con.Open() cmd = New SqlComm...
asked by 11.11.2015 / 18:48
2
answers

How to extract data from an XML url to Visual Studio labels [closed]

[! [Detail of the question] [1]] [1] I want to do a search button by ISBN code using Virtual Studio 2013, in which it would return data from the ISBNDB.com site in XML format, which would be inserted directly into the corresponding labels...
asked by 13.11.2015 / 01:54
2
answers

How to streamline searches in VB.net / Access97 database

I use a query that does the search in 3 different tables, return this query attribute in a Datatable that will fill a Datagridview . The problem is that the search itself is a little time consuming, I used TOP as a limit...
asked by 14.07.2015 / 17:22
1
answer

How to limit the number of rows after sorting the datatable vb.net/C#

How do I limit the amount of rows in a datagrid after DefaultView.Sort Follow the code: da = New OleDbDataAdapter(MySQL, Conexao) dt = New DataTable("Pedidos") da.Fill(dt) dt.DefaultView.Sort = "Data Desc"...
asked by 15.07.2015 / 18:07
1
answer

VB.NET - Public Shared Function

I have a function in a VB.NET system that I use to run queries in DB. The function is Public Shared for the sake of simplicity. And there is the question whether competing access to function could generate problems. This is user 'A' calls the...
asked by 26.05.2015 / 00:31
1
answer

Buttons, panels and other shapes on the CONSOLE

Well, these days, I'm making a Console, very simple, and I was curious to see some applications made by super advanced third parties, with Menus, panels and even buttons! When you click on them, they give the click effect, a super advanced thing...
asked by 16.05.2015 / 06:54
2
answers

How do I get the server time or the current time of day and change in the system via code?

I need to update an O.S system with the time of another micro, in case this other micro would be a server. I would like to do this via code. Another method that would also help would be to pick the right time of the day and compare it to the...
asked by 16.02.2015 / 18:54
3
answers

Get some of the text that is between tags in a String

I have the following string: Meu nome é <nome> Nickolas Carlos<nome> I would like to know how I can do in VB.NET to get only what is between the <nome> tags which in this case would be: Nickolas Carlos Is...
asked by 10.03.2015 / 20:56
1
answer

VB.NET with acces database

Good afternoon, guys, I'm trying to make a CRUD here using VB.NET and Access, so when I perform an INSERT it returns the error "Syntax Error in INSERT INTO statement". But I can not solve it .... if you can help me right now, I would appreciate...
asked by 16.04.2015 / 22:35
1
answer

Check if a series of directories of a path exists in VB.NET

I am still junior programmer and would like to know if in VB.NET it is possible to create a series of directory checks to see if it exists (not to confuse with handle the direct url and verify); I wanted it more or less like this: I have a...
asked by 11.11.2014 / 18:37