Click here to Skip to main content
15,892,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Web Browser With Tabs Pin
jas0n231-Nov-08 14:02
jas0n231-Nov-08 14:02 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi1-Nov-08 19:57
Pedram Behroozi1-Nov-08 19:57 
GeneralRe: Web Browser With Tabs Pin
jas0n231-Nov-08 21:43
jas0n231-Nov-08 21:43 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi1-Nov-08 22:11
Pedram Behroozi1-Nov-08 22:11 
GeneralRe: Web Browser With Tabs Pin
jas0n231-Nov-08 22:30
jas0n231-Nov-08 22:30 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi1-Nov-08 23:04
Pedram Behroozi1-Nov-08 23:04 
GeneralRe: Web Browser With Tabs Pin
jas0n232-Nov-08 1:37
jas0n232-Nov-08 1:37 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi2-Nov-08 2:19
Pedram Behroozi2-Nov-08 2:19 
Oooooooooh,
Why didn't I notice before?
A WebBrowser control does NOT support the Text property!!!!
Laugh | :laugh:
But why did you get NullReferenceException?!!Confused | :confused:
I tried this code and did work for me well:
TabPage tp = new TabPage("Tab");
tabControl1.TabPages.Add(tp);
WebBrowser wb = new WebBrowser();

wb.Name = "WebBrowser1";
wb.Dock = DockStyle.Fill;

tp.Controls.Add(wb);

TabPage p = tabControl1.SelectedTab;
(p.Controls["WebBrowser1"] as WebBrowser).DocumentText = "Hello!";


When you're alone in the Dark, Fear will protect you...

GeneralRe: Web Browser With Tabs Pin
jas0n232-Nov-08 3:05
jas0n232-Nov-08 3:05 
GeneralRe: Web Browser With Tabs Pin
Pedram Behroozi2-Nov-08 5:16
Pedram Behroozi2-Nov-08 5:16 
QuestionHelp With dataGridView Copy and Paste Feature Pin
That Asian Guy1-Nov-08 9:02
That Asian Guy1-Nov-08 9:02 
GeneralRe: Help With dataGridView Copy and Paste Feature Pin
That Asian Guy1-Nov-08 14:47
That Asian Guy1-Nov-08 14:47 
QuestionGenerate ordered sequence of 11 numbers Pin
J-Cod3r1-Nov-08 7:57
J-Cod3r1-Nov-08 7:57 
GeneralRe: Generate ordered sequence of 11 numbers Pin
Luc Pattyn1-Nov-08 8:40
sitebuilderLuc Pattyn1-Nov-08 8:40 
Questiondatatable and datareader Pin
Zeyad Jalil1-Nov-08 6:58
professionalZeyad Jalil1-Nov-08 6:58 
QuestionHow can we create a plugin for IE with C# ? Pin
Mohammad Dayyan1-Nov-08 5:32
Mohammad Dayyan1-Nov-08 5:32 
AnswerRe: How can we create a plugin for IE with C# ? Pin
Pedram Behroozi1-Nov-08 6:21
Pedram Behroozi1-Nov-08 6:21 
QuestionSplitting a MP3 file ? Pin
Mohammad Dayyan1-Nov-08 4:53
Mohammad Dayyan1-Nov-08 4:53 
AnswerRe: Splitting a MP3 file ? Pin
DaveyM691-Nov-08 5:06
professionalDaveyM691-Nov-08 5:06 
AnswerRe: Splitting a MP3 file ? Pin
Guffa1-Nov-08 5:59
Guffa1-Nov-08 5:59 
GeneralRe: Splitting a MP3 file ? Pin
Mohammad Dayyan1-Nov-08 6:05
Mohammad Dayyan1-Nov-08 6:05 
GeneralRe: Splitting a MP3 file ? Pin
DavidNohejl1-Nov-08 13:03
DavidNohejl1-Nov-08 13:03 
QuestionHow i CReate Ajax Control Pin
IshtiaqueJ1-Nov-08 4:18
IshtiaqueJ1-Nov-08 4:18 
AnswerRe: How i CReate Ajax Control Pin
Pedram Behroozi1-Nov-08 6:56
Pedram Behroozi1-Nov-08 6:56 
QuestionHow to insert text in RichTextBox where the mouse pointer is? Pin
Mathias Hoppe1-Nov-08 4:12
Mathias Hoppe1-Nov-08 4:12 

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.