Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: protect from print-screen Pin
baerten5-Nov-07 22:37
baerten5-Nov-07 22:37 
GeneralRe: protect from print-screen Pin
Nelek5-Nov-07 23:23
protectorNelek5-Nov-07 23:23 
GeneralRe: protect from print-screen Pin
baerten5-Nov-07 23:37
baerten5-Nov-07 23:37 
GeneralRe: protect from print-screen Pin
Nelek6-Nov-07 1:53
protectorNelek6-Nov-07 1:53 
QuestionHow to connect to database in MFC? Pin
TooShy2Talk5-Nov-07 21:15
TooShy2Talk5-Nov-07 21:15 
QuestionRe: How to connect to database in MFC? Pin
Hamid_RT5-Nov-07 21:26
Hamid_RT5-Nov-07 21:26 
AnswerRe: How to connect to database in MFC? Pin
TooShy2Talk5-Nov-07 22:05
TooShy2Talk5-Nov-07 22:05 
AnswerRe: How to connect to database in MFC? Pin
cx_jin5-Nov-07 22:09
cx_jin5-Nov-07 22:09 
AnswerRe: How to connect to database in MFC? Pin
cx_jin7-Nov-07 15:18
cx_jin7-Nov-07 15:18 
Questionhelp me Pin
SnaKeBeD5-Nov-07 21:06
SnaKeBeD5-Nov-07 21:06 
AnswerRe: help me Pin
Hamid_RT5-Nov-07 21:08
Hamid_RT5-Nov-07 21:08 
GeneralRe: help me Pin
Nelek5-Nov-07 21:16
protectorNelek5-Nov-07 21:16 
GeneralRe: help me Pin
Hamid_RT5-Nov-07 21:27
Hamid_RT5-Nov-07 21:27 
AnswerRe: help me Pin
ThatsAlok5-Nov-07 21:21
ThatsAlok5-Nov-07 21:21 
QuestionUrgent please help , problem with relative path and win32 / MFC appliction Pin
xanagan6665-Nov-07 20:30
xanagan6665-Nov-07 20:30 
AnswerRe: Urgent please help , problem with relative path and win32 / MFC appliction [modified] Pin
Nelek5-Nov-07 20:49
protectorNelek5-Nov-07 20:49 
GeneralRe: Urgent please help , problem with relative path and win32 / MFC appliction Pin
xanagan6665-Nov-07 21:13
xanagan6665-Nov-07 21:13 
GeneralRe: Urgent please help , problem with relative path and win32 / MFC appliction Pin
Nelek5-Nov-07 21:21
protectorNelek5-Nov-07 21:21 
With this code you dont need to call it everywhere. You can call it just once in your OnInitialUpdate, OnInitDialog or wherever class/module you need it, save it in a member variable and just replace the old vars names with the new one.

I mean, with this code you can save the m_szAppPath and use it as basis for all the other places, m_szFileName = m_szAppPath + "WhateverYouWant.ext";



And you can make it automatically with search and replace. I have used it a lot in my project :P

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

AnswerRe: Urgent please help , problem with relative path and win32 / MFC appliction Pin
Llasus5-Nov-07 20:50
Llasus5-Nov-07 20:50 
GeneralRe: Urgent please help , problem with relative path and win32 / MFC appliction Pin
xanagan6665-Nov-07 21:33
xanagan6665-Nov-07 21:33 
Questionmaking two DLLs into one DLL Pin
George_George5-Nov-07 20:29
George_George5-Nov-07 20:29 
AnswerRe: making two DLLs into one DLL Pin
ThatsAlok5-Nov-07 21:24
ThatsAlok5-Nov-07 21:24 
GeneralRe: making two DLLs into one DLL Pin
George_George5-Nov-07 21:44
George_George5-Nov-07 21:44 
GeneralRe: making two DLLs into one DLL Pin
ThatsAlok5-Nov-07 22:44
ThatsAlok5-Nov-07 22:44 
AnswerRe: making two DLLs into one DLL Pin
toxcct6-Nov-07 3:17
toxcct6-Nov-07 3:17 

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.