Click here to Skip to main content
15,900,511 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can I add IMAPI 2.0 to my project in vb.net? Pin
JUNEYT11-Mar-07 11:52
JUNEYT11-Mar-07 11:52 
AnswerRe: How can I add IMAPI 2.0 to my project in vb.net? Pin
M-Hall11-Mar-07 16:00
M-Hall11-Mar-07 16:00 
GeneralRe: How can I add IMAPI 2.0 to my project in vb.net? Pin
JUNEYT11-Mar-07 15:18
JUNEYT11-Mar-07 15:18 
GeneralRe: How can I add IMAPI 2.0 to my project in vb.net? [modified] Pin
M-Hall11-Mar-07 16:47
M-Hall11-Mar-07 16:47 
QuestionInsert tab pages dinamically to a tab control Pin
Narenge11-Mar-07 11:26
Narenge11-Mar-07 11:26 
AnswerRe: Insert tab pages dinamically to a tab control Pin
JUNEYT11-Mar-07 12:58
JUNEYT11-Mar-07 12:58 
GeneralRe: Insert tab pages dinamically to a tab control Pin
Narenge11-Mar-07 13:36
Narenge11-Mar-07 13:36 
GeneralRe: Insert tab pages dinamically to a tab control Pin
JUNEYT11-Mar-07 15:54
JUNEYT11-Mar-07 15:54 
First, I am sorry to say that your english is not good enough because I am confused by your posted messages.

You can't add any textbox, label or etc. to tabpage in runtime but tab page to tabcontrol. You can simply place a textbox or a richtextbox inside a tabpage and then open the specific file and assign its content to that textbox.

This sample code can give you some insight how to open a file and add it to richtextbox in tabpage.

Scenerio: First, place a button on the form and OpenFileDialog control, place a richtextbox control inside the tab page and then place the code below for button's click procedure. Then run it and press the button. This sample works for only rtf. extensioned files. WTF | :WTF:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    OpenFileDialog1.Filter = "*.rtf|"
    OpenFileDialog1.RestoreDirectory = True
    OpenFileDialog1.ShowDialog()

    If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
        RichTextBox1.LoadFile(OpenFileDialog1.FileName)
    End If

End Sub




What a curious mind needs to discover knowledge is noting else than a pin-hole.


GeneralRe: Insert tab pages dinamically to a tab control Pin
TwoFaced11-Mar-07 17:04
TwoFaced11-Mar-07 17:04 
GeneralRe: Insert tab pages dinamically to a tab control Pin
JUNEYT12-Mar-07 0:21
JUNEYT12-Mar-07 0:21 
GeneralRe: Insert tab pages dinamically to a tab control Pin
Narenge11-Mar-07 22:50
Narenge11-Mar-07 22:50 
AnswerRe: Draw graphs in .Net enviroment Pin
Christian Graus11-Mar-07 11:46
protectorChristian Graus11-Mar-07 11:46 
QuestionWhat API and COM object I should you for CD or DVD burning? Pin
JUNEYT11-Mar-07 8:01
JUNEYT11-Mar-07 8:01 
AnswerRe: What API and COM object I should you for CD or DVD burning? Pin
Daytona_67511-Mar-07 9:27
Daytona_67511-Mar-07 9:27 
GeneralRe: What API and COM object I should you for CD or DVD burning? Pin
JUNEYT11-Mar-07 12:12
JUNEYT11-Mar-07 12:12 
Questionhelp!!! Pin
singla12345678911-Mar-07 7:51
singla12345678911-Mar-07 7:51 
AnswerRe: help!!! Pin
Christian Graus11-Mar-07 11:47
protectorChristian Graus11-Mar-07 11:47 
GeneralRe: help!!! Pin
singla12345678911-Mar-07 18:54
singla12345678911-Mar-07 18:54 
GeneralRe: help!!! Pin
Dave Kreskowiak12-Mar-07 3:09
mveDave Kreskowiak12-Mar-07 3:09 
Question2 Questions Pin
Muhammad Nauman Yousuf11-Mar-07 5:13
Muhammad Nauman Yousuf11-Mar-07 5:13 
AnswerRe: 2 Questions Pin
JUNEYT11-Mar-07 7:38
JUNEYT11-Mar-07 7:38 
QuestionTaking a Print Screen in VB.NET Pin
DJLarZ11-Mar-07 4:42
DJLarZ11-Mar-07 4:42 
AnswerRe: Taking a Print Screen in VB.NET Pin
manni_n11-Mar-07 4:16
manni_n11-Mar-07 4:16 
GeneralRe: Taking a Print Screen in VB.NET Pin
DJLarZ11-Mar-07 10:52
DJLarZ11-Mar-07 10:52 
AnswerRe: Taking a Print Screen in VB.NET Pin
Daytona_67511-Mar-07 12:31
Daytona_67511-Mar-07 12:31 

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.