Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old October 17th, 2007, 11:14 AM
Registered User
Join Date: Mar 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Run Code on Install

Hi all,
I hope somebody can help, here is my problem

I have made a windows app in VB2005 with a app.config file which holds a connection string with a password I have put code in which Encrypts my appSettings in the app.config but I need to run my application once before it does this. As this application only runs once a day it means that the password and connection string could be in clear text for up to 24 hours which is a BIG security risk. Is there any way I can build my code for the encryption into the the install so when it is installed it will automatically encrypt my Appsettings

Thanks in advance for any help.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dsshost.exe overwrite during example code install Noyabronok BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 1 August 23rd, 2008 05:01 PM
why does this code run two times? hertendreef Pro VB Databases 1 March 16th, 2007 07:24 AM
I can't properly install code on VS cybermia BOOK: ASP.NET Website Programming Problem-Design-Solution 5 March 23rd, 2005 01:42 PM
Can't Run the Code geotechman BOOK: ASP.NET Website Programming Problem-Design-Solution 1 October 12th, 2004 09:08 PM
Better way to run this code harpua Classic ASP Databases 6 February 27th, 2004 02:41 PM

All times are GMT -4. The time now is 11:45 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.