Click here to Skip to main content
15,918,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DiskQuotaControl Pin
David Crow27-Oct-04 3:01
David Crow27-Oct-04 3:01 
GeneralRe: DiskQuotaControl Pin
std770228-Oct-04 1:34
std770228-Oct-04 1:34 
Generalactivex ctrl in modeless dialog Pin
sarath_babu27-Oct-04 0:28
sarath_babu27-Oct-04 0:28 
GeneralRe: activex ctrl in modeless dialog Pin
Cedric Moonen27-Oct-04 1:25
Cedric Moonen27-Oct-04 1:25 
Generalactivex ctrl in modeless dialog Pin
sarath_babu27-Oct-04 0:27
sarath_babu27-Oct-04 0:27 
GeneralCFile Pin
vc-programmer-26-Oct-04 22:28
vc-programmer-26-Oct-04 22:28 
GeneralRe: CFile Pin
ytod26-Oct-04 22:44
ytod26-Oct-04 22:44 
GeneralRe: CFile Pin
vc-programmer-26-Oct-04 22:59
vc-programmer-26-Oct-04 22:59 
Sir...
my existing create code is following..
void ARMManagementRecords::SaveDomains()
{
// For domains
BOOL bCanSave = FALSE;

UINT nFlags = CFile::typeBinary | CFile::modeWrite;

// file doesn't exist, so create it
if (_access(DATA_FILE_DOMAIN, 0))
{
nFlags |= CFile::modeCreate;
bCanSave = TRUE;
}
else
{
bCanSave = CanSerializeDomain();
}

if (bCanSave)
{
CFile file;
CFileException fe;

// file exists with read & write permissions
if (file.Open(DATA_FILE_DOMAIN, nFlags, &fe))
{
CArchive arDomain(&file, CArchive::store);
//CStringArray m_domainArray;
m_domainArray.Serialize(arDomain);
}

file.Close();
}
}
GeneralRe: CFile Pin
vcplusplus27-Oct-04 3:10
vcplusplus27-Oct-04 3:10 
Generalimplicit pointer conversion Pin
pesho293226-Oct-04 21:55
pesho293226-Oct-04 21:55 
GeneralRe: implicit pointer conversion Pin
geo_m26-Oct-04 23:14
geo_m26-Oct-04 23:14 
GeneralRe: implicit pointer conversion Pin
pesho293227-Oct-04 0:13
pesho293227-Oct-04 0:13 
GeneralEnableWindow in vc++ Pin
vc-programmer-26-Oct-04 21:24
vc-programmer-26-Oct-04 21:24 
GeneralRe: EnableWindow in vc++ Pin
Cedric Moonen26-Oct-04 21:31
Cedric Moonen26-Oct-04 21:31 
GeneralRe: EnableWindow in vc++ Pin
vc-programmer-26-Oct-04 21:50
vc-programmer-26-Oct-04 21:50 
GeneralRe: EnableWindow in vc++ Pin
Cedric Moonen26-Oct-04 22:03
Cedric Moonen26-Oct-04 22:03 
GeneralRe: EnableWindow in vc++ Pin
vc-programmer-26-Oct-04 22:15
vc-programmer-26-Oct-04 22:15 
GeneralFind changed Control on Dialog. Pin
Sumit Kapoor26-Oct-04 20:59
Sumit Kapoor26-Oct-04 20:59 
GeneralRe: Find changed Control on Dialog. Pin
Cedric Moonen26-Oct-04 21:10
Cedric Moonen26-Oct-04 21:10 
GeneralRe: Find changed Control on Dialog. Pin
Sumit Kapoor26-Oct-04 21:22
Sumit Kapoor26-Oct-04 21:22 
GeneralApplication dissappearing Pin
FASTian26-Oct-04 20:43
FASTian26-Oct-04 20:43 
GeneralRe: Application dissappearing Pin
dharani26-Oct-04 21:10
dharani26-Oct-04 21:10 
GeneralQuestion regarding "typeof" equivalent in VC++ .NET Pin
NietzscheDisciple26-Oct-04 19:10
NietzscheDisciple26-Oct-04 19:10 
GeneralChange Font Pin
uttit26-Oct-04 18:56
uttit26-Oct-04 18:56 
GeneralRe: Change Font Pin
sarath_babu27-Oct-04 0:50
sarath_babu27-Oct-04 0:50 

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.