|
-
May 11th, 1999, 09:30 AM
#1
Help on replacing part of a string
Path path(ToString(backUpPath));
VRIniInfo vrIniInfo = theApp.GetVRIniInfo();
CString lessonPath = vrIniInfo.GetLessonBasePath();
CString reponsePath = vrIniInfo.GetResponseBasePath();
CString destLesson = path.AppendToPath("Lavac\record.sav");
CString destResp = path.AppendToPath("Lavac\LECONS");
For example
lessonPath = C:\Lavac\LECONS
reponsePath = C:\Lavac\record.sav
destLesson = G:\temp\Lavac\LECONS
destResp = G:\temp\Lavac\record.sav
I need to be able to replace C:\ by G:\temp
Does anyone have a suggestion?
Thank You
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|