Tuesday, September 27, 2011

Upgrade Local Mail Replica using a Button Script

Simple Button Script to Self upgrade Mail file/Archive Mail file

It is assumed that "Mail Replica" is in fixed path for the user.
(Ex : D:/Archive/UserName.nsf )

Steps :

1). Go to Lotus Notes client (As Administrator)

2). Follow the steps as per the screen shot













3). Paste the below code

Sub Myupgrade
Dim result As Variant
result = Shell("nconvert -d C:\MailArchive\svindy.nsf * mail85.ntf")
End Sub











4). Call the function in Click event

Call Myupgrade










Finally Click the body and button script menu will gone.You can get it back by Right clicking the button and go to Edit Button.



No comments:

Post a Comment