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 luckSandeep0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings