Temmuz 2010
Pts Sal Çar Per Cum Cts Paz
« Ara    
 1234
567891011
12131415161718
19202122232425
262728293031  
UserOnline
Üye: 10 / Kategori: 30 / İleti: 33 / Yorum: 10 / Sayfa: 4

PostHeaderIcon Outlook açılışına şifre koymak



Outlook açılışına şifre koymak için aşağıdaki gibi bir yol izleyebiliriz;

ThisOutlookSession’a yazılacak kodlar:

[code]Private Sub Application_Startup()
frmBulent_Giris.Show 1
MsgBox "İyi çalışmalar.", vbInformation
End Sub
[/code]

frmBulent_Giris isimli forma yazılacak kodlar:
[code]Private Sub UserForm_Initialize()
TextBox1.SetFocus
End Sub

Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
If CloseMode = vbFormControlMenu Then
Cancel = True
MsgBox "Lütfen şifreyi giriniz...", vbCritical, "Outlook'u Açmak İçin Şifre Girmelisiniz"
End If
End Sub

Private Sub CommandButton1_Click()
Static bulent As Integer

If TextBox1 = "1234" Then
    Unload Me
Else
    ListBox1.AddItem TextBox1 & " başarısız deneme.":
    bulent = bulent + 1
    If bulent >= 3 Then
        ActiveWindow.Close
        Application.Quit
    End If
End If
End Sub
[/code]

Not:Form üzerinde 1 adet Textbox, 1 adet Listbox ve 1 Adet CommandButton olacak.

Outlook Giriş Şifre Ekranı Outlook Giriş Şifre Ekranı

Paylaş:
  • Facebook
  • Google Bookmarks
  • Yahoo! Buzz
  • del.icio.us
  • Digg
  • Live
  • TwitThis
  • Webnews.de
  • BlinkList
  • E-mail this story to a friend!
  • MSN Reporter
  • MySpace
  • Turn this article into a PDF!
  • Print this article!
  • RSS
  • Twitter
  • Yahoo! Bookmarks

Leave a Reply

You must be logged in to post a comment.