7 Replies - 454 Views - Last Post: 10 December 2017 - 03:12 AM Rate Topic: -----

#1 WizWazard  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 24-November 17

Login Form

Posted 07 December 2017 - 09:36 AM

Hi !

how is it possible to create a login form consisting of a user name and password using only modules in vb? :)
Is This A Good Question/Topic? 0
  • +

Replies To: Login Form

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13666
  • View blog
  • Posts: 54,542
  • Joined: 12-June 08

Re: Login Form

Posted 07 December 2017 - 09:55 AM

What do you mean "only modules"?

Can you make a log in form with VB.NET? Yes.. I have made plenty.
Was This Post Helpful? 0
  • +
  • -

#3 WizWazard  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 24-November 17

Re: Login Form

Posted 07 December 2017 - 10:52 AM

Yes using only modules that vb provides can you show an example my friend

View Postmodi123_1, on 07 December 2017 - 09:55 AM, said:

What do you mean "only modules"?

Can you make a log in form with VB.NET? Yes.. I have made plenty.

Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13666
  • View blog
  • Posts: 54,542
  • Joined: 12-June 08

Re: Login Form

Posted 07 December 2017 - 10:58 AM

Add a form to the project.
Add textboxes for the log in requirements.
Add a button to kick off the 'log in' process.

Add a database or something to hold your data. I like MSSQL community edition.
Build your table, add your data.

The button's event should take the textbox information, use basic SQL command objects check to see if the information matches.
If it matches then the event should open up what ever form or window.
If not then throw up a message.

http://www.dreaminco...-adapter-setup/
http://www.dreaminco...-command-setup/
Was This Post Helpful? 1
  • +
  • -

#5 WizWazard  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 24-November 17

Re: Login Form

Posted 07 December 2017 - 11:10 AM

Thanks loads !!!!

This post has been edited by andrewsw: 07 December 2017 - 12:25 PM
Reason for edit:: Removed previous quote, just press REPLY

Was This Post Helpful? 0
  • +
  • -

#6 WizWazard  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 24-November 17

Re: Login Form

Posted 09 December 2017 - 04:54 PM

hi,

I would like to use modules in vb.net to make track of Username and password NOT any form of database like ms or access or sql etc.

I am currently using the my.settings.username to store usernames and passwords however its not secure and also I want every single user to feel special as when they log in I want to generate a label which will say "Welcome {username}" Any suggestions please

its for my stock system :D
Was This Post Helpful? 0
  • +
  • -

#7 IronRazer  Icon User is offline

  • Custom Control Freak
  • member icon

Reputation: 1465
  • View blog
  • Posts: 3,715
  • Joined: 01-February 13

Re: Login Form

Posted 09 December 2017 - 07:38 PM

I don't see where a 'Module' would even come into play in this situation unless you want to use it to add helper methods into for reading/writing to a file on the hard drive which contains user names and passwords. A module is not used to store information in, it is just for adding methods to that you can use from your application.

If the user just typed their name into the login form, just pass that name to the main application. That can be done via an application setting, an event, or even the constructor of the main form. No module is involved.
Was This Post Helpful? 0
  • +
  • -

#8 WizWazard  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 24-November 17

Re: Login Form

Posted 10 December 2017 - 03:12 AM

View PostIronRazer, on 09 December 2017 - 07:38 PM, said:

I don't see where a 'Module' would even come into play in this situation unless you want to use it to add helper methods into for reading/writing to a file on the hard drive which contains user names and passwords. A module is not used to store information in, it is just for adding methods to that you can use from your application.

If the user just typed their name into the login form, just pass that name to the main application. That can be done via an application setting, an event, or even the constructor of the main form. No module is involved.


how can i do the last part my friend?

"That can be done via an application setting, an event, or even the constructor of the main form. No module is involved"
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1