Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMsi Functions Pin
Yuvaraj N29-Nov-04 17:23
Yuvaraj N29-Nov-04 17:23 
GeneralRe: Msi Functions Pin
David Crow30-Nov-04 5:45
David Crow30-Nov-04 5:45 
Generalcombox box fields unable to select using mouse. Pin
TssPrasad29-Nov-04 17:16
sussTssPrasad29-Nov-04 17:16 
Generalcapture "End Process" event Pin
zecodela29-Nov-04 17:04
zecodela29-Nov-04 17:04 
GeneralRe: capture "End Process" event Pin
normanS30-Nov-04 2:06
normanS30-Nov-04 2:06 
GeneralRe: capture "End Process" event Pin
Blake Miller30-Nov-04 6:37
Blake Miller30-Nov-04 6:37 
GeneralRe: capture "End Process" event Pin
normanS30-Nov-04 19:29
normanS30-Nov-04 19:29 
GeneralMicrosoft common dialog control Pin
vc-programmer-29-Nov-04 16:44
vc-programmer-29-Nov-04 16:44 
>> i use microsoft common dialog control.
>> i open browser
>> and choice file(eg:C:/mydatabase/mydb.mdb)
>> save this file path "C:/mydatabase/mydb.mdb"
in my.dat(data file).

my problems
>> my.dat file is create C:/mydatabase/
>> i want to create this data file in my project folder.
(eg:C:/myvc++project/mytestvc++)

>> how to create my data file in my project folder
>> please explain me
>> my code is following

//mydlg.h
CCommonDialog1 m_com;

//mydlg.cpp
void CMYDLG::OnLoad()
{
CString file;
file.Empty();
m_com.ShowOpen();
file=m_com.GetFileName();
file.TrimRight();

if(file.Right(3)!="mdb")
{
AfxMessageBox("Please Select a .mdb file");
}
else
{
datafile.m_dataArray.Add(file);
datafile.Save_file_path();
//save database file path name eg:C:/mydatabase/mydb.mdb
}
}

GeneralRe: Microsoft common dialog control Pin
vc-programmer-29-Nov-04 19:19
vc-programmer-29-Nov-04 19:19 
GeneralSetup Project Pin
Marcus Spitzmiller29-Nov-04 16:41
Marcus Spitzmiller29-Nov-04 16:41 
GeneralActiveX question, please help. Pin
Anonymous29-Nov-04 16:03
Anonymous29-Nov-04 16:03 
GeneralRe: ActiveX question, please help. Pin
El'Cachubrey29-Nov-04 20:32
El'Cachubrey29-Nov-04 20:32 
GeneralRe: ActiveX question, please help. Pin
Anonymous1-Dec-04 11:34
Anonymous1-Dec-04 11:34 
QuestionHow to enlarge Bitmap object Pin
lisoft29-Nov-04 15:43
lisoft29-Nov-04 15:43 
AnswerRe: How to enlarge Bitmap object Pin
ThatsAlok29-Nov-04 17:09
ThatsAlok29-Nov-04 17:09 
GeneralCreating custom control in dialog at run time Pin
bohrium29-Nov-04 15:42
bohrium29-Nov-04 15:42 
GeneralRe: Creating custom control in dialog at run time Pin
Iain Clarke, Warrior Programmer30-Nov-04 0:55
Iain Clarke, Warrior Programmer30-Nov-04 0:55 
QuestionHow to get the File System Format Pin
ytod29-Nov-04 15:16
ytod29-Nov-04 15:16 
AnswerRe: How to get the File System Format Pin
ytod29-Nov-04 16:50
ytod29-Nov-04 16:50 
GeneralPlease HELPPP Pin
Chandara29-Nov-04 14:22
Chandara29-Nov-04 14:22 
GeneralRe: Please HELPPP Pin
lisoft29-Nov-04 15:52
lisoft29-Nov-04 15:52 
GeneralRe: Please HELPPP Pin
Chandara29-Nov-04 23:20
Chandara29-Nov-04 23:20 
GeneralRe: Please HELPPP Pin
lisoft30-Nov-04 0:25
lisoft30-Nov-04 0:25 
GeneralGreat:!! Pin
Chandara30-Nov-04 6:12
Chandara30-Nov-04 6:12 
GeneralEvent handling Pin
scandrew29-Nov-04 12:20
scandrew29-Nov-04 12:20 

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.