Click here to Skip to main content
15,885,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello dear
plz help me

I am create new nsf file and create folder using code


persSession.CreateDatabase(DbFilename,DbServer,&Ndb);

Ndb.CreateDocument(&MyDocument);
LNText MySubjectText;
LNString Sub("hi my frist nsf file");
MySubjectText Sub;
MyDocument.CreateItem("Subject",MySubjectText,LNITEMFLAGS_SUMMARY,LNITEMOPTION_APPEND_ONLY);

MyDocument.Save();
Ndb.CreateFolder("omprakash",LNVFSHARING_SHARED, &Folder);
Folder.Save();
Folder.FolderAddDocument(MyDocument);

but not create folder and not open nsf file.
Posted
Updated 29-Jan-14 22:09pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900