パスワードは、ActiveReportsのRDF形式のファイルにおいて使用します。
private void btnSave_Click(object sender, System.EventArgs e) { arv.Document.Password = "Mortimer"; arv.Document.Save(Application.StartupPath + "\\Document.rdf"); }
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click arv.Document.Password = "Mortimer" arv.Document.Save(Application.StartupPath & "Document.rdf") End Sub