Click here to Skip to main content
15,916,432 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Will this code create a memory leak ?? Pin
led mike4-Oct-07 4:50
led mike4-Oct-07 4:50 
AnswerRe: Will this code create a memory leak ?? Pin
George L. Jackson4-Oct-07 5:33
George L. Jackson4-Oct-07 5:33 
QuestionRef Classes in Win32 dll Pin
dreamz64804-Oct-07 2:00
dreamz64804-Oct-07 2:00 
AnswerRe: Ref Classes in Win32 dll Pin
led mike4-Oct-07 4:51
led mike4-Oct-07 4:51 
AnswerRe: Ref Classes in Win32 dll Pin
George L. Jackson4-Oct-07 5:38
George L. Jackson4-Oct-07 5:38 
QuestionDialog box WM_CLOSE Pin
artihcv4-Oct-07 1:47
artihcv4-Oct-07 1:47 
AnswerRe: Dialog box WM_CLOSE Pin
KarstenK4-Oct-07 1:56
mveKarstenK4-Oct-07 1:56 
QuestionConnectionstring out of app.config Pin
cad-JC3-Oct-07 23:43
cad-JC3-Oct-07 23:43 
I'm having a windows forms application project. On the form there's a datagridview with data of a table out of the datasources. The connectionstring in the datasource is made by the add new datasource wizard and is : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\test\Tabel-XML.mdb
Changing it in the _Tabel_XMLDataset.h file doesn't do anything and changes after a new build.

Now I'd like to know if it's possible to change my data source, so make it variable. I saw something about the use of app.config but how do i have to do this then so that the data source of my datagridview is changed without rebuilding my project it each time after creating a new databaseconnection. I'd like to define the databaseconnection in an external file (like app.config) and then use this databaseconnection for my project. How is this done?

Thanks for helping me out

QuestionHelp needed in Borland C++ Builder [modified] Pin
__yash__3-Oct-07 22:44
professional__yash__3-Oct-07 22:44 
AnswerRe: Help needed in Borland C++ Builder Pin
Christian Graus3-Oct-07 23:03
protectorChristian Graus3-Oct-07 23:03 
GeneralRe: Help needed in Borland C++ Builder Pin
__yash__4-Oct-07 0:03
professional__yash__4-Oct-07 0:03 
GeneralRe: Help needed in Borland C++ Builder Pin
Christian Graus4-Oct-07 0:20
protectorChristian Graus4-Oct-07 0:20 
QuestionForm Designer requires first class - VS2005 Pin
earlgraham3-Oct-07 11:39
earlgraham3-Oct-07 11:39 
AnswerRe: Form Designer requires first class - VS2005 Pin
George L. Jackson3-Oct-07 17:27
George L. Jackson3-Oct-07 17:27 
Questionquestion about thread C++ Pin
argun222-Oct-07 12:24
argun222-Oct-07 12:24 
AnswerRe: question about thread C++ Pin
Christian Graus2-Oct-07 13:39
protectorChristian Graus2-Oct-07 13:39 
QuestionForum help Pin
smartiejoe30-Sep-07 0:23
smartiejoe30-Sep-07 0:23 
AnswerRe: Forum help Pin
Malcolm Smart30-Sep-07 0:50
Malcolm Smart30-Sep-07 0:50 
GeneralRe: Forum help Pin
Mark Salsbery30-Sep-07 7:12
Mark Salsbery30-Sep-07 7:12 
AnswerRe: Forum help Pin
George L. Jackson30-Sep-07 2:02
George L. Jackson30-Sep-07 2:02 
QuestionQuestions about reading binary files [modified] Pin
GentooGuy28-Sep-07 13:47
GentooGuy28-Sep-07 13:47 
AnswerRe: Questions about reading binary files Pin
Mark Salsbery28-Sep-07 15:16
Mark Salsbery28-Sep-07 15:16 
AnswerRe: Questions about reading binary files Pin
Mark Salsbery28-Sep-07 15:22
Mark Salsbery28-Sep-07 15:22 
GeneralRe: Questions about reading binary files Pin
GentooGuy29-Sep-07 7:25
GentooGuy29-Sep-07 7:25 
GeneralRe: Questions about reading binary files Pin
Mark Salsbery29-Sep-07 7:39
Mark Salsbery29-Sep-07 7:39 

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.