Tag Archives: LotusScript

Upgrade users local names.nsf

Tip: How do you upgrade a users local addressbook ? Ex. after an upgrade of the client. Normaly it will upgrade it self, but sometimes it fails. There are several ways to do this. Here is some comments about that. … Continue reading

Posted in Lotus, Tip | Tagged , , , , | Comments Off on Upgrade users local names.nsf

Get data from DB2 via LotusScript

I have recently made an Lotus Notes Database, where i needed to get some information from DB2. I this case i also had the issue that only the server could connect to the DB2. I made an agent that call … Continue reading

Posted in Lotus, Tip | Tagged , , , , , | Comments Off on Get data from DB2 via LotusScript

Can you print a document in a background agent ?

I have searched almost everywhere, and i haven’t found any smart tricks to print a document in a background agent. If its possible at all. I know all print functions is in the UI classes. But have anybody found a … Continue reading

Posted in Lotus | Tagged , | Comments Off on Can you print a document in a background agent ?

LNText

My favorite tool is LNText. Don know if i can call it a tool though ! It’s a script Library I use almost every where i code something in Lotus Notes. Why do i use it all the time? Maybe … Continue reading

Posted in Lotus | Tagged , | Comments Off on LNText

Print to special printer in background, without changing default printer

Have you ever wanted to print to another printer than the default in Lotus Notes via LotusScript. If you do that in windows, windows will remember that printer the next time you print in Lotus Notes. This could be a … Continue reading

Posted in Lotus, Tip | Tagged , , , | Comments Off on Print to special printer in background, without changing default printer

CreateObject(“Word.Application”) Office 97 vs. Office 2010

In LotusScript when you create a Object af Word in Office 97, you can write something like this. Dim workspace As New NotesUIWorkspace Dim uidoc As NotesUIDocument Set uidoc = workspace.CurrentDocument Set wdApp = CreateObject(“Word.Application”) Set docNew = wdApp.Documents.Add(“L:\merge.doc”) Dim … Continue reading

Posted in Lotus, Tip | Tagged , , , | Comments Off on CreateObject(“Word.Application”) Office 97 vs. Office 2010