c# - Parsing local file -


i want parse local file (.txt) , this. can help?

i use visual studio 2012 , make win8 app using grid template.

an unhandled exception of type 'system.exception' occurred in mscorlib.dll

winrt information: invalid character @ position 1063.

additional information: invalid json string.

app.xaml.cs:

      protected override async void onlaunched(launchactivatedeventargs args)     {         frame rootframe = window.current.content frame;            if (rootframe == null)         {             // create frame act navigation context , navigate first page             rootframe = new frame();             //associate frame suspensionmanager key                                             suspensionmanager.registerframe(rootframe, "appframe");              if (args.previousexecutionstate == applicationexecutionstate.terminated)             {                 // restore saved session state when appropriate                 try                 {                      await suspensionmanager.restoreasync();                 }                 catch (suspensionmanagerexception)                 {                   }             }              if (args.previousexecutionstate == applicationexecutionstate.running)             {                  window.current.activate();             }              await vitsitdatasource.loadlocaldataasync();                  window.current.content = rootframe;         }          if (rootframe.content == null)         {             if (!rootframe.navigate(typeof(groupeditemspage), "allgroups"))             {                  throw new exception("failed create initial page");             }         }         // ensure current window active         window.current.activate();     } 


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -