01-07-2019
11:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-07-2019
11:03 AM
His code is in the .idw file.
The code attempts to USE a property, then catches the error then creates the property. The Catch then creates the property, but you then used the variable prop in the message box. However you forgot to add "prop = "on the previous add line. (hi2 runs, hi2.1 runs, then error) .
Catch
MsgBox("hi2")
customPropertySet.Add("TEST", oCustiProperties_Array.Item(i))
MsgBox("hi2.1")
MessageBox.Show(prop.Name & ": ADDED" & vbLf & prop.Name & " (VALUE): " & prop.Value, "CUST PROP")
MsgBox("hi2.2")
oPrompt = "ASSIGN DATA"
MsgBox("hi2.3")
End Try
jvj