허정민 허정민 - 21 days ago 7
Vb.net Question

Type 'Vector' is not defined

I got error:


Type 'Vector' is not defined.


I was using Visual Studio Community 2015, VB.NET, Framework 4.5.2.

And I got error on this line:

Dim vector1 As New Vector(40, 50)

Answer

Add a Reference to WindowsBase

Import the Namespace

Imports System.Windows

Then it should work

Comments