Hi i have made some tests to get data from a view (notes db) on a domino server.
I want to use the COM server (domobj.tlb) to get the data.
I have downloaded the .net toolkit with some vb.net samples.
so far so good, i can get the data from local db’s…
but if i try to connect the domino server a exception is occured (!?)
----c# code-----------------------
Domino.NotesSession session;
Domino.NotesDatabase db;
Domino.NotesView view;
Domino.NotesDocument doc;
string subject;
try
{
session = new Domino.NotesSession();
session.Initialize("xxxxxx");
db = session.GetDatabase("SERVER1/OSP/CH", @"HelpDesk\CareCenter.nsf", false);
view = db.GetView("(Dispatcher)");
doc = view.GetFirstDocument();
if(doc != null)
{
subject = doc.GetFirstItem("ChainName").Text;
}
else
{
subject = "DB not found.";
}
label1.Text = subject;
}
catch(Exception ex)
{
label1.Text = "Error: " + ex.Message;
}
finally
{
session = null;
}
}
how do i’m get the docs from the view?
P.S.
Yes i have tryed the NotesSQL connector, but all users has a local installed Notes Client and NO NotesSQL is installed.
Thanks in advance for any tips ![]()
Volkan S.