Prod.: Engine, ver.: 6, ID: 60000777, HowTo : How can I check the version number of the VDF libraries that I use

HowTo : How can I check the version number of the VDF libraries that I use

Article60000777
TypeHowTo
ProductEngine
Version6
Date Added2/18/2009
Submitted byzzf1982
Keywords

Subject

How can I check the version number of the VDF libraries that I use

Summary

How can I check the version number of the VDF libraries that I use ?

Solution

You can do this using a code like :

in C#
private
void button1_Click(object sender, EventArgs
e)
{
    System.Reflection.
Assembly
asm = vdFramedControl1.GetType().Assembly;
    System.Reflection.
AssemblyName asmname = new System.Reflection.AssemblyName
(asm.FullName);
    MessageBox.Show("Using VectorDraw :"
+ asmname.Version.ToString());
}

 

in VB.NET
Private
Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim asm As System.Reflection.Assembly = VdFramedControl1.GetType().Assembly
    Dim asmname As System.Reflection.AssemblyName = New System.Reflection.AssemblyName(asm.FullName)
    MessageBox.Show(
"Using VectorDraw :" + asmname.Version.ToString())
End Sub