E
ewingate
The following code which is supposed to dynamically create files with
incrementing names is throwing an exception due to the inclusion of the
DateTime.Now component of the sReportSave string:
string sReportSave = ( DateTime.Now + "Report.Dat" );
FileStream fs = new FileStream( sReportSave , FileMode.Create );
Is my approach completely wrong or is there different way to modify the
FileStream so that .NETclients used by multiple users could save files
incrementally without saving to the same file? The logic that I would
normally use for this sort of thing seems unsuitable due to the fact
that I am trying to make the clients run independantly of each other
even if used on the same machine.
-E
incrementing names is throwing an exception due to the inclusion of the
DateTime.Now component of the sReportSave string:
string sReportSave = ( DateTime.Now + "Report.Dat" );
FileStream fs = new FileStream( sReportSave , FileMode.Create );
Is my approach completely wrong or is there different way to modify the
FileStream so that .NETclients used by multiple users could save files
incrementally without saving to the same file? The logic that I would
normally use for this sort of thing seems unsuitable due to the fact
that I am trying to make the clients run independantly of each other
even if used on the same machine.
-E