Click here to Skip to main content
15,919,358 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: stilll!!! SOS of all SOS'es Pin
Christian Graus15-Apr-07 11:30
protectorChristian Graus15-Apr-07 11:30 
AnswerRe: SOS of all SOS'es Pin
Werries15-Apr-07 1:59
Werries15-Apr-07 1:59 
QuestionConvert string to font Pin
NANCO14-Apr-07 18:02
NANCO14-Apr-07 18:02 
AnswerRe: Convert string to font Pin
Christian Graus14-Apr-07 22:24
protectorChristian Graus14-Apr-07 22:24 
AnswerRe: Convert string to font Pin
Werries15-Apr-07 0:09
Werries15-Apr-07 0:09 
GeneralRe: Convert string to font Pin
NANCO15-Apr-07 1:13
NANCO15-Apr-07 1:13 
QuestionHow do you make a secure database connection string Pin
dragon_14-Apr-07 17:36
dragon_14-Apr-07 17:36 
AnswerRe: How do you make a secure database connection string [modified] Pin
George L. Jackson15-Apr-07 2:12
George L. Jackson15-Apr-07 2:12 
1. Add the connection string to the web.config section
<configuration>
	<connectionStrings>
		<add name="DBConnectionString" connectionString="whatever" />
	</connectionStrings>
	...
⁢/configuration>

2. Add a <machineKey> element to your web.config:
<configuration>
	...
	<system.web>
		<machineKey validationKey="AutoGenerate,IsolateApps"
			decryptionKey="AutoGenerate,IsolateApps" />
	</system.web>
</configuration>

3. Run aspnet_regiis.exe tool to encrypt the <connectionStrings> element:
aspnet_regiis -pe "connectionStrings" -app "[Your App Name]"

4. Run the aspnet_regiis.exe tool to encrypt the <machineKey> element:
apnet_regiis -pe "system.web/machineKey" -app "[Your App Name]"

5. Run the aspnet_regiis.exe tool to grant access to the key container by the ASP.NET identity:
apsnet-regiis -pa "NetFrameworkConfigurationKey" "[ASP.NET User]"


Referenced: "ASP.NET 2.0 Cookbook, Second Edition, Michael A. Kittel and Geoffrey T. LeBlond. © 2006 O'Reilly Media, Inc., 0-596-10064-7."


-- modified at 8:18 Sunday 15th April, 2007

"We make a living by what we get, we make a life by what we give." --Winston Churchill

GeneralRe: How do you make a secure database connection string Pin
dragon_15-Apr-07 19:05
dragon_15-Apr-07 19:05 
Questioni want code in vb.net to redirect the form [modified] Pin
karimullah14-Apr-07 16:38
karimullah14-Apr-07 16:38 
AnswerRe: i want code in vb.net to redirect the form Pin
Christian Graus14-Apr-07 22:25
protectorChristian Graus14-Apr-07 22:25 
QuestionWhat am I doing wrong? Pin
dunn1de14-Apr-07 14:56
dunn1de14-Apr-07 14:56 
AnswerRe: What am I doing wrong? Pin
Christian Graus14-Apr-07 22:28
protectorChristian Graus14-Apr-07 22:28 
QuestionZip Code To Lat Lon Conversion Pin
halflife26814-Apr-07 14:06
halflife26814-Apr-07 14:06 
AnswerRe: Zip Code To Lat Lon Conversion Pin
George L. Jackson14-Apr-07 15:13
George L. Jackson14-Apr-07 15:13 
QuestionMicrosoft Agent Control voice Pin
Aung.Myo.Aye14-Apr-07 7:25
Aung.Myo.Aye14-Apr-07 7:25 
AnswerRe: Microsoft Agent Control voice Pin
MatrixCoder14-Apr-07 8:19
MatrixCoder14-Apr-07 8:19 
AnswerRe: Microsoft Agent Control voice Pin
Dmitry Khudorozhkov14-Apr-07 8:25
Dmitry Khudorozhkov14-Apr-07 8:25 
QuestionCross-thread operation not valid Pin
RJGCarey14-Apr-07 6:23
RJGCarey14-Apr-07 6:23 
AnswerRe: Cross-thread operation not valid Pin
George L. Jackson14-Apr-07 9:19
George L. Jackson14-Apr-07 9:19 
QuestionGetting data back from a user control to a parent control Pin
steve_rm14-Apr-07 6:05
steve_rm14-Apr-07 6:05 
AnswerRe: Getting data back from a user control to a parent control Pin
Thomas Stockwell14-Apr-07 6:49
professionalThomas Stockwell14-Apr-07 6:49 
QuestionRe: Getting data back from a user control to a parent control Pin
steve_rm14-Apr-07 9:13
steve_rm14-Apr-07 9:13 
AnswerRe: Getting data back from a user control to a parent control Pin
Thomas Stockwell14-Apr-07 13:26
professionalThomas Stockwell14-Apr-07 13:26 
QuestionRe: Getting data back from a user control to a parent control Pin
steve_rm14-Apr-07 18:21
steve_rm14-Apr-07 18:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.