I’m looking for a tool or technique to automate the creation of .NDL files. Ideally, when looking at any document in any database, I’d like to be able to click a toolbar button and have the system create the .NDL file on disk, open a new Outlook message, and attach the .NDL file. I can handle the Outlook automation, but I’d like to know if there’s a tool/library that will handle the creation of the .NDL file for me.
P.S. I already know about Genii Software’s Rich Text LSX.; my company wontt spring for a product just to add this capability. Sorry, Ben!
I have just been writing a freebie tool to do just this (for a presentation I am doing next Tuesday in Germany). Drop me a line and I’ll send you a copy.
In case you don’t get a response to this old thread, here’s the crude technique I use in Windows. The user selects the document, uses Edit, Copy As Link, Document Link, then clicks on the smarticon I provide. The smarticon calls a VBS file via CScript (passing to it the documentunid) which then invokes Notepad, pastes the doclink then save it as an NDL file using the docid for the filename. The VBS code is below
Dim objShell, objArgs
Dim fso, f1, sFile
Set objArgs = WScript.Arguments
sFile = objArgs(0)
Set fso = CreateObject(“Scripting.FileSystemObject”)