Questions tagged as 'vb.net'

2
answers

Show ajax query in gridview or VB.NET table

I'm making an AJAX application in VB.NET that shows the records of a query in a gridview, so far I can only show the data in a JSON string but I do not know how to show them in a gridview or a table. Currently he only shows me this:...
asked by 10.01.2016 / 05:09
1
answer

Can I make a reference to a dll (framework 4) from my project vs 2005 (framework 2)?

A query, I am working on a project in vs 2005 (framework 2), and created a Class Library in vs 2013 (framework 4), and this generates a dll. Can my project vb 2005 refer to that dll? I would appreciate your answers.     
asked by 22.11.2016 / 14:42
1
answer

System.NullReferenceException: 'Object reference not set as an instance of an object.' [duplicate]

I would like if someone could help me with the following question. I'm doing a test program in which there is a textbox in which names are inserted, these names must be saved in an array and then pressing another button that those names go to...
asked by 05.11.2018 / 21:43
1
answer

Copy / Move files without specific path vb

I have a program whose function is to copy and paste files, I have used My.Computer.FileSystem.CopyFile () to do it, and if it works ... My.Computer.FileSystem.CopyFile(C:\ruta ejemplo\archivo1.txt, C:\ruta ejemplo 2\archivo1.txt) The prob...
asked by 03.01.2019 / 20:30
1
answer

How to create a drop-down list with submenu

Good day, I'm trying to create a drop-down list with submenu's inside at the time of doing and running it does not let me do it, it does not show me, I'm doing it with boostrap 3.3.7 that comes in mvc 5 of VB, it could help me how to do it...
asked by 22.10.2018 / 22:51
1
answer

ERROR Convert string to integer to store in IntPtr

I need to pass a value of type string to IntPtr. I am using the following method: Any ideas to skip that error? Thank you very much!     
asked by 21.09.2018 / 21:20
1
answer

Obtain a parameter by means of a querystring

When I move from one page to another, I send the user parameter by means of a querystring, being on the new page I see that the url has the value that I am bringing (user) but, I do not know how to get that value being in the new page.     
asked by 30.05.2018 / 17:09
1
answer

Shoot event by clicking on a cell in a GridView

I'm trying to open a new page by clicking on any cell of GridView does anyone know if this is possible? <table> <tr> <td> <asp:GridView ID="GV_Gastos" runat="server" OnR...
asked by 27.02.2018 / 15:24
2
answers

Remove an Item from a ListBox

I need to delete an item from a ListBox , but I have two forms, in the first one is ListBox and in the second one too, but I need that when I press the delete button the first items that came in as I can be deleted do? Private Sub...
asked by 15.03.2018 / 15:40
1
answer

Validate TextBox that only allows MS Visual Basic integers? [duplicate]

Cordial greeting colleagues, it turns out that I have a form in MS Visual Basic and I'm doing the respective validations to the buttons and text boxes. In text boxes, you must validate that you only receive whole numbers, do not allow decimals...
asked by 30.01.2018 / 15:10