Click here to Skip to main content
15,924,367 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: split "C:\hello" "C:\h\ddd" Pin
Dave Kreskowiak3-Jun-04 6:56
mveDave Kreskowiak3-Jun-04 6:56 
GeneralRe: split "C:\hello" "C:\h\ddd" Pin
Spanky33-Jun-04 13:53
Spanky33-Jun-04 13:53 
GeneralRe: split "C:\hello" "C:\h\ddd" Pin
Dave Kreskowiak3-Jun-04 14:17
mveDave Kreskowiak3-Jun-04 14:17 
GeneralRe: split "C:\hello" "C:\h\ddd" Pin
dnmanner5-Jun-04 16:58
dnmanner5-Jun-04 16:58 
GeneralAccessing another form's controls Pin
Anonymous3-Jun-04 6:11
Anonymous3-Jun-04 6:11 
GeneralRe: Accessing another form's controls Pin
Dave Kreskowiak3-Jun-04 6:47
mveDave Kreskowiak3-Jun-04 6:47 
GeneralRe: Accessing another form's controls Pin
Kavari3-Jun-04 17:20
sussKavari3-Jun-04 17:20 
GeneralRe: Accessing another form's controls Pin
Dave Kreskowiak4-Jun-04 0:35
mveDave Kreskowiak4-Jun-04 0:35 
I take it you mean how do you call the LoadFile method from the MDI Parent? You use the ActiveMDIChild property of the Parent form, point a variable at it, then access it's RichTextBox control:
Dim activeChild As Form2 = Me.ActiveMDIChild
If (Not activeChild Is Nothing) Then
    Try
        activeChild.RichTextBox1.LoadFile(whatever you're using to pass the filename)
    Catch
        MessageBox.Show("A problem occured loading the file...")
    End Try
End If



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Accessing another form's controls Pin
VB Crazy4-Jun-04 2:05
VB Crazy4-Jun-04 2:05 
GeneralRe: Accessing another form's controls Pin
kavari4-Jun-04 2:05
susskavari4-Jun-04 2:05 
GeneralRe: Accessing another form's controls Pin
Kavari3-Jun-04 17:22
sussKavari3-Jun-04 17:22 
GeneralRe: Accessing another form's controls Pin
Kavari3-Jun-04 17:22
sussKavari3-Jun-04 17:22 
GeneralGPRS Connection Pin
scarr3-Jun-04 2:12
scarr3-Jun-04 2:12 
GeneralSo Mad Pin
Doing4him2-Jun-04 20:09
Doing4him2-Jun-04 20:09 
GeneralRe: So Mad Pin
RichardGrimmer2-Jun-04 21:20
RichardGrimmer2-Jun-04 21:20 
GeneralRe: So Mad Pin
steff kamush2-Jun-04 23:20
steff kamush2-Jun-04 23:20 
GeneralRe: So Mad Pin
tanstaafl283-Jun-04 6:11
tanstaafl283-Jun-04 6:11 
GeneralRe: So Mad Pin
Doing4him3-Jun-04 17:09
Doing4him3-Jun-04 17:09 
GeneralRe: So Mad Pin
tanstaafl286-Jun-04 13:50
tanstaafl286-Jun-04 13:50 
GeneralCrystal Reports function Pin
Jane Ng2-Jun-04 19:59
Jane Ng2-Jun-04 19:59 
GeneralRe: Crystal Reports function [EDITED] Pin
Dave Kreskowiak3-Jun-04 3:48
mveDave Kreskowiak3-Jun-04 3:48 
Questionhow can i gei the menory size that one application used in vb Pin
huoyw2-Jun-04 17:49
huoyw2-Jun-04 17:49 
AnswerRe: how can i gei the menory size that one application used in vb Pin
Dave Kreskowiak3-Jun-04 3:41
mveDave Kreskowiak3-Jun-04 3:41 
GeneralRe: how can i gei the menory size that one application used in vb Pin
huoyw7-Jun-04 21:11
huoyw7-Jun-04 21:11 
GeneralRe: how can i gei the menory size that one application used in vb Pin
Dave Kreskowiak8-Jun-04 0:29
mveDave Kreskowiak8-Jun-04 0:29 

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.