- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With Visual Studio 2008 shell I had to use the program 'ResEdit' to edit the resouce file - to edit the dialogs etc.
With Visusal Studio 2010 full I should be able to edit the dialogs directly - how do I do this, back in VF6.6 there was a resource tab.
Also how do I get the watch window to be displayed when debugging - I can't see anything that looks like it, just an 'immediate' window.
I'm sure the answers are simple its just getting used to the new terminology.
Thanks
David
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I've attached the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, I can also see the issue you had with windows.h - I am investigating that on the side.
The main problem here is that the resource editor doesn't like including windows.h, which pulls in a LOT of things, apparently some with symbols longer than it likes. Please replace the series of #include lines in grade.rc with:
#include "afxres.h"
and see if that's better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
THanks, replacing the #includes with #include "afxres.h" looks better.
I now get the error "RC2104: undefined keyword or key name IDM_DBASE_ACTIVATE".
I'm not sure why, as it's in grade.rc, in resource.fd resource.h and in the code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The start of the .rc file now looks like this:
// Generated by ResEdit 1.5.11
// Copyright (C) 2006-2012
#include "afxres.h"
#include "richedit.h"
#include "commctrl.h"
#include "resource.h"
When I double click on the file it gaves the same error as in post #36.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include "richedit.h"
#include "commctrl.h"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"error RC2104 : undefined keyword or key name: WC_STATIC"
The start of the .rc now looks like this:
// Generated by ResEdit 1.5.11
// Copyright (C) 2006-2012
#include "afxres.h"
#include "resource.h"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or add this:
#define WC_STATIC "Static"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I still get the error message:
C:\Program Files (x86)\Microsoft SDK's\Windoes\v7.0 A\include\prsht.h(0)
error RC2247 : SYMBOL name too long.
The .rc files now looks like this:
// Generated by ResEdit 1.5.11
// Copyright (C) 2006-2012
#include "afxres.h"
#include "resource.h"
#include "commctrl.h"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, OK, I've now added the following and I don't get any errors when compiling or double clicking on the .rc file.
// Generated by ResEdit 1.5.11
// Copyright (C) 2006-2012
#include "afxres.h"
#include "resource.h"
#define WC_STATIC "Static"
#define UPDOWN_CLASS "Static"
#define PROGRESS_CLASS "Static"
#define WC_TABCONTROL "Static"
#define TRACKBAR_CLASS "Static"
But I don't see the resources window - maybe it's just turned off.
Which one is it?
In View|Other Windows|Resource View is greyed out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It contains three entries: 'Grade' (the name of my project) and 'Miscellaneous Files' twice. Beside them is a rectangle with a line and small circle on the left. I cannot click on them or do anything with them. I think they may be left over from failed attempts to display them.
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I go to View|Other Windows|Resource View is greyed out - I don't know why, it was available before.
I'm using Visual Studio withVB2010 and Visual Fortran - I don't if that is causing the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try removing the .rc file from the project and re-adding it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have VC++ installed. I created a small VC++ project the Resource View is available and it looks like your screen grab on a previous post. But with Visual Fortran, Resource View is greyed out. I'm sure it was available yesterday after installing SP1.
Resource View is also available with VB2010.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On my projectwhen I click on the .rc file I get the message that the file is already open do I want to close it etc. But in the .rc tab on the main window the file is displayed as a text file.
As you suggested, I copied my .rc file (and the ico files) into the new project and it is displayed correctly.
Therefore your suggestion on creating a new project and importing the files looks the way forward. How can I be sure that I copy the project settingsso that the project will run correctly? Or is there a solution to the fact that the /rc file is being displayed as text.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page