Computing.Net > Forums > Programming > Read props of mdiChild in vb.net

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Read props of mdiChild in vb.net

Reply to Message Icon

Name: BelAnWel
Date: August 25, 2003 at 10:51:25 Pacific
OS: 98
CPU/Ram: 256
Comment:

sup guys!

i'm self-studying vb.net and the first thing i tried to do is a simple multi-document text editor. i created a public property called Filename. in vb6 i think i could set or read it by ACTIVEFORM.PROPERTY=value or variable=ACTIVEFORM.PROPERTY. but in vb.net i dont think its possible anymore. i get the error PROPERTY not a member of CLASSFORM.

is there a way to access properties or public variable using the equivalent of activeform in vb.net? i am able to determine the active child form using:

Dim frmChild As Form = Me.ActiveMdiChild
frmChild.Name

but i can't set or read the property i made:

frmChild.Filename

this is where i get the error "Filename not a member of frmEditor"

any thought on how to solve my problem?

thanks in advance.




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Read props of mdiChild in vb.net

Read the contents of PDF in VB.Net www.computing.net/answers/programming/read-the-contents-of-pdf-in-vbnet/11710.html

Adding tabs in a string in vb.net www.computing.net/answers/programming/adding-tabs-in-a-string-in-vbnet/11853.html

Cleat textBoxex in vb.net www.computing.net/answers/programming/cleat-textboxex-in-vbnet/9491.html