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

Managed C++/CLI

 
GeneralRe: error LNK2005 Pin
thesad1-Apr-07 0:25
thesad1-Apr-07 0:25 
GeneralRe: error LNK2005 Pin
sarah_malik2-Apr-07 11:11
sarah_malik2-Apr-07 11:11 
QuestionURGENT Pin
tanchinchee31-Mar-07 5:38
tanchinchee31-Mar-07 5:38 
AnswerRe: URGENT Pin
Christian Graus1-Apr-07 14:44
protectorChristian Graus1-Apr-07 14:44 
QuestionWhat's wrong with database? Can anybody help? [modified] Pin
Badboy22TR30-Mar-07 22:48
Badboy22TR30-Mar-07 22:48 
AnswerRe: What's wrong with database? Can anybody help? Pin
Sahir Shah31-Mar-07 7:18
Sahir Shah31-Mar-07 7:18 
GeneralRe: What's wrong with database? Can anybody help? Pin
Badboy22TR31-Mar-07 12:35
Badboy22TR31-Mar-07 12:35 
GeneralRe: What's wrong with database? Can anybody help? Pin
Badboy22TR31-Mar-07 14:30
Badboy22TR31-Mar-07 14:30 
Ok..Finally i solved the problem. If anyone has the same problem, just replace the whole path (eg. "C:\Documents and Settings\XYZ\My Documents\Microsoft Visual Studio 2005\Projects\Release\") ConnectionString in Dataset Header with |DataDirectory|

this->_connection->ConnectionString = L"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"|DataDirectory|\\xxx.mdb\"";

and if you have connection in form, write a simple code in Form_Load event, replace ConnectionString with something like :

private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
String^ path = Application::StartupPath;
this->oleDbConnection1->ConnectionString = L"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\""+path+"\\hasta.mdb\"";
}
QuestionMFC classes problem Pin
FredrickNorge30-Mar-07 11:43
FredrickNorge30-Mar-07 11:43 
AnswerRe: MFC classes problem Pin
led mike30-Mar-07 11:57
led mike30-Mar-07 11:57 
GeneralRe: MFC classes problem [modified] Pin
FredrickNorge30-Mar-07 12:15
FredrickNorge30-Mar-07 12:15 
GeneralRe: MFC classes problem Pin
led mike2-Apr-07 4:40
led mike2-Apr-07 4:40 
QuestionCOM 2D safearrays in C# Pin
lafleon29-Mar-07 13:07
lafleon29-Mar-07 13:07 
QuestionHex Editing Pin
compmaniac29-Mar-07 11:33
compmaniac29-Mar-07 11:33 
AnswerRe: Hex Editing Pin
Richard Andrew x6429-Mar-07 11:38
professionalRichard Andrew x6429-Mar-07 11:38 
AnswerRe: Hex Editing Pin
Christian Graus29-Mar-07 15:31
protectorChristian Graus29-Mar-07 15:31 
Questionpccts / antlr parser generator question (Includes) Pin
ruudruud29-Mar-07 5:40
ruudruud29-Mar-07 5:40 
AnswerRe: pccts / antlr parser generator question (Includes) Pin
Richard Andrew x6429-Mar-07 11:41
professionalRichard Andrew x6429-Mar-07 11:41 
Questionconnectivity of c++ with sql only Pin
p_28-Mar-07 20:48
p_28-Mar-07 20:48 
AnswerRe: connectivity of c++ with sql only Pin
p_28-Mar-07 22:15
p_28-Mar-07 22:15 
GeneralRe: connectivity of c++ with sql only Pin
Mark Salsbery29-Mar-07 7:07
Mark Salsbery29-Mar-07 7:07 
AnswerRe: connectivity of c++ with sql only Pin
prasad_som28-Mar-07 23:21
prasad_som28-Mar-07 23:21 
Questionget valid time from time with wildcards as string(eg. h*:m*)) Pin
krishna_m28-Mar-07 20:16
krishna_m28-Mar-07 20:16 
AnswerRe: get valid time from time with wildcards as string(eg. h*:m*)) Pin
George L. Jackson29-Mar-07 6:01
George L. Jackson29-Mar-07 6:01 
GeneralRe: get valid time from time with wildcards as string(eg. h*:m*)) Pin
krishna_m29-Mar-07 23:39
krishna_m29-Mar-07 23: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.