Make sure that you're project includes a licenses.licx file with the
correct license strings. The licenses.licx file is just a text file
which contains license strings that look like the following
NationalInstruments.UI.WindowsForms.WaveformGraph,
NationalInstruments.UI.WindowsForms, Version=8.0.11.236,
Culture=neutral, PublicKeyToken=4544464cdeaab541
There will be a license string for each control that you drop on the
form . VS 2005 should do this for you automatically. If you are using
the analysis library however, you will need to manually add the license
string to the license file, since VS 2005 does not automatically add
this information. For more information about how to do this, refer to
the Measurement Studio help topic "Licensing Measurement Studio .NET
Class Libraries without Integrated Tools"
If you have the licx file in your project and are still getting the
license exceptions, make sure that you have .lic files present under
C:\Program Files\National
Instruments\MeasurementStudioVS2003\DotNET\Assemblies
If these filese are missing, try doing a repair of Measurement Studio
8.0. This can happen if there was any kind of failure during the
installation of Measurement Studio. Refer to the following KB for more
information about this
Measurement Studio 8.0 not Installing License for .NET Class Libraries
http://digital.ni.com/public.nsf/websearch/AFE10646333929768625709A00798AD4?OpenDocument
The delay part is a different issue and is because of the behavior of the .NET framework. See
the following KB for more information about this issue with some
workarounds
Measurement Studio .NET Assemblies Take More Than 10 Seconds to Load at Run Time
http://digital.ni.com/public.nsf/websearch/18E25101F0839C6286256F960061B282?OpenDocument
Let me know if you are still having problems. I hope this helps
Bilal Durrani
NI