搜索
热搜: 活动 交友 discuz
查看: 1345|回复: 3
收起左侧

[已记录] 数据存储建议

[复制链接]

该用户从未签到

发表于 2013-9-12 08:47:13 | 显示全部楼层 |阅读模式
目前记录的用户信息均存储在appdata/roaming下,考虑到格式化后就咩有了,所以建议能否存储在程序目录中?

谢谢~
  • TA的每日心情
    奋斗
    2019-1-5 01:55
  • 签到天数: 138 天

    [LV.7]常住居民III

    发表于 2013-9-12 14:59:48 | 显示全部楼层
    储存在程序目录需要管理员权限,不过可以考虑。谢谢您的建议。

    该用户从未签到

    发表于 2013-9-12 19:04:40 | 显示全部楼层
    错误信息
    -----------------------------------------------------
    System.NullReferenceException: Object reference not set to an instance of an object.
       at ..(String )
       at ...ctor(String userName)
       at ..(String )
       at ..(Object , EventArgs )
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs 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.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    环境信息
    -----------------------------------------------------
    操作系统版本:Microsoft Windows NT 6.1.7600.0
    程序运行目录:C:\Users\库\Desktop\新建文件夹\12306订票助手.NET


    模块信息
    -----------------------------------------------------
    [001]. mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
    [002]. 12306订票助手, Version=1.1.0.122, Culture=neutral, PublicKeyToken=8bf54bd6729f490c , C:\Users\库\Desktop\新建文件夹\12306订票助手.NET\12306订票助手.exe
    [003]. System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    [004]. System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    [005]. System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
    [006]. System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    [007]. System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
    [008]. System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
    [009]. Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed , C:\Users\库\Desktop\新建文件夹\12306订票助手.NET\Newtonsoft.Json.dll
    [010]. System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
    [011]. System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll
    [012]. System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
    [013]. System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll
    [014]. System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 , C:\windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
    [015]. SimpleUpdater, Version=2.2.0.0, Culture=neutral, PublicKeyToken=8bf54bd6729f490c , C:\Users\库\Desktop\新建文件夹\12306订票助手.NET\SimpleUpdater.dll
    [016]. gh5p5112, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null ,


    该用户从未签到

    发表于 2013-9-12 19:05:18 | 显示全部楼层
    木鱼看看昨天能用今天不能用了!!!!!!!!!!:Q
    您需要登录后才可以回帖 登录 | 入住

    本版积分规则

    申请友链| Archiver| 手机版| 鱼·后花园

    GMT+8, 2024-11-23 15:36 , Processed in 0.018725 second(s), 16 queries , Redis On.

    Powered by Discuz! X3.4

    © 2005-2024 鱼·后花园

    快速回复 返回顶部 返回列表