Norbert,
I recommend that you use ActiveX for the following reasons.
1. ActiveX the connectivity technology that Microsoft is supporting moving forward. DDE is more or less no longer supported.
2. There are a limited number of things you can do with Excel via DDE. Virtually all functionality in Excel is exposed programmatically via the ActiveX interface.
3. CVI 6.0 provides excelreport.fp. This wrapper on top of the ActiveX interface provides a cleaner interface to the functionality that you are most likely going to want to use from a typical CVI application. Note that you can use these functions together with the full ActiveX Excel interface. You can find excelreport.fp in \CVI\Samples\ActiveX\Excel.
As far as controlling the access, you could go thro
ugh Windows2000 security for the file. You would need to use the Win32 SDK to do this (requires CVI FDS). This is probably overkill unless you are trying to protect the file from malicious users. If you just want to make it not obvious that it is an Excel spreadsheet, a quick and dirty solution would be to rename the file to have a different extension before and after you access it from your CVI program.
David Rohacek
National Instruments