报错情况是:
Exception Text **************
System.ArgumentException: Argument 'Path' is Nothing or empty.
   at Microsoft.VisualBasic.Interaction.CheckPathComponent(String s)
   at Microsoft.VisualBasic.Interaction.GetSetting(String AppName, String Section, String Key, String Default)
   at Sign_In.SignIn.SignIn_Load(Object eventSender, EventArgs eventArgs) in C:\Users\xxx\Desktop\Senior Project\Sign_In.NET\signin.vb:line 34
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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)不知道是怎么回事,新人学VB,望能指点下.

解决方案 »

  1.   

    CheckPathComponent函数的Path参数你没有赋值或者赋的是空值,原因应该是用GetSetting函数从配置文件里没有读出东西。检查一下你的配置文件和GetSetting函数返回的结果。
      

  2.   

    问题自己解决了,把Assembly Information里面的Title改了一下就解决了,不过还是谢谢1L了。