basis:
- an empty/blank RVE.
- a RVF file with the only content "test"
# If I try to load the RVF from my RVA "Open"-button everything works fine ! (Content "test" is readable.)
# If I try to load the same RVF into the same RVE via InsertRVFFromFileEd, I get "list index out of bounds(-1)"
# If I try to load the same RVF into the same RVE via rvActionOpen1->LoadFile(...ffiRVF),
nothing happens. (How to control success of loading in this case ?)
Thank you for some helpful hints !
Best regards
Intis
InsertRVFFromFileEd vs. rvActionOpen1->LoadFile(...ffiRVF
-
- Site Admin
- Posts: 17520
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
InsertRVFFromFileEd is an editing method. You must be sure that the document is formatted before its call. TrvActionInsertFile uses this method.
TrvActionOpen.LoadFile is called in the ActionTest demo to load the initial file, so it's strange that it did not work in your application.
Can you send a simple project reproducing these problems to me?
TrvActionOpen.LoadFile is called in the ActionTest demo to load the initial file, so it's strange that it did not work in your application.
Can you send a simple project reproducing these problems to me?