Results 1 to 4 of 4

Thread: Pop-up login dialog box

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    1

    Pop-up login dialog box

    Hello,

    I am programming in Visual Basic 6.0. I have seen examples of creating a
    login form to use for users to type in their username and password, but I
    want to accomplish the same thing with a pop-up dialog box instead. How can
    I make my program bring up a pop-up login dialog box for a user to type in
    username and password? Basically it's I want to create a form with a database that conists of a login box; one login for the user to alter/edit information and the other login user to only be able to look at the details.

    Thanks,
    Adrian

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Pop-up login dialog box

    I'm not sure what you mean by pop-up. You can call the form as Modal so no other forms can be used until it's closed, if that's what you mean.

  3. #3
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Pop-up login dialog box

    Hi adriian... Welcome to the forums...

    If you are looking for scrolling effects, then try searching in codebank: Click here to search !

    Otherwise, like baja said, show the form as modal.
    Eg:
    Code:
    Private Sub Command1_Click()
        Form2.Show vbModal, Me  '~~~ Show Form2 as modal
    End Sub
    ....

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  4. #4
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Pop-up login dialog box

    A pop-up dialog IS a form. Just display it like baja_yu said and hide the controlbox, min and max controls and don't allow resizing of the borders.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width