03-29-2006 08:17 AM
03-29-2006 08:57 AM - edited 03-29-2006 08:57 AM
You can call GetFmtIOError() to get more information about the error that was returned. Since you are using a relative file path (not an absolute path) is there any chance you made a call to a function that has changed the currently active directory between the call to LoadPanel and the call to OpenFile?
Message Edited by mvr on 03-29-2006 08:58 AM
03-29-2006 11:37 PM
Hi,
between the UIR call and the access to TXT file I have only some SetCtrlAttribute on the panel.
I will try to call the GetFmtIOError() to have more information.
Maybe this will require some time because the system is not in my factory but by a subcontractors that informed me about this issue.
I forget some details:
- I use the call with the relative path in other program (using both CVI6.0 and CVI 8.0) and till now I had no problems
- the file TXT that I want to load is small (2KB)
When I have more details I will post new message
Thanks
03-31-2006 07:40 AM
Hello,
I apologize for my support request, but I received different information from subcontarctor.
The first information I received was that UIR was called, but not updated by TXT.
In fact both was not loaded because the PC was not correctly configured.
Now everything is ok, UIR is correctly updated.
Sorry, and thanks to mvr for your answer.
baloss