Groups | Blog | Home
all groups > dotnet internationalization > may 2005 >

dotnet internationalization : Create resource for a Class


Thanos
5/18/2005 2:26:01 AM
Hi

Excuse my english is not perfect

I have a program with forms and classes.
All of my forms contain default resource .
And I can see in the "solution explorer"
-Form1.vb
'--Form1.resx

If I create resource for my class I will have (in the solution explorer)
-Class1.resx
-Class1.vb

What do I do to have
-Class1.vb
'--Class1.resx


Thanks

aldod NO[at]SPAM online.microsoft.com (
5/26/2005 12:00:00 AM
Unlike the Windows Forms, Classes are not designed to have a resource file
automatically linked/associated. So, if I understood correctly what you are
asking for, it is something the Solution Explorer does not support.

HTH
Aldo

-- This posting is provided AS IS and provides no warranties --

--------------------
| Thread-Topic: Create resource for a Class
| thread-index: AcVbi5tVl/t/ZUjKTbqF4d+rcKBGTw==
| X-WBNR-Posting-Host: 212.157.88.18
| From: =?Utf-8?B?VGhhbm9z?= <Thanos@discussions.microsoft.com>
| Subject: Create resource for a Class
| Date: Wed, 18 May 2005 02:26:01 -0700
| Lines: 22
| Message-ID: <66BCFF5D-0031-414B-9DA6-13841E709CED@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.internationalization
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.internationalization:1230
| X-Tomcat-NG: microsoft.public.dotnet.internationalization
|
| Hi
|
| Excuse my english is not perfect
|
| I have a program with forms and classes.
| All of my forms contain default resource .
| And I can see in the "solution explorer"
| -Form1.vb
| '--Form1.resx
|
| If I create resource for my class I will have (in the solution explorer)
| -Class1.resx
| -Class1.vb
|
| What do I do to have
| -Class1.vb
| '--Class1.resx
|
|
| Thanks
|
|
|
marinm NO[at]SPAM online.microsoft.com
5/26/2005 12:00:00 AM
I don't know of any way to actually force the project structure in the
Solution Explorer, however, the .resx file should compile properly into the
resources section of the assembly even though the project structure is
different for .resx files which are added manually. Hope this helps,
Marin Millar [MSFT]
AddThis Social Bookmark Button