Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 7th, 2007, 10:51 PM
Authorized User
 
Join Date: Aug 2007
Location: MANAMA, MANAMA, Bahrain.
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to zrtv
Default Change Password

Hi All,
I have a password variable hard coded it in inside vb,i want user to change this password is it possible? if yes please give me a example
my requirement eg: is follows

eg:
dim Spsswrd as string

Private Sub Form_Load()
Spsswrd="oldpassword"
End Sub

Private Sub Command1_Click()
Spssrd=Text1.text
End Sub

I want next time User sign in with new password. IS IT POSSIBLE???

Regards
Zaffar Rasheed

  #2 (permalink)  
Old September 10th, 2007, 07:29 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there.. no.. you can't change a hardcoded password.. it's inside the binary and you can't do it in any easy way..

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change AD Password everest C# 2005 2 October 26th, 2007 05:05 PM
change password code musicdad Classic ASP Databases 1 March 6th, 2005 01:54 AM
change password help budakcomel Classic ASP Databases 0 July 29th, 2003 09:51 PM
How to change the password?? wingtma SQL Server 2000 1 July 8th, 2003 06:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.