Parameters
- fileName
- Specifies the file to be used to create an embedded Ole object. A valid Ole server for the specified file type should be installed to handle the file instance.
private void detail_Format(object sender, System.EventArgs eArgs) { this.OleObject1.CreateFrom("C:\\MailAliases.xls"); }
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.OleObject1.CreateFrom("C:\MailAliases.xls") End Sub