- Messages
- 47
- Reaction score
- 0
- Points
- 26
ok thankss.. ayun visual studio 2008 pala dapat kung kunin... haha
Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.
All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
Hi, to all
Bago lang po ako sa .net kasi mostly vb6 pa din tinuturo ^^ self study lang ako
Anyway tanong ko lang po di ba meron portable na vb6 meron po bang protable na .NET para madali lang po magprogram sa ibang computer ?
I've searched google and I've found eh puro my error so ginawa ko po ay niresearch ko pano gumawa ng portable application pero it opens but nagcracrash ewan ko kung bakit ? Ang nagexperimentuhan ko is VS 2008 and VS 2010 currently try try ko gawin portable yung 2005 .net
Please kung meron kayung portable I really need it.
Note :
kung gagawa kayu ng portable app using ThinApp ng VMware make sure gumawa kayu sa Clean OS kasi matagal din pag maraming laman and pagsuccessfull try nio sa other PC's kasi kahit maunistall mo yun eh gumagana pa din yung portable mo pero in my experience gagana siya sa PC na pinaginstallan mo but if you try sa others it would run and crash
Thanks in advance
Godbless
ano po ba ang kaibahan nang vs.net at vb.net...any sample programs in inheritance at polymorphism?
Public Class First
Private m_x As Integer
Private m_y As Integer
Public Property X() As Integer
Get
Return m_x
End Get
Set(ByVal value As Integer)
m_x = value
End Set
End Property
Public Property Y() As Integer
Get
Return m_y
End Get
Set(ByVal value As Integer)
m_y = value
End Set
End Property
End Class
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim obj As New First
With obj
.X = 10
.Y = 20
Me.Label1.Text = .X + .Y
End With
End Sub
thanks po dito master...hope na mamaster ko po itong vb.net
up lang natin for this week
ano pa ba ang need nyo makitang samples?
i found a nice tutorial page, maganda yung outline ng topics
http://www.homeandlearn.co.uk/NET/vbNet.html
samples oriented din sya, i hope some newbies find it usefull
master magkaiba ba ang code sa vb 2003 sa ibang higher version...
share naman po kayo nang programs ninyo para mapag-aralan
master magkaiba ba ang code sa vb 2003 sa ibang higher version...
share naman po kayo nang programs ninyo para mapag-aralan
may mga bago methods pero la naman masyado changes sa syntax
Mga tol,, pinag aaralan ko ngayon Vb.net baguhan lang ako sa language na ito mga 1Weak pala hehe.. ayos dito ako tatambay
may tanong ako, may ginawa akong app "stopwatch" may dalawang button (start) and (Stop) ang gusto ko sanang mangyari pagka run ng apps pag press ng space bar sa keyboard ma click narin yung start "button".. para hindi ma gamitan ng mouse kumbaga space bar for start button.. medyo magulo ako magpaliwanag sana maintindihan nyo ko mga dud kagabi pa ako sa google eh di ko makita.. vb 2010 gamit ko..
Mga tol,, pinag aaralan ko ngayon Vb.net baguhan lang ako sa language na ito mga 1Weak pala hehe.. ayos dito ako tatambay
may tanong ako, may ginawa akong app "stopwatch" may dalawang button (start) and (Stop) ang gusto ko sanang mangyari pagka run ng apps pag press ng space bar sa keyboard ma click narin yung start "button".. para hindi ma gamitan ng mouse kumbaga space bar for start button.. medyo magulo ako magpaliwanag sana maintindihan nyo ko mga dud kagabi pa ako sa google eh di ko makita.. vb 2010 gamit ko..
When a key is pressed,
three events fire in the following order, and they only fire for the
active control, not for the Form itself (although all three will fire
for the form if you set this.KeyPreview = true and THEN they will ALSO
fire for the active control unless you set e.handled = true in the
Form1 handler(s)).
1. Keydown (KeyEventArgs)
2. KeyPress (KeypressEventArgs/KeyChar) - KeyChar means "Characters only!" This event does not fire for nonchars.
3. KeyUp (KeyEventArgs)
Keypress
fires only for those keystrokes that really are chars. This means you
won't get a KeyPress event from keys such as function keys, control
keys, and the cursor movement keys; you must use the KeyDown and KeyUp
events to trap those keys.
With KeyDown and Keyup, you can find
out whether a keystroke combo was pressed because in addition to the
following boolean values:
if (e.Alt == true) //boolean tests for Alt key.
if (e.Control == true) //boolean tests for Control key.
the
other key pressed (a char key) is stored in e.KeyCode. The way it works
is that if Alt alone is pressed, e.keyCode = Altkey. If a combo using
Alt plus one other key (excepting the control key), e.keycode is the
other key. Thus to test for a two-key combo of Alt-SomeOtherKey (this
does NOT include alt-Ctrl) do the following (note we make sure the
Control key is NOT pressed):
if (e.Alt == true && e.Control == false && e.keycode.ToString != "Menu")
{//"Menu" means Alt key. Arrive here if the user is pressing Alt plus any key (other than the control key)
}
if you want to detect a three-key combo using Alt-Ctrl plus any key, do this:
if
{e.Alt == true && e.Control == true &&
e.KeyCode.ToString() != "Menu" && e.KeyCode.ToString() !=
"ControlKey")
{
//arriving here means the user is pressing Alt-Ctrl plus a third key.
}
Typically, suppose you were trying to detect the combo Alt-F1:
if (e.KeyCode = Keys.F1 && e.Alt == true) then do whatever.
You can also write:
If e.Modifiers.ToString = "Control, Alt" AndAlso e.KeyCode = Keys.F1 Then...
And this
If e.Modifiers.ToString = "Shift, Control, Alt" AndAlso e.KeyCode = Keys.F1 Then...
Or this:
If e.Modifers.ToString = "Shift, Control" AndAlso e.keyCode = Keys.F1 Then...
Or this
If e.Modifers.ToString = "Shift, Alt" Then...
The
value e.KeyData includes the modifier bits whereas e.KeyCode is the
Keydata stripped of modifiers. For example if you press Control-F1
using the following code:
If e.KeyCode = Keys.F1 Then MsgBox("yes")
If e.KeyData = Keys.F1 Then MsgBox("double yes")
You will NOT see "double-yes" because in reality
e.KeyData = Keys.F1 + modifer-bits.
rather than
e.KeyData = Keys.F1
whereas in truth
e.keyCode = Keys.F1
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = Keys.Space Then
MessageBox.Show("space")
End If
End Sub
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
If e.KeyChar = ChrW(32) Then
MessageBox.Show("space")
End If
End Sub