Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get SQL provider list Pin
That's Aragon23-Dec-08 19:54
That's Aragon23-Dec-08 19:54 
GeneralRe: Get SQL provider list Pin
MS Lee23-Dec-08 22:14
MS Lee23-Dec-08 22:14 
GeneralRe: Get SQL provider list Pin
That's Aragon23-Dec-08 22:37
That's Aragon23-Dec-08 22:37 
QuestionProblem while launching an Application through windows service, Process.start() gives an error message Pin
fulbright23-Dec-08 18:44
fulbright23-Dec-08 18:44 
Question3D Canvas class Pin
a_david12323-Dec-08 18:20
a_david12323-Dec-08 18:20 
AnswerRe: 3D Canvas class Pin
Christian Graus23-Dec-08 21:46
protectorChristian Graus23-Dec-08 21:46 
QuestionAn API Question ? Pin
Mohammad Dayyan23-Dec-08 16:52
Mohammad Dayyan23-Dec-08 16:52 
AnswerRe: An API Question ? Pin
Christian Graus23-Dec-08 17:00
protectorChristian Graus23-Dec-08 17:00 
GeneralRe: An API Question ? Pin
Mohammad Dayyan23-Dec-08 17:03
Mohammad Dayyan23-Dec-08 17:03 
GeneralRe: An API Question ? Pin
N a v a n e e t h23-Dec-08 17:10
N a v a n e e t h23-Dec-08 17:10 
AnswerRe: An API Question ? Pin
N a v a n e e t h23-Dec-08 17:01
N a v a n e e t h23-Dec-08 17:01 
QuestionPostscript custom page size settings can not be remembered Pin
zhouql0523-Dec-08 16:43
zhouql0523-Dec-08 16:43 
QuestionWebBrowser and threads Pin
Matthew Klein23-Dec-08 13:33
Matthew Klein23-Dec-08 13:33 
GeneralRe: WebBrowser and threads Pin
Luc Pattyn23-Dec-08 13:55
sitebuilderLuc Pattyn23-Dec-08 13:55 
AnswerRe: WebBrowser and threads [modified] Pin
N a v a n e e t h23-Dec-08 16:45
N a v a n e e t h23-Dec-08 16:45 
AnswerRe: WebBrowser and threads Pin
Matthew Klein29-Dec-08 11:35
Matthew Klein29-Dec-08 11:35 
Thank you both! The way you two explained it made me realize "what I was missing."

In case this will help anyone else, I got my multithreading web automation to work by creating a new Form inside my void Run(); method, then attaching a new WebBrowser to it, and using that WebBrowser to perform my automatioins.
_WBForm = new Form();
_WBForm.Size = new System.Drawing.Size(410, 310);
_WBForm.Visible = false;
_WBForm.Resize += new EventHandler(_WBForm_Resize);

_WB = new WebBrowser();
_WBForm.Controls.Add(_WB);
_WB.Location = new System.Drawing.Point(5, 5);
_WB.Size = new System.Drawing.Size(400, 300);

While this didn't allow me to view the WebBrowser on my main form, it does allow me to actually multithread my search requests by having multiple webbrowser objects. I added a property to allow me to view what the thread was doing if I wanted to:
public bool ShowBrowser
{
    get
    {
        if(_WBForm != null && _WBForm.Visible)
            return true;
        else
            return false;
    }
    set
    {
        if (_WBForm != null)
        {
            if(value)
                _WBForm.Show();
            else
                _WBForm.Hide();
        }
    }
}


Thanks again all!
QuestionWhere to buy apps and programs from programmers? Pin
kevindill23-Dec-08 12:26
kevindill23-Dec-08 12:26 
AnswerRe: Where to buy apps and programs from programmers? Pin
PIEBALDconsult23-Dec-08 12:28
mvePIEBALDconsult23-Dec-08 12:28 
AnswerRe: Where to buy apps and programs from programmers? Pin
Not Active23-Dec-08 12:38
mentorNot Active23-Dec-08 12:38 
AnswerRe: Where to buy apps and programs from programmers? Pin
Christian Graus23-Dec-08 13:22
protectorChristian Graus23-Dec-08 13:22 
AnswerRe: Where to buy apps and programs from programmers? Pin
Matthew Klein23-Dec-08 13:34
Matthew Klein23-Dec-08 13:34 
GeneralRe: Where to buy apps and programs from programmers? Pin
Christian Graus23-Dec-08 13:38
protectorChristian Graus23-Dec-08 13:38 
QuestionHelp with a pathfinding problem Pin
xnastyx23-Dec-08 10:26
xnastyx23-Dec-08 10:26 
AnswerRe: Help with a pathfinding problem Pin
Not Active23-Dec-08 12:34
mentorNot Active23-Dec-08 12:34 
JokeRe: Help with a pathfinding problem Pin
Luc Pattyn23-Dec-08 14:01
sitebuilderLuc Pattyn23-Dec-08 14:01 

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.