Adding a route in v.646

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TBlake
    Senior Member
    • Feb 2009
    • 266
    • Western Pacific - 2nd Sub

    #1

    Adding a route in v.646

    I am having a problem adding Mini-routes in v.646

    Main routes are on C:\ drive as well as OR. I have additional Mini-routes on D:\, E:\, F:\, G:\ & H:\ Drives

    there is no problem adding from C:\drive, but when I try to add any other routes on drives other than C:\
    -> Add route > Browse for folder > folder description > Error (Unhandled exception).

    I get this for the text about the error:

    ************** Exception Text **************
    System.ArgumentNullException: Path cannot be null.
    Parameter name: path
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    at System.IO.File.Open(String path, FileMode mode)
    at ORTS.MainForm.SaveFolders()
    at ORTS.MainForm.buttonFolderAdd_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ------------ ---------- ----------------
    Menu
    Assembly Version: 0.0.4082.32977
    Win32 Version: 0.0.4082.32977
    CodeBase: file:///C:/MSTS/Open%20Rails/openrails%20v0.645/Program/Menu.exe
    ------------ ---------- ----------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ------------ ---------- ----------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ------------ ---------- ----------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ------------ ---------- ----------------
    System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    ------------ ---------- ----------------

    BUT if I use v.360 to add the other routes, then v.646 is happy to use them.

    My system is XP Pro SP3

    TBlake
    'Tony'
  • longiron
    1000 Post Veteran and Moderator

    • Jan 2007
    • 1453
    • Just south of NYC

    #2
    If you are using the new UI, please make sure you have .NET 3.1 Service Pack 1 installed. Without SP1, the new Windows Forms based-menu system will not work properly.
    Chris
    "True rail fans have two favorite railroads. The B&O and one other."

    Comment

    • TBlake
      Senior Member
      • Feb 2009
      • 266
      • Western Pacific - 2nd Sub

      #3
      Originally posted by longiron
      If you are using the new UI, please make sure you have .NET 3.1 Service Pack 1 installed. Without SP1, the new Windows Forms based-menu system will not work properly.
      The new UI works the way it should, It is the old UI that will not save.

      TBlake
      'Tony'

      Comment

      • twpol
        Senior Member
        • Oct 2009
        • 434
        • United Kingdom

        #4
        Originally posted by TBlake
        I am having a problem adding Mini-routes in v.646
        The Windows Forms menu in V0.6.1 has a bug preventing adding new folders, unfortunately; you can try switching to the other menu style to add them and then switching back.
        James Ross
        Open Rails Management Team
        sigpic

        Comment

        Working...