Posted on 1999-06-25
Medium Priority
Last Modified: 2013-12-18
How to call data control ocx which is there in vb
and how to use that control in lotusnotes

If you are working in vb how to dump the values from vb into
lotusnotes documents
please help me out
Question by:rajanb
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 1119599
u can use embedded objects, or put an activeX in an RTF.  There is a good book in www.lotus.com/redbooks called 'lotus script for visual basic programmers' I think it might be of help.

Accepted Solution

ghassan99 earned 50 total points
ID: 1119600
This is an example from the book, to copy a field from a document and put its value in another fields in another document. u can modify it for your use.  I suggest u check this book, its a GREAT free book from Lotus:

Dim session As Object
Dim db As Object
Dim view As Object
Dim doc_src As Object
Dim doc_dest As Object
Dim item As Object
Set session = CreateObject("notes.notessession")
Set db = session.GetDatabase("", "test.nsf")
Set view = db.GetView("By Author")
Set doc_src = view.GetFirstDocument()
Set doc_dest = view.GetNextDocument(doc_src)
Set item = doc_src.GetFirstItem("Subject")
Call item.CopyItemToDocument(doc_dest, "Subject")
Call item.Remove
Call doc_src.Save(True, False)
Call doc_dest.Save(True, False)
Set session = Nothing

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question