winform安装部署问题求教
在vs2005中安装部署winform程序,用windows installer制作好安装文件,安装生成的exe文件在运行时出现异常:长度不能小于0,参数名:length。请教达人,不胜感激
详细信息:
System.ArgumentOutOfRangeException: 长度不能小于 0。
参数名: length
在 System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
在 WMSystem.UserInterface.LoginForm.btnApply_Click(Object sender, EventArgs e) 位置 F:\绿源 \10.11WMSystem\UserInterface\LoginForm.cs:行号 68
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
补充:.NET技术 , C#