Message 1 of 6
findfile

Not applicable
05-23-2005
07:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to use the .net findfile but I am getting the eror
CS0120: An object refernce is required for the nonstatic field, methor or property
Database db = HostApplicationServices.WorkingDatabase;
FindFileHint hnt = 0;
System.String fileName= "acaddoc.lsp";
string retpath = HostApplicationServices.FindFile(fileName, db , hnt);
Thanks
Mark
I am trying to use the .net findfile but I am getting the eror
CS0120: An object refernce is required for the nonstatic field, methor or property
Database db = HostApplicationServices.WorkingDatabase;
FindFileHint hnt = 0;
System.String fileName= "acaddoc.lsp";
string retpath = HostApplicationServices.FindFile(fileName, db , hnt);
Thanks
Mark