Hi Guys !
I want to know why my string variable is empty with the code below ?
...and why with the code below I got this ((OK,),11035) in the variable value ?Code:'' Get the value entered by the user Dim pIntRes As PromptIntegerResult = acDoc.Editor.GetInteger(pIntOpts) Dim sProjectNumber As String = pIntRes.StringResult Application.ShowAlertDialog(sProjectNumber)
I know that I can use GetString instead of GetInteger, but with the GetInteger there are useful "allow properties"...Code:'' Get the value entered by the user Dim pIntRes As PromptIntegerResult = acDoc.Editor.GetInteger(pIntOpts) Dim sProjectNumber As String = pIntRes.ToString() Application.ShowAlertDialog(sProjectNumber)
Thanks in advance !


Reply With Quote
