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

Visual Basic

 
AnswerRe: DataGridViewCheckBoxColumn Checking Problem Pin
CHill6024-Jun-16 0:23
mveCHill6024-Jun-16 0:23 
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 
Thank you !
Maybe you're right for all that you wrote.
But let's suppose that for different reasons ( let's not talking about the reasons) , I need to eliminate this text based file.
It seems strange that programs created with vb.net requires a text based file. It seems an old way to hold the program's configuration data.
At least , I want to eliminate the part that hold the connection data for SQl server and Entity framework , because I want to let users configure these settings inside my application for example I will create a form that let users configure this settings and save this to a binary file.
I'm talking about this part :
XML
<entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0" />
      </parameters>
    </defaultConnectionFactory>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>
  </entityFramework>
  <connectionStrings>
    <add name="MyEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=USER-PC;initial catalog=DB1;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
    <add name="MyEntities2" connectionString="metadata=res://*/Model2.csdl|res://*/Model2.ssdl|res://*/Model2.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=User-PC;initial catalog=DB2;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>

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 
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 

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.