Hi
i need a functionality same like want to implement using sharepoint object model in vis 2010
when user select an item in document library and go to Library tools>documents>edit document
and after whater ever according to library settings document shuld open for edit
(example microsfot word or browser)
I need functionality same like in my c# code
i have spfile object now , using this how accomplish my requirement
SPFilespfile = library.RootFolder.Files.Add(fileName, fileStream, true);
adil