lotus-notes

Is a COMException of 0x80040154 always 'Class not registered'?

依然范特西╮ 提交于 2019-12-01 05:55:37
Does a System.Runtime.InteropServices.COMException of 0x80040154 always mean that the class isn't registered? I'm getting a COMException which says "Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 80040154." It's trying to load Interop.Domino.dll which is a reference I got from the COM tab of Add Reference called "Lotus Domino Objects" which points to domobj.tlb in the Notes program folder. I wrote the code years ago - it's the only thing I've ever done with interop and it's fair to say that I never really got

How to incorporate version control (Git) in a large Lotus Notes project

血红的双手。 提交于 2019-12-01 04:05:40
We are maintaining a large website based on Lotus Notes, running on Domino Server 8.5.3. Recently we have been fed up with the lack of source control in our project, so we thought we would try to Git things up a little. But how to do this right? For various reasons that I will not get into here, we cannot run our applications locally on the development PCs. We can only run them on the development, staging and production servers. (Local Domino server running on the development PCs is not an option, unfortunately.) This figure illustrates the current situation: In production (and staging) there

Is a COMException of 0x80040154 always 'Class not registered'?

这一生的挚爱 提交于 2019-12-01 03:38:22
问题 Does a System.Runtime.InteropServices.COMException of 0x80040154 always mean that the class isn't registered? I'm getting a COMException which says "Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 80040154." It's trying to load Interop.Domino.dll which is a reference I got from the COM tab of Add Reference called "Lotus Domino Objects" which points to domobj.tlb in the Notes program folder. I wrote the code

Reading Lotus Notes & Domino Mailbox using Interop.Domino.dll

房东的猫 提交于 2019-12-01 02:10:24
I would like to populate the list of mailboxes from "Mail" folder of Domino using C# and Interop.Domino.dll. I can connect to the Notes database and access all nsf files, but how can I access only the nsf files in the Mail Folder? I am using below code: while (_localDatabase != null) { dbString = _localDatabase.Title; TreeNode objRootNode = new TreeNode(dbString); objForm.tvwExchDomain.Nodes.Add(objRootNode); dbCount = dbCount + 1; _localDatabase = dir.GetNextDatabase(); } Kindly suggest me some links or sample code which will make my work simpler. I am using Domino Server 8.5. To return only

How to incorporate version control (Git) in a large Lotus Notes project

▼魔方 西西 提交于 2019-12-01 00:57:21
问题 We are maintaining a large website based on Lotus Notes, running on Domino Server 8.5.3. Recently we have been fed up with the lack of source control in our project, so we thought we would try to Git things up a little. But how to do this right? For various reasons that I will not get into here, we cannot run our applications locally on the development PCs. We can only run them on the development, staging and production servers. (Local Domino server running on the development PCs is not an

Reading Lotus Notes & Domino Mailbox using Interop.Domino.dll

[亡魂溺海] 提交于 2019-11-30 20:27:54
问题 I would like to populate the list of mailboxes from "Mail" folder of Domino using C# and Interop.Domino.dll. I can connect to the Notes database and access all nsf files, but how can I access only the nsf files in the Mail Folder? I am using below code: while (_localDatabase != null) { dbString = _localDatabase.Title; TreeNode objRootNode = new TreeNode(dbString); objForm.tvwExchDomain.Nodes.Add(objRootNode); dbCount = dbCount + 1; _localDatabase = dir.GetNextDatabase(); } Kindly suggest me

How do I get all the attachments from a .nsf(lotus notes) file using java

北城以北 提交于 2019-11-30 10:21:22
Steps followed : Took a back of my lotus notes as sample.nsf And then tried to read the attachments from the sample.nsf Code snippet : Database db = session.getDatabase("","C:\\Projects\\NotesToJava\\sample.nsf"); DocumentCollection dc = db.getAllDocuments(); Document doc = dc.getFirstDocument(); while (doc != null) { RichTextItem body = (RichTextItem) doc.getFirstItem("Body"); if (body.getEmbeddedObject("Request.xlsx") != null) System.out.println("Found BPM_Dev_Access_Request.xlsx in " + doc.getItemValueString("Subject")); doc = dc.getNextDocument(); } No need to use evaluate , look up the

Cannot instanciate a NotesUIWorkspace from VBA (Word)

守給你的承諾、 提交于 2019-11-29 17:33:12
The source situation: I have an Notes Application which uses MS Office 2000 under Windows XP. The new situation has to be MS Office 2010 under Windows 7. IBM Notes is 8.5.3FP3. The old one uses a VBA template to communicate with Notes which works properly. At one time a Notes.NotesUiWorkSpace object is created to open a document, navigate to a richtext item, select all the content (formatted) and copy to the clipboard. Then the clipboard content ist pasted into the Word document via VBA. That works fine. The same code in the second environment doesn't work anymore. I noticed that the Notes

How do I close my window in Xpage?

血红的双手。 提交于 2019-11-29 15:10:34
Actually I am using the following code for closing my current window: window.close() The thing is, it is working fine in IE, but it is not working in FF and Chrome. Is their any great solution for doing this? window.close() works in 8.5.3 but only if parent contains an object and it will not do this if you have i.e an xpage that is opened inside an ordinary Notes application or a ordinary view. you need a window.open to get this. I have investigated alot about this a while ago but no luck finding an answer. The only way I found is that you need the Mindoo XPage2Esclipse plugin to get this to

Get table names from lotus notes database

筅森魡賤 提交于 2019-11-29 02:37:11
I'm trying to write a program that would dump a whole lotus notes database to a file via NotesSQL driver. I'm connecting via jdbc:odbc and have I can execute selects and get data from Lotus notes database here is the code try { System.out.print("Connecting... "); Connection con = DriverManager.getConnection("jdbc:odbc:NRC", "UserName", "Passw0rd1337"); System.out.println("OK"); DatabaseMetaData dmd = con.getMetaData(); String[] tableTypes = new String[] {"TABLE", "VIEW"}; ResultSet rs = dmd.getTables(null, null, "%", tableTypes); ResultSetMetaData rsd = rs.getMetaData(); while (rs.next()) {