Solved

Resource import problem

Posted on 2002-05-23
3
192 Views
Last Modified: 2013-11-20
Hi
I have imported resources from one application to another and corresponding dialog files too. but those files(classes) are not coming in class whizards. i tried to delte the files from the project and again added. when i open the class wiz when resource is open it says it has found new resource create a new class or select existing class if i select the existing class. that is empty. how to do that

thanx
0
Comment
Question by:AmitAgarwal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:gurly
ID: 7029941
Try deleting your clw file.
(It is the class wizard file.)
You can generate it again - the time you will open the class wizard you will be asked if you want to build a new clw file from the source file. press Yes and then go over all your source directories and mark the relevant files.
0
 
LVL 3

Accepted Solution

by:
Crius earned 50 total points
ID: 7029943
Well, first off, to move classes and dialogs from one application to another, you should use the gallery:

Go to the class view of the first application, right click on the class you want to use in the second app, and select "Add to gallery".

Go to your second application, choose from Project menu->Add to Project->Components and controls. Go to your first application directory name, and choose the .ogx file representing your class. It will import the whole class, including resources to your second application.


If it's too late to do this, try going into your second application directory, and deleting the .clw file. That is the class wizard file. When you try to go into the class wizard file, it will ask you if you want to build the class wizard file from your files. Say yes/ok. It will already have all your project files added.
0
 
LVL 4

Author Comment

by:AmitAgarwal
ID: 7031629
Thanx a lot guys
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question