Click here to Skip to main content
15,887,746 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DataGridViewCheckBoxColumn Checking Problem Pin
Member 1209010424-Jun-16 0:55
Member 1209010424-Jun-16 0:55 
GeneralRe: DataGridViewCheckBoxColumn Checking Problem Pin
CHill6024-Jun-16 1:53
mveCHill6024-Jun-16 1:53 
GeneralRe: DataGridViewCheckBoxColumn Checking Problem Pin
Member 1209010425-Jun-16 0:33
Member 1209010425-Jun-16 0:33 
GeneralRe: DataGridViewCheckBoxColumn Checking Problem Pin
CHill6025-Jun-16 14:08
mveCHill6025-Jun-16 14:08 
QuestionIs there any way to eliminate the text based file *****.config Pin
desanti17-Jun-16 5:07
desanti17-Jun-16 5:07 
AnswerRe: Is there any way to eliminate the text based file *****.config Pin
Dave Kreskowiak17-Jun-16 10:19
mveDave Kreskowiak17-Jun-16 10:19 
GeneralRe: Is there any way to eliminate the text based file *****.config Pin
desanti17-Jun-16 11:05
desanti17-Jun-16 11:05 
GeneralRe: Is there any way to eliminate the text based file *****.config Pin
Dave Kreskowiak17-Jun-16 11:16
mveDave Kreskowiak17-Jun-16 11:16 
It has nothing to do with VB.NET

An XML file is editable, human readable, and a binary format would require another application in order to edit it. This would just be extra work on your part and quite a bit more difficult to get right, not to mention a pain in the ass when the structure of the file changes to support new options. You'd have to update the editor to match it and your code would also have to support multiple versions of a binary file.

But, if you want the extra work, there's nothing stopping you from writing your own configuration provider.


Just forget the binary file. It's actually the old way of storing data!

You can create your own settings in a file and save that to the users or the computers public data. You do not have to store it in app.config. You're going to have to read up on the ConfigurationManager class. You can create your own config file, separate from app.config, and store it in either the users profile or in the public profile that is common to all users on the machine. You can then tell the ConfigurationManager to load that config to get more settings, like your connection strings.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Is there any way to eliminate the text based file *****.config Pin
Richard Deeming17-Jun-16 12:42
mveRichard Deeming17-Jun-16 12:42 
Questionproblem to convert stringbuilder to pdf 163 data but show only 162 Pin
mrprakash16-Jun-16 19:56
professionalmrprakash16-Jun-16 19:56 
AnswerRe: problem to convert stringbuilder to pdf 163 data but show only 162 Pin
CHill6016-Jun-16 22:19
mveCHill6016-Jun-16 22:19 
Questioncopy selected row from one gridview to another in VB.net when double click Pin
kishore-201616-Jun-16 15:52
kishore-201616-Jun-16 15:52 
Questionhow can i use one connection to upload multiple files in vb.net Pin
koriewhite16-Jun-16 4:31
koriewhite16-Jun-16 4:31 
QuestionKeep database in program folder instead of default SQL server folder. Pin
desanti14-Jun-16 7:05
desanti14-Jun-16 7:05 
AnswerRe: Keep database in program folder instead of default SQL server folder. Pin
Eddy Vluggen14-Jun-16 7:14
professionalEddy Vluggen14-Jun-16 7:14 
GeneralRe: Keep database in program folder instead of default SQL server folder. Pin
desanti14-Jun-16 7:56
desanti14-Jun-16 7:56 
GeneralRe: Keep database in program folder instead of default SQL server folder. Pin
Eddy Vluggen14-Jun-16 8:26
professionalEddy Vluggen14-Jun-16 8:26 
AnswerRe: Keep database in program folder instead of default SQL server folder. Pin
Dave Kreskowiak14-Jun-16 7:34
mveDave Kreskowiak14-Jun-16 7:34 
GeneralRe: Keep database in program folder instead of default SQL server folder. Pin
desanti14-Jun-16 7:56
desanti14-Jun-16 7:56 
GeneralRe: Keep database in program folder instead of default SQL server folder. Pin
Dave Kreskowiak14-Jun-16 8:59
mveDave Kreskowiak14-Jun-16 8:59 
AnswerRe: Keep database in program folder instead of default SQL server folder. Pin
Gerry Schmitz16-Jun-16 8:01
mveGerry Schmitz16-Jun-16 8:01 
GeneralRe: Keep database in program folder instead of default SQL server folder. Pin
desanti18-Jun-16 8:12
desanti18-Jun-16 8:12 
GeneralRe: Keep database in program folder instead of default SQL server folder. Pin
Gerry Schmitz18-Jun-16 8:20
mveGerry Schmitz18-Jun-16 8:20 
GeneralRe: Keep database in program folder instead of default SQL server folder. Pin
desanti18-Jun-16 9:38
desanti18-Jun-16 9:38 
GeneralRe: Keep database in program folder instead of default SQL server folder. Pin
Mycroft Holmes18-Jun-16 13:32
professionalMycroft Holmes18-Jun-16 13:32 

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.