Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cannot access disposed object error Pin
AndrusM16-Apr-07 7:48
AndrusM16-Apr-07 7:48 
QuestionGetting Pixel Value Pin
Saikek15-Apr-07 10:27
Saikek15-Apr-07 10:27 
AnswerRe: Getting Pixel Value Pin
Christian Graus15-Apr-07 11:14
protectorChristian Graus15-Apr-07 11:14 
QuestionProblem with ContextMenu? [modified] Pin
Khoramdin15-Apr-07 10:18
Khoramdin15-Apr-07 10:18 
AnswerRe: Problem with ContextMenu? Pin
Judah Gabriel Himango17-Apr-07 3:41
sponsorJudah Gabriel Himango17-Apr-07 3:41 
QuestionReading Data From Database Pin
microuser_200015-Apr-07 9:20
microuser_200015-Apr-07 9:20 
AnswerRe: Reading Data From Database Pin
Christian Graus15-Apr-07 11:15
protectorChristian Graus15-Apr-07 11:15 
QuestionWebBrowser 2.0 in Multithread application Pin
cardy115-Apr-07 8:55
cardy115-Apr-07 8:55 
Hello! I'm having a lot of problem using the WebBrowser in VS2005. Surfing the web, I learnt that this component is only a wrapper of the active-x component of Internet Explorer. Is impossibile to use this in multithead applications.
I listened that the reason is because each instance of WebBrowser refers to the same object and it could process one request at time (single-thread use only).Mad | :mad:
I have a form called "formA" that is my main form and another form, called "formB"that is the form wh0o contains the WebBrowser . When a particular event occurs in my app(formA) I need that a new formB is launched (shown) in a new thread,more than once.
Instead of multiple formB I see only once of all, and i see the new one only when I close the previous one.
Ex:
<br />
public void FormA_custom_event(){<br />
Form B=new FormB();<br />
Thead t=new Thread(new ThreadStart(B._ShowDialog));<br />
t1.Start();<br />
}<br />
[...].br />
<br />
//FormB.cs<br />
//I need to use a method with the void signature to run in the thread<br />
//I need to use the ShowDialog() instead of the Show() method because else the thread will terminate immediately after the call of Start() method<br />
<br />
public void _ShowDialog(){<br />
this.ShowDialog();<br />
<br />
}<br />


I apoligize for my bad english but I'm Italian ;Pand my english is really poor. I hope that someone can help me because I'm gettin crazy... Thanx for any reply.;)
AnswerRe: WebBrowser 2.0 in Multithread application Pin
Luc Pattyn15-Apr-07 9:26
sitebuilderLuc Pattyn15-Apr-07 9:26 
AnswerRe: WebBrowser 2.0 in Multithread application Pin
cardy115-Apr-07 10:18
cardy115-Apr-07 10:18 
GeneralRe: WebBrowser 2.0 in Multithread application Pin
Luc Pattyn15-Apr-07 11:35
sitebuilderLuc Pattyn15-Apr-07 11:35 
AnswerRe: WebBrowser 2.0 in Multithread application Pin
cardy125-Apr-07 3:41
cardy125-Apr-07 3:41 
QuestionHow to open last form on startup Pin
AndrusM15-Apr-07 8:07
AndrusM15-Apr-07 8:07 
AnswerRe: How to open last form on startup Pin
Christian Graus15-Apr-07 11:28
protectorChristian Graus15-Apr-07 11:28 
GeneralRe: How to open last form on startup Pin
AndrusM15-Apr-07 11:52
AndrusM15-Apr-07 11:52 
GeneralRe: How to open last form on startup Pin
Christian Graus15-Apr-07 12:02
protectorChristian Graus15-Apr-07 12:02 
GeneralRe: How to open last form on startup Pin
AndrusM15-Apr-07 12:12
AndrusM15-Apr-07 12:12 
GeneralRe: How to open last form on startup Pin
Christian Graus15-Apr-07 12:21
protectorChristian Graus15-Apr-07 12:21 
GeneralRe: How to open last form on startup Pin
AndrusM16-Apr-07 5:05
AndrusM16-Apr-07 5:05 
QuestionC# Asynchronous Sockets Pin
snapplegil15-Apr-07 7:49
snapplegil15-Apr-07 7:49 
AnswerRe: C# Asynchronous Sockets Pin
pbraun15-Apr-07 12:36
pbraun15-Apr-07 12:36 
GeneralRe: C# Asynchronous Sockets Pin
snapplegil15-Apr-07 17:15
snapplegil15-Apr-07 17:15 
GeneralRe: C# Asynchronous Sockets Pin
pbraun15-Apr-07 17:29
pbraun15-Apr-07 17:29 
Questiondrag & drop problem Pin
xtremetechnology15-Apr-07 6:23
xtremetechnology15-Apr-07 6:23 
AnswerRe: drag & drop problem Pin
Luc Pattyn15-Apr-07 8:54
sitebuilderLuc Pattyn15-Apr-07 8:54 

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.