Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Set Excel cell's background color & comment programmatically Pin
Roger Broomfield25-Oct-07 6:44
Roger Broomfield25-Oct-07 6:44 
Questionvirtual function Pin
richardye24-Oct-07 21:27
richardye24-Oct-07 21:27 
AnswerRe: virtual function [modified] Pin
Mattias G25-Oct-07 3:35
Mattias G25-Oct-07 3:35 
QuestionNumbe of Sheets of an excel file Pin
prithaa24-Oct-07 21:09
prithaa24-Oct-07 21:09 
AnswerRe: Numbe of Sheets of an excel file Pin
Roger Broomfield24-Oct-07 21:29
Roger Broomfield24-Oct-07 21:29 
GeneralRe: Numbe of Sheets of an excel file Pin
prithaa25-Oct-07 0:59
prithaa25-Oct-07 0:59 
GeneralRe: Numbe of Sheets of an excel file Pin
Roger Broomfield25-Oct-07 6:53
Roger Broomfield25-Oct-07 6:53 
QuestionConnectionstring out of app.config [modified] Pin
cad-JC24-Oct-07 20:57
cad-JC24-Oct-07 20:57 
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


-- modified at 10:26 Friday 26th October, 2007
QuestionHow to draw over-line using GDI+? Pin
codelee24-Oct-07 20:26
codelee24-Oct-07 20:26 
AnswerRe: How to draw over-line using GDI+? Pin
Hamid_RT24-Oct-07 20:43
Hamid_RT24-Oct-07 20:43 
GeneralRe: How to draw over-line using GDI+? Pin
codelee24-Oct-07 22:28
codelee24-Oct-07 22:28 
QuestionMultiple Desktop Problem. Pin
GauranG Shah24-Oct-07 19:44
GauranG Shah24-Oct-07 19:44 
QuestionHow to parse VBA script file in MFC ? Pin
Paresh Chitte24-Oct-07 19:29
Paresh Chitte24-Oct-07 19:29 
AnswerRe: How to parse VBA script file in MFC ? Pin
Peter Weyzen24-Oct-07 19:41
Peter Weyzen24-Oct-07 19:41 
GeneralRe: How to parse VBA script file in MFC ? Pin
Paresh Chitte24-Oct-07 19:43
Paresh Chitte24-Oct-07 19:43 
GeneralRe: How to parse VBA script file in MFC ? Pin
CPallini24-Oct-07 21:58
mveCPallini24-Oct-07 21:58 
GeneralRe: How to parse VBA script file in MFC ? Pin
Paresh Chitte24-Oct-07 22:50
Paresh Chitte24-Oct-07 22:50 
QuestionFinding sheet name from excel Pin
prithaa24-Oct-07 19:27
prithaa24-Oct-07 19:27 
AnswerRe: Finding sheet name from excel Pin
Paresh Chitte24-Oct-07 19:37
Paresh Chitte24-Oct-07 19:37 
GeneralRe: Finding sheet name from excel Pin
prithaa24-Oct-07 19:49
prithaa24-Oct-07 19:49 
GeneralRe: Finding sheet name from excel Pin
Paresh Chitte24-Oct-07 19:56
Paresh Chitte24-Oct-07 19:56 
GeneralRe: Finding sheet name from excel Pin
Hamid_RT24-Oct-07 20:00
Hamid_RT24-Oct-07 20:00 
GeneralRe: Finding sheet name from excel Pin
Paresh Chitte24-Oct-07 20:06
Paresh Chitte24-Oct-07 20:06 
GeneralRe: Finding sheet name from excel Pin
Hamid_RT24-Oct-07 20:14
Hamid_RT24-Oct-07 20:14 
GeneralRe: Finding sheet name from excel Pin
Paresh Chitte24-Oct-07 20:30
Paresh Chitte24-Oct-07 20:30 

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.