Click here to Skip to main content
16,008,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionClass {BD4B4E61-F7B8-11D0-964D-00A0C9273C2A} Pin
Krishnamenon31-Aug-05 18:35
Krishnamenon31-Aug-05 18:35 
AnswerRe: Class {BD4B4E61-F7B8-11D0-964D-00A0C9273C2A} Pin
Dave Kreskowiak1-Sep-05 1:38
mveDave Kreskowiak1-Sep-05 1:38 
QuestionTime management system Pin
Zakiro31-Aug-05 16:57
Zakiro31-Aug-05 16:57 
QuestionBinding help please Pin
romeric31-Aug-05 16:23
romeric31-Aug-05 16:23 
AnswerRe: Binding help please Pin
Taen_Karth31-Aug-05 16:43
Taen_Karth31-Aug-05 16:43 
QuestionWindows HotKey Pin
Taen_Karth31-Aug-05 15:36
Taen_Karth31-Aug-05 15:36 
AnswerRe: Windows HotKey Pin
Taen_Karth1-Sep-05 17:08
Taen_Karth1-Sep-05 17:08 
QuestionDynamic Tab pages and Streamwriter Pin
Taen_Karth31-Aug-05 15:01
Taen_Karth31-Aug-05 15:01 
The small app that I am developing is a simple form with a tab control on it. The form currently performs the following:

On load it dynamically creates a TabPage and dynamically creates a RichTextBox inside that new TabPage.

Their is a menu option and a context choivce that will create a new TabPage with a new RichTextBox inside the same TabControl.

Here is the problem:

When I use the SaveDialog I can save the first Tab that was created but I cannot seem to save the other tabs that I dynamically create.

I think that the reason is that I use the same object names each time and I don't know how to differentiate between them. I have tried doing SelectedTab but then I don't know how to address a RichtextBox that is not there before runtime.

Any ideas?

Thanks,

Taen Karth
AnswerRe: Dynamic Tab pages and Streamwriter Pin
Icharus1-Sep-05 5:28
Icharus1-Sep-05 5:28 
GeneralRe: Dynamic Tab pages and Streamwriter Pin
taenkarth1-Sep-05 11:08
taenkarth1-Sep-05 11:08 
GeneralRe: Dynamic Tab pages and Streamwriter Pin
Taen_Karth1-Sep-05 17:07
Taen_Karth1-Sep-05 17:07 
GeneralRe: Dynamic Tab pages and Streamwriter Pin
Icharus2-Sep-05 5:21
Icharus2-Sep-05 5:21 
GeneralRe: Dynamic Tab pages and Streamwriter Pin
Taen_Karth2-Sep-05 6:10
Taen_Karth2-Sep-05 6:10 
GeneralRe: Dynamic Tab pages and Streamwriter Pin
Icharus2-Sep-05 6:34
Icharus2-Sep-05 6:34 
QuestionShowDialog Bug Pin
Icharus31-Aug-05 12:22
Icharus31-Aug-05 12:22 
QuestionQuick Syntax Question Pin
daviiie31-Aug-05 10:15
daviiie31-Aug-05 10:15 
AnswerRe: Quick Syntax Question Pin
ToddHileHoffer31-Aug-05 10:34
ToddHileHoffer31-Aug-05 10:34 
AnswerRe: Quick Syntax Question Pin
Icharus31-Aug-05 12:55
Icharus31-Aug-05 12:55 
QuestionWindows Service and Outlook Pin
FeejayFred31-Aug-05 8:31
FeejayFred31-Aug-05 8:31 
GeneralRe: Windows Service and Outlook: An Update Pin
FeejayFred31-Aug-05 9:05
FeejayFred31-Aug-05 9:05 
QuestionPop Up Menu Pin
No-e31-Aug-05 8:21
No-e31-Aug-05 8:21 
AnswerRe: Pop Up Menu Pin
Mark0631-Aug-05 13:02
Mark0631-Aug-05 13:02 
GeneralRe: Pop Up Menu Pin
No-e1-Sep-05 2:25
No-e1-Sep-05 2:25 
QuestionNow what - distribute ActiveX control Pin
john john mackey31-Aug-05 8:09
john john mackey31-Aug-05 8:09 
QuestionDataSets vs Queries Pin
medicenpringles31-Aug-05 7:52
medicenpringles31-Aug-05 7:52 

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.