PropertyManager API VB.net
PropertyManager API VB.net
(OP)
Let me try this again.
I have a program I am writing and I have very little experience with vb.net. I am trying to figure out how to bring information from a textbox in the property manager, using the swPropertyManagerPageControlType_e.swControlType_Textbox command.
I have a program I am writing and I have very little experience with vb.net. I am trying to figure out how to bring information from a textbox in the property manager, using the swPropertyManagerPageControlType_e.swControlType_Textbox command.






RE: PropertyManager API VB.net
What have you managed to achieve so far? If you have created controls on a PMP, you must have used the command AddControl. This command returns a PropertyManagerPageControl object. You can query this object for its Text property.
-handleman, CSWP (The new, easy test)
RE: PropertyManager API VB.net
RE: PropertyManager API VB.net
myControl = myPMPpage.AddControl(some arguments).
To get the text, use
SomeStringVariable = myControl.Text
-handleman, CSWP (The new, easy test)
RE: PropertyManager API VB.net
You got me into the right direction. I was able to retrieve the data as long I was in the same module. So my final line ended up as
BSTR = UserPMPage.textbox1.text
RE: PropertyManager API VB.net
I'm creating a "product configurator" using the PMP. I've got the PMP layed out, it looks great. I don't want any code to execute until the user clicks OK. So my main sub starts the PMP, and makes sure the user has selected the appropriate component.
Then, in the PMP event handler class OnClose event, I have a call to a second sub in the same module as the main. How can I get the inputs from the PMP into the second sub?