How to Use the Add Forms Login Dialog in Visual Basic 6.0

Visual Basic version 5 to 2010 programs can run in two modes -- local computer and client-server. A local application doesn't require the program to authenticate the user, as Windows takes care of the log-in credentials. Examples of a local application include Microsoft Word or Excel. A client-server application interacts with remote computers, and it must be able to send log-in credentials in some cases. Examples of client-server applications include Microsoft Outlook, Internet Explorer and custom applications that access a database. Visual Basic includes a tool that will automatically create a simple forms log-in for an application.

Instructions

    • 1

      Open the "Start" menu. Click "All Programs," and then move to the "Microsoft Visual Studio" folder. Click "Visual Basic 6."

    • 2

      Click the "Open" option from the "File" menu. From the "Browse" window, select the project you want to work with, and then click "Open." This will make it available in the "Solution Explorer" window.

    • 3

      Right-click the project you want to add the log-in to in the "Solution Explorer," and then click "Properties."

    • 4

      Click the "Services" tab at the top of the window.

    • 5

      Click the "Use Forms authentication" option to use an authentication service other than the underlying operating system. If the application will be used with Windows domain authentication, leave the default Windows option.

    • 6

      Enter the name or address of the server being used for authentication in the "Authentication services location" field. Leave this field blank if the application user will provide this information.

    • 7

      Enter the type of credentials being used in the "Optional: Credentials provider" field. This field is only necessary for non-standard credentials. Visual Basic 6.0 will automatically compensate for most credentials.

    • 8

      Enter the role and Web settings information if needed. If the application will support roles or groups, enter the location of the appropriate server in the "Roles service location" field. To couple the application with a Web service, enter the Web address in the "Web settings service location" field.

    • 9

      Click "OK" to add the forms log-in dialog to the application.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured