ok someone here really need the help of that prob.
but my back end is sql server 2000 ....
i thought about making sql statment " SELECT PASSWORD FROM VALIDATION WHERE USERNAME = @ USERNAME" AND THROW THE RESULT IN STRING .. THEN COMPARE STRINGS ... THE RESULT AND WUT THE USER ENTERED .. IS...
I'm new to dot net ... i'm doing an application ..this app. is for net cafe ..
this program is every 5 seconds is going to fire a sub .. in this sub i'll specify a work group .. this work group has clients .. i want my app. to go to this clients randomly and take a printscreen of the clients...
Try This code .... it works with me ...
Imports System
Imports System.Net.Mail
#Region "Declarations"
' message elements
Private mMailServer As String
Private mTo As String
Private mFrom As String
Private mMsg As String
Private mSubject As String
#End Region
#Region...
another thing ...if u make a child from a child form ... u can set the parent to the top parent like
i'm in second form :
dim frm2 as new form2
frm2.mdiparent = me.mdiparent
like that u create a child from a child and set its parent to the childs parent
so which way will be working with windows, linux or unix
whic is the best one which i write once and run every where
not write once and debug every where
insteaed of the commented line put newMDIChild.activate ()
see wut is going on ... i guess there is nothing wrong with the code ...
i'm not sure i'm a newbie too .. but i guess that it's ok ..
i work with something like that and it shows ... my problem was in putting the new child in the...
1- activate the form
2- go to property window
3- choose the ACCEPTBUTTON property and choose ur button
So Simple ......
there is another way for the forms which is not supporting the acceptbutton property
as he said that u make a sub handles keystroke
if keystrok = Enter...
wut if i just change the handle of the button like:
Private Sub Button_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) handles button.doubleclick
MsgBox("double-click")
End Sub
won't that work ????
if not then why they added this event if it's going to conflict...
it sounds very logically ... so how can i do that ..can i handle it like
if Messagebox cancel button pressed
Me.close = false
how can i handle the event of the cancel button of the messagebox.show
can u write the sample of that code plz.. sorry i'm a newbie
in the
sub of form_load (...) handle form.load
' enter ur intial sizes here
End Sub
then make a button for wutever u want to do to reload ..
button_click (...) handles button.click
Me.Load
End sub
this method is going to load again the form and the first method handles when the form is...
why it is must to make it as function ... i don't need to return any values ..
a Messagebox.show (....) can be used in Subroutine means procedure .. and it can be cancelled too as u mentioned in ur reply ...
ur routine ofcourse is in a method ... handle on clicking "X" to call the routine
for example
i want the user when he click exit button to ask him first as confirmation
so wut we will do here is
Public Sub confirm()
msgbox ("Are You Sure you want toexit?")
End Sub
Public...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.