Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
FlexPedant SDK Problem with load XML File
Paulaner
✭
Hello,
i try to open and read an XML-File from the hardrive. This Folder is the system-home directory. but unfortunatly it is not working. the program detect an error.
that is my programcode:
XmlDocument Doc = new XmlDocument();
try
{
if (FileSys.Exists(FilePath))
{
Doc.Load(FilePath); //here is the fould!
the string FilePath is ok. the reason why the system chrashs i do not know.
does anybody know what the mistake is?
thanks for the help.

sorry. i have forgotten a importen thing. the complete programm is runing under a virtuel system. on a real robot the program have this fould.
programming with.
framework 2.0
tested with virtuel system 5.13. Ok!
tested with a real system 5.14. Not Ok!
Paulaner2012-03-24 20:48:00
0
Comments
-
Check if the XML is being used by anyother process..orcatch the exception and see the exception message.you could get more details about the flaw.good luck
Sandeep0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings