Click here to Skip to main content
15,887,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: parallel communication Pin
CPallini2-Jul-09 2:20
mveCPallini2-Jul-09 2:20 
Questiondeploying ms sql application Pin
Bilge Kaan2-Jul-09 1:33
Bilge Kaan2-Jul-09 1:33 
AnswerRe: deploying ms sql application Pin
Rajesh R Subramanian2-Jul-09 1:35
professionalRajesh R Subramanian2-Jul-09 1:35 
JokeRe: deploying ms sql application Pin
CPallini2-Jul-09 1:42
mveCPallini2-Jul-09 1:42 
GeneralRe: deploying ms sql application Pin
Bilge Kaan2-Jul-09 2:21
Bilge Kaan2-Jul-09 2:21 
GeneralRe: deploying ms sql application Pin
CPallini2-Jul-09 2:32
mveCPallini2-Jul-09 2:32 
AnswerRe: deploying ms sql application Pin
led mike2-Jul-09 5:01
led mike2-Jul-09 5:01 
AnswerRe: deploying ms sql application Pin
Ozer Karaagac2-Jul-09 5:34
professionalOzer Karaagac2-Jul-09 5:34 
To create an ODBC data source.
1.You might create a file DSN in designated directory. It's a ".ini" like text file. You can examine it for an analogy. Default directory is "Program Files\Common Files\ODBC\Data Sources".
2.You might create registry keys for User or System DSNs, respectively under the keys below. You can also examine them.
HKCU\Software\ODBC\ODBC.INI
HKLM\SOFTWARE\ODBC\ODBC.INI
BTW, I'm speaking mostly for XP OS because the others may somewhat differ.

Additionally, you don't have to create any kind of DSN, you can open your connection on the fly in your code by a proper connection string like below.

"DRIVER=SQL Server;SERVER=%s;DATABASE=%s;UID=%s;PWD=%s"
You may need to use "DRIVER=SQL Native Client" for 2008.

You can also execute DDL scripts to create your schema using CDatabase::ExecuteSQL(). To do this, you can open your database connection using string below with an administrator user/password.

"DRIVER=SQL Server;SERVER=%s;DATABASE=master;UID=sa;PWD=%s"
Questionsqlite Pin
sriharichowdary2-Jul-09 0:27
sriharichowdary2-Jul-09 0:27 
AnswerRe: sqlite Pin
Madhu Nair2-Jul-09 0:36
Madhu Nair2-Jul-09 0:36 
AnswerRe: sqlite Pin
manish.patel2-Jul-09 1:07
manish.patel2-Jul-09 1:07 
QuestionRegarding views Pin
kirankatta2-Jul-09 0:16
kirankatta2-Jul-09 0:16 
AnswerRe: Regarding views Pin
Chandrasekharan P2-Jul-09 0:56
Chandrasekharan P2-Jul-09 0:56 
Questionhow to get message submit time. Pin
santhosh-padamatinti1-Jul-09 23:23
santhosh-padamatinti1-Jul-09 23:23 
GeneralRe: how to get message submit time. Pin
Madhu Nair1-Jul-09 23:29
Madhu Nair1-Jul-09 23:29 
AnswerRe: how to get message submit time. Pin
Cedric Moonen1-Jul-09 23:35
Cedric Moonen1-Jul-09 23:35 
AnswerRe: how to get message submit time. Pin
manish.patel1-Jul-09 23:42
manish.patel1-Jul-09 23:42 
GeneralRe: how to get message submit time. Pin
santhosh-padamatinti2-Jul-09 0:08
santhosh-padamatinti2-Jul-09 0:08 
GeneralRe: how to get message submit time. Pin
manish.patel2-Jul-09 0:12
manish.patel2-Jul-09 0:12 
GeneralRe: how to get message submit time. Pin
santhosh-padamatinti2-Jul-09 0:19
santhosh-padamatinti2-Jul-09 0:19 
GeneralRe: how to get message submit time. Pin
manish.patel2-Jul-09 0:31
manish.patel2-Jul-09 0:31 
GeneralRe: how to get message submit time. Pin
santhosh-padamatinti2-Jul-09 0:41
santhosh-padamatinti2-Jul-09 0:41 
GeneralRe: how to get message submit time. Pin
manish.patel2-Jul-09 0:53
manish.patel2-Jul-09 0:53 
GeneralRe: how to get message submit time. Pin
santhosh-padamatinti2-Jul-09 1:23
santhosh-padamatinti2-Jul-09 1:23 
GeneralRe: how to get message submit time. Pin
manish.patel2-Jul-09 1:32
manish.patel2-Jul-09 1: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.