Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Ahmed_Online :

Aata98@Gmail.com




MY
MY

: My.Application
: My.Computer
:
My.Forms
:
My.resources
: project
My.settings
:
My.Users
: My.WebServers

) (MY MyNameSpace
ASP.NET

My.Application :
OpenForms , ApplicationContext , Info

: OpenForms

MsgBox(My.Application.OpenForms.Count)

system.windos.forms : ApplicationContext

My.Application.ApplicationContext.MainForm.Activate()

text
MsgBox(My.Application.ApplicationContext.MainForm.Text)

name
MsgBox(My.Application.ApplicationContext.MainForm.Name)

accept button button


MsgBox(My.Application.ApplicationContext.MainForm.AcceptButton.ToString)


My.Application.ApplicationContext.MainForm.Show()


My.Application.ApplicationContext.MainForm.Text = "Text"


ME

MainForm.ActiveForm
MainForm

text
MsgBox(My.Application.ApplicationContext.MainForm.ActiveForm.Text)

Controls
MsgBox(My.Application.ApplicationContext.MainForm.ActiveForm.Controls.Count)

: Info :
:
)MsgBox(My.Application.Info.CompanyName

:
)MsgBox(My.Application.Info.Copyright

:
)MsgBox(My.Application.Info.Copyright

:
)MsgBox(My.Application.Info.DirectoryPath

My.Application

MY.Computer :

My.Computer.audio


)"My.Computer.Audio.Play("Location


)(My.Computer.Audio.stop

my.computer.clipboard


Dim text As String = My.Computer.Clipboard.GetText


)(My.Computer.Clipboard.Clear

my.computer.clock
) (Now
TextBox1.Text = My.Computer.Clock.GmtTime


TextBox1.Text = My.Computer.Clock.TickCount

My.Computer.Info


TextBox1.Text = My.Computer.Info.OSFullName


TextBox1.Text = My.Computer.Info.OSVersion

My.Computer.Keyboard
caps lock
TextBox1.Text = My.Computer.Keyboard.CapsLock

Boolean
My.Computer.Name


TextBox1.Text = My.Computer.Name

My.Computer.FileSystem

http://www.mediafire.com/?93veqtq1bxr4g74

My.cpmuter

MY. Forms :


"My.Forms.Form2.Text = "text

)(My.Forms.Form2.Show

My.Forms.Form3.Width = 252

My.Forms.Form1.Top = 15

"My.Forms.Form2.TextBox1.Text = "text

MY.Forms

Me
:
"Me.Text = "text


Object_Name . properties = Value
:

My.Resources() :

Resources
Resources
TextBox1.Text = My.Resources.test

Resources
)My.Computer.Audio.Play(My.Resources.mywav, AudioPlayMode.Background

Resources
PictureBox1.Image = My.Resources.mypic

Rsources


MY.Settings
Setting myproject


)MsgBox(My.Settings.Test

MY




- :







:
/




Ahmed_Online :
Aata98@Gmail.com

You might also like