|
-
Aug 3rd, 2010, 06:32 PM
#1
Thread Starter
New Member
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
-
Aug 3rd, 2010, 08:08 PM
#2
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.
-
Aug 5th, 2010, 04:17 AM
#3
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,...
-
Aug 5th, 2010, 08:05 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|