Solved

.rc question

Posted on 1998-07-09
5
1,334 Views
Last Modified: 2012-05-04
I tried to use .rc with my vb5 application. However, I got some error messages when I complied my .rc file.
Here is an example when I complied my .rc file:

D:\DevStudio\SharedIDE\bin>rc d:\project\vb\editor\cutepad.rc
d:\project\vb\editor\cutepad.rc (20): error RC2144 : PRIMARY LANGUAGE ID not a number
d:\project\vb\editor\cutepad.rc (55): error RC2135 : file not found: STRINGTABLE
d:\project\vb\editor\cutepad.rc (57): error RC2135 : file not found: 100
d:\project\vb\editor\cutepad.rc (58): error RC2135 : file not found: &New
d:\project\vb\editor\cutepad.rc (60): error RC2135 : file not found: END

I used VC++ 5.0 to create my rc file and use rc.exe to complied my .rc file. Someone please help me! Thanks!

P.S. I'm looking for a text file called resource.txt, it located in the \Tools subdirectory of the main Visual Basic directory. (I cant find it in my computer) If you have this file, please email to cutemr2@hotmail.com (includes your experts # in the email). I will give 50pts for this file. Thanks A Lot!
0
Comment
Question by:cutetech
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:yowkee
ID: 1465307
cutetech,

  If you are going to use resource file under VB, you could download a resource editor ResEdit.exe from MS VB owner area. It provide a interface to create resource and save/compile to .res (you won't see .rc file). It would be easier than creating and compiling rc file yourself.

 Hope this help.
0
 
LVL 1

Author Comment

by:cutetech
ID: 1465308
yowkee,
Thanks! I found the resource editor and I will try it later. If it can solve my problem, I will give you the pts. =D
0
 
LVL 1

Author Comment

by:cutetech
ID: 1465309
yowkee,
Thanks for your help! I'm using ResEdit for my VB application now. Please post your comment as an answer again, then I can give your the pts. =D

cutetech
0
 
LVL 4

Accepted Solution

by:
yowkee earned 50 total points
ID: 1465310
cutetech,

  Have a nice day. :)
  Answer as my comment.
0
 
LVL 1

Author Comment

by:cutetech
ID: 1465311
Thanks =D
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

810 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