Click here to Skip to main content
14,608,021 members

ATL / WTL / STL

 
SuggestionRe: CFolderPickerDialog can't be inherited Pin
Jochen Arndt7-Dec-15 1:00
professionalJochen Arndt7-Dec-15 1:00 
QuestionBuilding Graphical Menu Choices Pin
Tino Debelo16-Nov-15 14:07
MemberTino Debelo16-Nov-15 14:07 
QuestionRe: Building Graphical Menu Choices Pin
Richard MacCutchan16-Nov-15 20:57
mveRichard MacCutchan16-Nov-15 20:57 
QuestionCalling base class memeber function in child class member function Pin
Member 121160915-Nov-15 0:50
MemberMember 121160915-Nov-15 0:50 
AnswerRe: Calling base class memeber function in child class member function Pin
Richard MacCutchan6-Nov-15 3:55
mveRichard MacCutchan6-Nov-15 3:55 
QuestionATL ACTIVEX UI design Pin
frankzf25-Sep-15 20:35
Memberfrankzf25-Sep-15 20:35 
Question64 bits application using Visual Basic 6 ActiveX controls Pin
RUSUA19-Aug-15 2:01
MemberRUSUA19-Aug-15 2:01 
AnswerRe: 64 bits application using Visual Basic 6 ActiveX controls Pin
Daniel Pfeffer29-Aug-15 11:55
professionalDaniel Pfeffer29-Aug-15 11:55 
I assume that the original 32-bit code used VB6-specific control elements, that the source code (text) for the RC file is unavailable, and that you are familiar with the .RC (source code for resources) file format.

To my knowledge, there is no fully automated method of performing the conversion. What you must do is the following:
  1. Extract the resources from the .EXE file using a resource file editor.
    I have used ResEdit (freeware) for examining resources in EXE files. IIRC, it can also extract resources from an EXE/DLL.
  2. Convert any VB6-specific elements to generic Windows versions
    Each dialog etc. specifies its "class" type, which affects how it is displayed. This includes the DLL that must be loaded in order to display it. Convert any VB6-specific names to the generic equivalent (e.g. "VB6button" should be renamed "button", "VB6dialog" should be renamed "dialog", etc.)
  3. EDIT: Some ActiveX controls may have no generic control that can replace them. In this case, you must decide whether to use a class library that supplies the missing functionality, or eliminate them from the file.
  4. Recompile the RC file using the Visual Studio resource editor.
You should get an application that has standard dialog boxes. It will presumably require lots of tweaking before the layout etc. looks OK, but it is a good starting point.

Good luck!
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.

--Winston Churchill

QuestionCString in static library for both MFC and non-MFC projects Pin
peterchen12-Aug-15 11:34
Memberpeterchen12-Aug-15 11:34 
AnswerRe: CString in static library for both MFC and non-MFC projects Pin
Albert Holguin20-Oct-15 10:15
professionalAlbert Holguin20-Oct-15 10:15 
Questionvisual studio 2010 error help needed Pin
VScoder125-Jul-15 23:32
MemberVScoder125-Jul-15 23:32 
SuggestionRe: visual studio 2010 error help needed Pin
Richard MacCutchan6-Jul-15 0:07
mveRichard MacCutchan6-Jul-15 0:07 
GeneralRe: visual studio 2010 error help needed Pin
VScoder126-Jul-15 15:45
MemberVScoder126-Jul-15 15:45 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan6-Jul-15 21:46
mveRichard MacCutchan6-Jul-15 21:46 
GeneralRe: visual studio 2010 error help needed Pin
VScoder126-Jul-15 23:29
MemberVScoder126-Jul-15 23:29 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan6-Jul-15 23:35
mveRichard MacCutchan6-Jul-15 23:35 
GeneralRe: visual studio 2010 error help needed Pin
VScoder127-Jul-15 1:34
MemberVScoder127-Jul-15 1:34 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan7-Jul-15 1:56
mveRichard MacCutchan7-Jul-15 1:56 
GeneralRe: visual studio 2010 error help needed Pin
VScoder127-Jul-15 16:11
MemberVScoder127-Jul-15 16:11 
GeneralRe: visual studio 2010 error help needed Pin
Brisingr Aerowing7-Jul-15 17:29
professionalBrisingr Aerowing7-Jul-15 17:29 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan7-Jul-15 22:58
mveRichard MacCutchan7-Jul-15 22:58 
GeneralRe: visual studio 2010 error help needed Pin
Brisingr Aerowing8-Jul-15 3:23
professionalBrisingr Aerowing8-Jul-15 3:23 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan8-Jul-15 3:26
mveRichard MacCutchan8-Jul-15 3:26 
QuestionMFC multi languages UI question Pin
econy26-Jun-15 3:34
Memberecony26-Jun-15 3:34 
AnswerRe: MFC multi languages UI question Pin
Albert Holguin26-Jun-15 10:55
professionalAlbert Holguin26-Jun-15 10:55 

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.