EMERGENCY!! Toolbar Button_Click problem

  • Thread starter Thread starter Serkan DIRIARIN
  • Start date Start date
S

Serkan DIRIARIN

Hi all;

I am currently writing an application. I have a mainform and toolbar on that
form. When i assigned code to toolbars button_click event like this;

Select Case tlbMain.Buttons.IndexOf(e.Button)
Case 0

ss = New frmSearch
ss.ShowDialog()
...

....

...

End Select

when close my showdialog form i am getting the exception "External component
thrown an exception". But i writing code in another section such as menu's
click event run normally.. What is this exception? What is that's
resulation...



Thanks..
 
* "Serkan DIRIARIN said:
I am currently writing an application. I have a mainform and toolbar on that
form. When i assigned code to toolbars button_click event like this;

Select Case tlbMain.Buttons.IndexOf(e.Button)
Case 0

ss = New frmSearch
ss.ShowDialog()
...

....

...

End Select

when close my showdialog form i am getting the exception "External component
thrown an exception". But i writing code in another section such as menu's
click event run normally.. What is this exception? What is that's
resulation...

I am not able to repro this on a .NET 1.1 system (on Windows XP Professional).
 
i cant understand. Can you explain?
Note: My system is Windows XP Professional, Visual Basic.NET 2003 (.NET
Framework 1.1)
 
* "Serkan DIRIARIN said:
i cant understand. Can you explain?
Note: My system is Windows XP Professional, Visual Basic.NET 2003 (.NET
Framework 1.1)

I have a similar system but I am not able to reproduce the behavior --
on my machine no exception is raised.
 
Okay! What can i do? Do you wanna detailed information about my code
structure?

For starters, can you post the complete exception, including the stack
trace?

That would give an idea where in the code the error is occurring.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top