|
-
Oct 20th, 2009, 02:57 AM
#1
Thread Starter
New Member
[RESOLVED] How can i store passwords in VB 2008?
Hi,
I know its a very basic problem but what is the best way to store passwords and usernames in visual basic 2008? I need to be able to add them whist in runtime and I also need to be able to obviosly get the program to check wether inputted username and passwords are correct.
I am VERY new to programming so please explain your answeres in dummy language
Thanks, I look forward to the replies!
-
Oct 20th, 2009, 03:32 AM
#2
Re: How can i store passwords in VB 2008?
If you are using Web Application you could store them in the web.config file and in case of Windows Application in App.Config File.
The better way is to encrypt the config setting that it is not clear text. And you need to decrypt it in code behind
For encryption the config files see here
Please mark you thread resolved using the Thread Tools as shown
-
Oct 20th, 2009, 03:35 AM
#3
Thread Starter
New Member
Re: How can i store passwords in VB 2008?
 Originally Posted by danasegarane
If you are using Web Application you could store them in the web.config file and in case of Windows Application in App.Config File.
The better way is to encrypt the config setting that it is not clear text. And you need to decrypt it in code behind
For encryption the config files see here
thanks but the problem is even more fundamental than you are suggesting. I need to literally know WHERE i can store this info.
I know it could be done in a database but I would rather do it writing VB if that is possible
I honestly am not just being modest, I am very very very new to programming.
Cheers
-
Oct 20th, 2009, 03:44 AM
#4
Re: How can i store passwords in VB 2008?
Windows or Web Application ?
Please mark you thread resolved using the Thread Tools as shown
-
Oct 20th, 2009, 03:46 AM
#5
Thread Starter
New Member
Re: How can i store passwords in VB 2008?
 Originally Posted by danasegarane
Windows or Web Application ?
Windows, sorry I didnt mention
-
Oct 20th, 2009, 03:48 AM
#6
Re: How can i store passwords in VB 2008?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 20th, 2009, 03:57 AM
#7
Re: How can i store passwords in VB 2008?
Then you can store the password in App.Config File. Add one Config file to your application using
Project Menu -> Add new item ->Application Configuration File Add
Please mark you thread resolved using the Thread Tools as shown
-
Oct 20th, 2009, 04:01 AM
#8
Thread Starter
New Member
Re: How can i store passwords in VB 2008?
 Originally Posted by danasegarane
Then you can store the password in App.Config File. Add one Config file to your application using
Project Menu -> Add new item ->Application Configuration File Add
Thank you very much for your help!
-
Feb 10th, 2010, 08:33 AM
#9
Addicted Member
Re: [RESOLVED] How can i store passwords in VB 2008?
How can be achieve the same in VB 6
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
|