10-07-2014 01:02 PM
Hello,
I am attempting to add some functionallity to one of your demo programs but it is causing problems. Specifically, I am attempting to modify the demo located at:
/National Instruments/MSStudioVS2010/Dotnet/Examples/Application/SimpleGraph/VB
I am using VS2010 and have Measurement Studion 2013 installed.
The application "works", but if I add a form and button, any controls I add to that form are not recognized. In the design environment, references to the control cause an error.
Is there something I need to do to allow adding of forms with controls?
Thanks,
bartj
10-08-2014 06:14 PM
Hi bartj,
Can you provide more information about the errors you are receiving? What do you mean when you say that the controls you add to the new form are not being recognized? Feel free to provide information about the error messages or screenshots of the errors themselves. Is it possible that Measurement Studio is not fully licensed on your computer?
Thanks,
Myriam
10-09-2014 02:46 PM
Hello,
Here is what I am doing(using your demo simple graph):
1) Add a new form to the project (form1.vb)
2) In the form1_load sub, I type the following:
Mainform.cursorStatusbar
Following typing Mainform. I see a list of objects, but none of the Mainform objects are in that list. They should include:
a) cursorStatusbar
b) mainWaveformGraph
c) mainToolBar
d) and...various menu items
I am using VS2010 Academic and have Measurement Studio 2013 installed on a win7 x64 PC. As I understand there should be no limitations on the capabilities of the VS.
Comments?
Bartj
10-10-2014 08:03 PM
Hi Bartj,
It may have to do with how the objects are declared with certain modifiers in the Mainform source code (i.e. public, friend, etc.). Have you tried verifying that these declarations will allow for other Windows Forms to access Mainform's objects?
Thanks,
Myriam