Thank this author by sharing:
By Les Smith,
I have passed the encrypted password in the connection string from my VB or VB.Net code.How to tackl...
Password Encryption in SQl SERVER 2005
DTS to SSIS 2005 migration - password encryption - DTEXEC
Automated SQL Installer - encrypt password in template ini file
Encrypt connection to SQL Server 2005