OnFileInsertDialog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all, in .net I would like to intercept the component replace event (single and multiple).
As a guide inventor, I've tried to use the "FileUIEvents.OnFileInsertDialog" event but it doesn't work ...
I set "FileName" and "HandlingCode" the parameters but always appears the standard dialog without path and filename.
Anything else to set? What's wrong?
TIA
Alder
Private Sub m_fileEvents_OnFileInsertDialog(ByRef FileTypes() As String, DocumentObject As _Document, ParentHWND As Integer, ByRef FileName As String, ByRef RelativeFileName As String, ByRef LibraryName As String, ByRef CustomLogicalName() As Byte, Context As NameValueMap, ByRef HandlingCode As HandlingCodeEnum) Handles m_fileEvents.OnFileInsertDialog
FileName = "C:\DIERRE\Designs\DIERRE\aa\AAAGU0000150.ipt"
HandlingCode = HandlingCodeEnum.kEventHandled
End Sub