Hi,
First off, what exactly do you mean by it's not working? Does it give you an error, unexpected results, etc?
What I suggest you do is take a look at some of the examples that ship with Measurement Studio. The following path is the default path for an example program using Measurement Studio graphs in Visual C++ .Net.
C:\Program Files\National Instruments\MeasurementStudioVS2003\VCNET\Examples\UI\Graph\Graph Example
Also, what might be easier is if you start out if a Measurement Studio Visual C++ MFC project as opposed to just a Visual C++ MFC project and then trying to add the Measurement Studio components. By starting with a Measurement Studio project it automatically takes care of some of the overheads related to adding components.