473,322 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Editor problem

I have clicked remove on a header file in the Solution Explorer. Now I need
to add it back in. I can add the .CPP, .H and/or .RESX files individually,
but they don't appear in the same way as the existing forms (they have .resX
file as a child of the .h file). Also, now when I click on the .h file it no
longer brings up the dialog editor but instead simply takes me to editing
the source code! It appears as though I can't edit this dialog anymore! Is
there a specific way you have to add in dialogs to solution explorer?

--
Best regards
Mark
Nov 17 '05 #1
1 922
"Mark" <sw****@hotmail.com> wrote in
news:##**************@TK2MSFTNGP15.phx.gbl:
I have clicked remove on a header file in the Solution Explorer. Now I
need to add it back in. I can add the .CPP, .H and/or .RESX files
individually, but they don't appear in the same way as the existing
forms (they have .resX file as a child of the .h file). Also, now when
I click on the .h file it no longer brings up the dialog editor but
instead simply takes me to editing the source code! It appears as
though I can't edit this dialog anymore! Is there a specific way you
have to add in dialogs to solution explorer?


The easiest way with VS2003 is to create a new form and then cut and
paste the contents of the .h and .resx files into the new files.

Alternatively, you can add the existing .h/.cpp/.resx files to the
project again and then in the properties (properties window) of the .h
file select "C++ Form" instead of "C++ Header" for the file type. To get
the resx to be a child node of the .h file, you'll need to manually
modify the .vcproj file and mimic what other forms have. In VS2005, we
do that automatically for you when you flip the file type from "header"
to "form".

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: JC Home | last post by:
Hi all, I am just learning JavaScript and would love to find a good editor that helps with syntax and debugging. Any suggestions? Thanks!! -- Jeff Ciaccio Dallas, GA
71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
4
by: johnwind | last post by:
Hello All, I hope someone out there has some input on this problem, it driving me nuts. This problem only occurs with one code .mdb out of many I have on my system, which implies the problem...
0
by: VP | last post by:
g'day, i am posting a problem i have encountered with creating an email using outlook through some basic c# code. the problem arises when using different email editors in outlook. At the moment...
1
by: Scott Emick | last post by:
I am using the following code. When outlook opens the message and the Outlook HTML editor is the default editor, there is no problem. If Word is the default editor, however, it butchers up the...
4
by: Michael | last post by:
Dear all .. If I want to use develop a user control and declare a public property which the type is System.Windows.Forms.GridTableStylesCollection For example : Public Class LookAndView...
4
by: David Lozzi | last post by:
Howdy, I'm using a WYSIWYG editor called TinyMCE. When I edit some text and then save it back to my SQL server using a SQLCommand, all HTML characters are changed to HTML code, i.e. &gt;strong&lt;...
4
by: pbreah | last post by:
I'm doing a Rich Text Editor (WYSIWYG) in javascript for a game for kids. I'm doing a special case in with every keystroke from A-Z creates a background and foreground color for that letter, witch...
13
by: Bryan | last post by:
I am developing a VB project in VS2005 that has SP2 installed. This is the process that is causing a problem: Open VS2005, open the project Write some code in the code editor Run the project in...
8
by: Red | last post by:
If auto-format is turned off in VS2008, there is apparently no way to indent a line. Under Tools->Options->Text Editor->C#->Formatting, there are three checkboxes. Unchecking those seems to cause...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.