Retrieving the current file name


NeilSS

Recommended Posts

I thought this would be quite simple.

I am running full DAQ Factory with a U3 on Windows 7.0 SP1.

I need to get the name of the file currently running (the ctl file) and store it into the registry.

It is getting the file name I am struggling with.

I am obviously missing some basic information. I have tried File.GetFileName without success and scanned the forum for solutions..

I cannot use the OPEN function as I potentially do not know the file name.

Any help greatly appreciated.

Thanks.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.