Faulty CombinePaths reference
Posted: Sun Aug 19, 2007 7:07 pm
I'm sorry to post this as I'm sure it will be corrected quickly in the current 5.0.x SVN. The solution could not build because of a faulty reference to ODFileUtils.CombinePaths in FormCommunications.cs which tried to combine 3 strings though it can only combine two. This error broke my previous testing build.
I simply converted the triple combine in butStationary_Click to two double combines as follows:
Again apologies for posting.
I simply converted the triple combine in butStationary_Click to two double combines as follows:
Code: Select all
try {
this.Cursor = Cursors.AppStarting;
string patFolder=ODFileUtils.CombinePaths(
FormPath.GetPreferredImagePath(),
ODFileUtils.CombinePaths(
PatCur.ImageFolder.Substring(0, 1),
PatCur.ImageFolder)
);