Click here to Skip to main content
15,923,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to open file in own program? Pin
ThatsAlok17-Nov-05 22:56
ThatsAlok17-Nov-05 22:56 
GeneralRe: How to open file in own program? Pin
Cedric Moonen18-Nov-05 0:56
Cedric Moonen18-Nov-05 0:56 
GeneralRe: How to open file in own program? Pin
uus9918-Nov-05 21:03
uus9918-Nov-05 21:03 
AnswerRe: How to open file in own program? Pin
David Crow18-Nov-05 4:10
David Crow18-Nov-05 4:10 
QuestionPLease advice not complext SCHEME drawing control ? Pin
vgrigor117-Nov-05 20:53
vgrigor117-Nov-05 20:53 
Questionhow to change the resource such as companyname in the .exe file Pin
freemme17-Nov-05 20:14
freemme17-Nov-05 20:14 
AnswerRe: how to change the resource such as companyname in the .exe file Pin
Venkata Rama Subbarao18-Nov-05 1:00
Venkata Rama Subbarao18-Nov-05 1:00 
AnswerRe: how to change the resource such as companyname in the .exe file Pin
Aamir Butt18-Nov-05 1:22
Aamir Butt18-Nov-05 1:22 
The sample u mentioned has got complete code for changing the CompanyName. I have used this code myself. You just need to understand it fully before using and yes, dont forget to compile your application as unicode to do this. It wont work without that. I am just pasting a snippet of code here from the same article which does this.
CString strSubBlock;
LPTSTR  pValueBuffer;

strSubBlock.Format(_T("\\StringFileInfo\\%04x%04x\\CompanyName"),
                   lpTranslate->wLanguage, 
                   lpTranslate->wCodePage);

VerQueryValue(lpBuffer, (LPTSTR) ((LPCTSTR) strSubBlock), 
           (LPVOID *) &pValueBuffer, &uTemp);

ZeroMemory(pValueBuffer, _tcslen(pValueBuffer) * sizeof(TCHAR));
_tcscpy(pValueBuffer, _T("My Company, Inc."));


And yes, this Article is by one of the most respected members here. Mr. David CrowRose | [Rose]

Regards,
Aamir
GeneralRe: how to change the resource such as companyname in the .exe file Pin
freemme18-Nov-05 16:53
freemme18-Nov-05 16:53 
QuestionRe: how to change the resource such as companyname in the .exe file Pin
David Crow18-Nov-05 4:58
David Crow18-Nov-05 4:58 
AnswerRe: how to change the resource such as companyname in the .exe file Pin
freemme18-Nov-05 17:08
freemme18-Nov-05 17:08 
QuestionRe: how to change the resource such as companyname in the .exe file Pin
David Crow21-Nov-05 3:08
David Crow21-Nov-05 3:08 
AnswerRe: how to change the resource such as companyname in the .exe file Pin
freemme22-Nov-05 20:43
freemme22-Nov-05 20:43 
Questionwinsock.h conflicting with winsock2.h Pin
newbie534517-Nov-05 20:02
newbie534517-Nov-05 20:02 
AnswerRe: winsock.h conflicting with winsock2.h Pin
cmk18-Nov-05 1:24
cmk18-Nov-05 1:24 
QuestionXML Serialization of CollectionBase Pin
(Steven Hicks)n+117-Nov-05 19:02
(Steven Hicks)n+117-Nov-05 19:02 
QuestionFILEOKSTRING Pin
ragavan17-Nov-05 18:49
ragavan17-Nov-05 18:49 
QuestionStatic linking Pin
serious-sam17-Nov-05 18:31
serious-sam17-Nov-05 18:31 
AnswerRe: Static linking Pin
Mircea Puiu17-Nov-05 20:32
Mircea Puiu17-Nov-05 20:32 
GeneralRe: Static linking Pin
serious-sam17-Nov-05 20:55
serious-sam17-Nov-05 20:55 
GeneralRe: Static linking Pin
Mircea Puiu17-Nov-05 23:37
Mircea Puiu17-Nov-05 23:37 
AnswerRe: Static linking Pin
cmk18-Nov-05 1:31
cmk18-Nov-05 1:31 
GeneralRe: Static linking Pin
serious-sam20-Nov-05 11:37
serious-sam20-Nov-05 11:37 
GeneralRe: Static linking Pin
cmk20-Nov-05 12:43
cmk20-Nov-05 12:43 
GeneralRe: Static linking Pin
serious-sam20-Nov-05 12:48
serious-sam20-Nov-05 12:48 

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.