hello! I am running the samples (VB :NET) and I found a problem with samples 16 and 18. I run with no error both of them, but when I follow the developer's guide, the samples don't work as specified. For example, in exercise 16, I click the created button and it doesn't add the list item in the listbox(also created).
I found that both samples inherit the class Topobase.Forms.DialogPlugIn. I've run the rest of the samples and they run with no problem.
If it's not the Soultion, debug the Sample and check this line:
MyButton1 = Me.Dialog.Controls.ApiItem("$MyButton1")
If MyButton1 is nothing double check the Name of the Control in the Form Designer
and check that it's really and APIControl (Classname property ApiControl in Formdesigner)
Also doublecheck that the VBSample16.tbp exists in the Bin directory.
In Sample VBSample18 the Name is already "MyPoint" and looks ok for me (fitting to the Documentation).
If you use it with an other FeatureClass than "MyPoint" just change the TBP File.