Questions tagged as 'vb.net'

0
answers

How can you correct the error: Error when trying to execute the project: Pointer not valid?

Recently installed Visual Studio Enterprise 2015 and to test the IDE create a new project in visual basic in windows form. Do not enter any code, or add any button, textbox , label etc .. I only ran with f5 the form that generates t...
asked by 11.12.2017 / 23:07
0
answers

Replace hard space (Non breaking space) in VB.NET

Good morning, I've been trying to replace a text string that has hard spacing or non breaking space, but I do not get it in any way, I tried the following codes in a function and it just does not work with any: Private Function RepChar10(ByVal...
asked by 06.12.2017 / 15:54
0
answers

problem when updating money data from visual studio

the problem is that when wanting to update the table "product" all the data is updated well except the price, for example if I modify the name and status of the product but the value of the price of the product does not change it when wanting to...
asked by 06.12.2017 / 16:39
1
answer

data environment in 2010? [closed]

I have been programming in VB6 with data environment to access the data, now I am moving to vb.net with Visual Studio 2010 and I want to add that component, I have read and in several places they tell me that for vb.net it is not There is that c...
asked by 13.12.2017 / 20:16
1
answer

Extract CFDI XML Data in VB.Net

I'm doing a program where I extract data from an XML file and store it in a listView, the problem is that if it finds more than 1 attribute I have to repeat the value of the element in the next row or leave it blank. Annex my code, in which i...
asked by 15.12.2017 / 22:08
1
answer

how do I make "vb YesNo" cancel a record when I say "No" or something similar

If MsgBox("¿seguro que desea votar por este partido?", vbYesNo, "Información") = vbYes Then MsgBox("Su voto se ah realizado", vbOKOnly, "Información") Else MsgBox("Su voto se ah cancelado", vbOKOnly, "Información") End I...
asked by 01.12.2017 / 14:18
1
answer

How can I get the duration of a video using mediainfo.dll? VB.NET

I am trying mediainfo.dll but I notice that there is little information so I look for two things, first an example of how to get the duration of a video and if they have any link with the documentation that I can share about mediainfo.dll.     
asked by 05.12.2017 / 21:20
0
answers

An error of type System.AccessViolationException occurs, ONLY when printing many VB.NET tags

I have a code to print labels in VB.NET (Visual Studio 2010), using the PrintDocument class, I have generated a class that contains what is necessary to print, plus the format of the label I am generating. When I print few labels (about 20) the...
asked by 30.11.2017 / 20:19
1
answer

The specified cast from a materialized "System.Int32" type to the "System.String" type is not valid

This happens to me only in production, not in local environments    can not set the 'Type' property (which is int) to a 'string' value       The specified cast from a materialized "System.Int32" type to the   "System.String" type is not vali...
asked by 28.12.2017 / 14:12
1
answer

how can I save the contents of a fileupload in a byte array?

Good evening everyone, my query is as follows. I have an asp.net web forms form on vb.net where I have an asp: fileupload control like this: <asp:FileUpload ID="UpLoadEstudiantes" runat="server" AllowMultiple="False" CssClass="fil...
asked by 24.11.2017 / 05:07