Modify ThreadInfo using the API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Would anyone have examples of how to modify ThreadInfo using the api.
Currently trying to use the code below to create a new ThreadInfo Object and assign it to the feature... but whenever the oClass is "" (zero length string) the the CreateStandardThreadInfo fails.
Thanks
oThreadFeatures.Item(ThreadName).ThreadInfo = NewThreadInfo(oInternal, oRightHanded, oThreadType, oThreadDesignation, oClass)
Public Function NewThreadInfo(ByVal oInternal As Boolean, ByVal oRightHanded As Boolean, ByVal oThreadType As String, ByVal oThreadDesignation As String, ByVal oClass As String) As
ThreadInfo
Try
NewThreadInfo = oThreadFeatures.CreateStandardThreadInfo(oInternal, oRightHanded, oThreadType, oThreadDesignation, oClass)
Catch ex As
Exception
MessageBox
.Show(ex.Message)
End
Try
End
Function
