Questions tagged [vb.net]

Visual Basic.NET (VB.NET) is a multi-paradigm, managed, type-safe, object-oriented computer programming language. Along with C# and F#, it is one of the main languages targeting the .NET Framework. VB.NET can be viewed as an evolution of Microsoft's Visual Basic 6 (VB6) but implemented on the Microsoft .NET Framework. DO NOT USE this tag for VB6, VBA or VBScript questions.

Microsoft's Visual Basic .NET (VB.NET) is a multi-paradigm, managed, type-safe, object-oriented computer programming language. Along with C# and F#, it is one of the main languages targeting the .NET Framework. VB.NET can be viewed as an evolution of Microsoft's Visual Basic 6, but implemented on the Microsoft .NET Framework. This is reflected in VB.NET's version numbering, which continues from VB6. Although Microsoft decided to drop the ".NET" portion of the language's name in 2005, it is still often referred to that way in order to distinguish it from its predecessors.

This tag should only be used for questions which relate to .NET versions of VB. It should not be confused with , , or . Although those languages share a similar syntax with VB.NET, they are entirely different technologies.

To date, the following versions of VB.NET have been released:

VB.NET is supported in a wide range of platforms:

Popular VB.NET questions on Stack Overflow

Resources

134281 questions
11
votes
1 answer

Add project's reference to another project in same solution dynamically

I have a solution and three projects inside that which is all created dynamically. Now I have to add the first project's reference to the second and third one. When i tried the logic i'm able to build the project individually and when building the…
A Coder
  • 2,707
  • 6
  • 47
  • 111
11
votes
5 answers

Using a 256 x 256 Windows Vista icon in an application

I have an application which I have made a 256 x 256 Windows Vista icon for. I was wondering how I would be able to use a 256x256 PNG file in the ico file used as the application icon and show it in a picture box on a form. I am using VB.NET, but…
Nathan W
  • 50,657
  • 24
  • 92
  • 142
11
votes
5 answers

Is it too early to start designing for Task Parallel Library?

I have been following the development of the .NET Task Parallel Library (TPL) with great interest since Microsoft first announced it. There is no doubt in my mind that we will eventually take advantage of TPL. What I am questioning is whether it…
Joe Erickson
  • 6,836
  • 1
  • 29
  • 31
11
votes
4 answers

What are the distance units in com.vividsolutions.jts.geom.Geometry class?

Our VB.NET project is using a Java library from Vivid Solutoins (com.vividsolutions.jts.geom.Geometry) to do Geometry calculations. The help is here: http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/Geometry.html What I can't…
Andy Jacobs
  • 893
  • 2
  • 10
  • 18
11
votes
1 answer

Visual Basic PowerPacks from 2010 not working in 2013?

I have been using Visual Studio 2010 on my old computer, and I have used PowerPack shapes in my designer. In VS2013, I have installed the PowerPacks but it keeps complaining that it cannot find anything related. Type…
numbermaniac
  • 754
  • 1
  • 15
  • 28
11
votes
2 answers

No application is associated with the specified file for this operation (VB.NET)

We have a Win Forms application that produces a pdf with iTextSharp, saves it to a local directory and the application then opens the file. With one customer (all XP boxes and Adobe Reader 11) it throws the following error No application is…
gchq
  • 1,485
  • 2
  • 23
  • 42
11
votes
13 answers

Using Ext JS in ASP.NET

I don’t have advanced knowledge in JavaScript, and I am trying to learn how to use Ext JS framework in ASP.NET (C# or VB.NET) environment. I’ve got couple of samples, but was unable get the project working. Is there such as website or book so I can…
Mike
11
votes
4 answers

COMPILATION debug=false is killing my ASP.NET site

I have a large (to me) ASP.NET (4.5 Framework) application that was working fine when developed in and published from VS2012. I've since upgraded from VS2012 to VS2013 and I opened the solution without issue and it runs fine locally (on IIS…
PTansey
  • 557
  • 4
  • 12
11
votes
1 answer

set selected item in combobox - vb.net

I am using this code to add a value to a combobox different then the one displayed: how to add value to combobox item Lets suppose i have 3 values in my Combobox: item 1 item 2 item 3 If i chose item 2 from the dropdown the code in the link…
sharkyenergy
  • 3,032
  • 4
  • 33
  • 66
11
votes
3 answers

ByVal and ByRef with reference type

Please see the code below: Public Class TypeTest Public variable1 As String End Class Public Class Form1 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim t1 As TypeTest = New TypeTest …
w0051977
  • 13,017
  • 23
  • 108
  • 265
11
votes
3 answers

Python: Where does if-endif-statement end?

I have the following code: for i in range(0,numClass): if breaks[i] == 0: classStart = 0 else: classStart = dataList.index(breaks[i]) classStart += 1 classEnd = dataList.index(breaks[i+1]) classList =…
tmighty
  • 8,222
  • 19
  • 78
  • 182
11
votes
3 answers

Language invariant Double.ToString()

I am passing a double across a network, currently I do double value = 0.25; string networkMsg = "command " + value; the networkMsg is fine in english where its 0.25 and french where its 0,25, but when i go from a french computer to an english…
f1wade
  • 2,557
  • 6
  • 22
  • 39
11
votes
2 answers

AES 256 Encryption: public and private key how can I generate and use it .net

Regarding AES 256 Encryption: What is the public and private key? How can I generate these two keys? How can I use the public to encrypt the data? How can I use the private to decrypt the data?
Yasser-Farag
  • 590
  • 4
  • 9
  • 28
11
votes
2 answers

How to read single node value from xml file

Hi i am trying to get value from xml but it shows node null. Here is my xml file.
deepika
  • 121
  • 1
  • 1
  • 3
11
votes
5 answers

Static class constructor in VB

Is there a way to make a constructor for a shared class in VB.NET? I do it all the time in C# as follows, but I can't seem to get it to work in VB.NET. static class someClass { public static string somePublicMember; static someClass() …
AppFzx
  • 1,335
  • 2
  • 13
  • 23
1 2 3
99
100