Click here to Skip to main content
15,919,879 members
Home / Discussions / C#
   

C#

 
GeneralPrint file Pin
mehrdadc483-Feb-08 8:30
mehrdadc483-Feb-08 8:30 
QuestionStopping WaitForNextEvent() method? Pin
Dawid Mazuruk3-Feb-08 8:23
Dawid Mazuruk3-Feb-08 8:23 
AnswerRe: Stopping WaitForNextEvent() method? Pin
Alan N4-Feb-08 2:11
Alan N4-Feb-08 2:11 
GeneralRe: Stopping WaitForNextEvent() method? Pin
Dawid Mazuruk4-Feb-08 5:42
Dawid Mazuruk4-Feb-08 5:42 
Generalcreate webpage screenshot Pin
Razvan Dimescu3-Feb-08 7:11
Razvan Dimescu3-Feb-08 7:11 
GeneralRe: create webpage screenshot Pin
Ed.Poore3-Feb-08 12:10
Ed.Poore3-Feb-08 12:10 
GeneralRe: create webpage screenshot Pin
Razvan Dimescu4-Feb-08 2:02
Razvan Dimescu4-Feb-08 2:02 
GeneralUncatchable Error! Pin
usermans3-Feb-08 6:51
usermans3-Feb-08 6:51 
Hello, I am using the TreeView control (version 2.0) in a Visual Studio 2008 Windows application. Everything works fine on the development computer but when I deploy the program to the client's machine the control produces the following error when the user makes a few clicks on the nodes:

/////////////////////////////////////////////////////
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DivideByZeroException: Attempted to divide by zero.
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.TreeView.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.TreeView.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CarRent
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/ISS/CarRent%20Setup/CarRent.exe
----------------------------------------
////////////////////////////////////////////

I couldn't find any reasonable cause for this error, and I couldn't catch it! I surrounded all my code with try/catch blocks and none of them was able to catch the error!
One more thing to mention, the project that contains the control was originally developed in VS 2005 and then converted to VS 2008 format (I don't know if this has anything to do with the error, but I mentioned it, just in case).
GeneralRe: Uncatchable Error! Pin
DaveyM693-Feb-08 7:46
professionalDaveyM693-Feb-08 7:46 
GeneralRe: Uncatchable Error! Pin
MarkB7773-Feb-08 12:24
MarkB7773-Feb-08 12:24 
AnswerRe: Uncatchable Error! Pin
Matthew Butler3-Feb-08 13:46
Matthew Butler3-Feb-08 13:46 
GeneralString.Empty or "" Pin
Nadia Monalisa3-Feb-08 4:38
Nadia Monalisa3-Feb-08 4:38 
AnswerRe: String.Empty or "" Pin
Guffa3-Feb-08 4:45
Guffa3-Feb-08 4:45 
GeneralRe: String.Empty or "" Pin
Nadia Monalisa3-Feb-08 5:25
Nadia Monalisa3-Feb-08 5:25 
AnswerRe: String.Empty or "" Pin
Guffa3-Feb-08 6:29
Guffa3-Feb-08 6:29 
GeneralRe: String.Empty or "" Pin
Nadia Monalisa3-Feb-08 12:35
Nadia Monalisa3-Feb-08 12:35 
GeneralRe: String.Empty or "" Pin
Guffa3-Feb-08 16:09
Guffa3-Feb-08 16:09 
GeneralRe: String.Empty or "" Pin
PIEBALDconsult4-Feb-08 5:25
mvePIEBALDconsult4-Feb-08 5:25 
GeneralRe: String.Empty or "" Pin
Paul Conrad3-Feb-08 7:17
professionalPaul Conrad3-Feb-08 7:17 
GeneralRe: String.Empty or "" Pin
Nouman Bhatti4-Feb-08 3:34
Nouman Bhatti4-Feb-08 3:34 
GeneralRe: String.Empty or "" Pin
Le centriste4-Feb-08 8:35
Le centriste4-Feb-08 8:35 
Questionhow do i get owning process ID associated with each connection; like "netstat -o" Pin
mimar3-Feb-08 3:13
mimar3-Feb-08 3:13 
Questionhow i have a gridimage for load map with episodic block in c# Pin
f_ft3-Feb-08 2:47
f_ft3-Feb-08 2:47 
GeneralwebBrowser Referrer (Windows Form) Pin
ncjlee3-Feb-08 2:30
ncjlee3-Feb-08 2:30 
QuestionError - 182 -The left-hand side of an assignment must be a variable, property or indexer Pin
Ryno Burger3-Feb-08 1:24
Ryno Burger3-Feb-08 1:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.