PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Resource Editor for .net compact

Reply

Resource Editor for .net compact

 
Thread Tools Rate Thread
Old 20-05-2005, 10:32 AM   #1
Davide
Guest
 
Posts: n/a
Default Resource Editor for .net compact


Hi,
I need to create a resource where I can access most resources for the application everywhere.
So I need the resource editor, but I can't find the editor that can handle the .resx for .net
compact. Can you tell me where I can find an application that able me to edit a .resx for .net cf?

Thanks Davide
  Reply With Quote
Old 20-05-2005, 10:37 AM   #2
Jim Cooper
Guest
 
Posts: n/a
Default Re: Resource Editor for .net compact


> Can you tell me where I can find an
> application that able me to edit a .resx for .net cf?


Visual Studio.


Cheers,
Jim Cooper

__________________________________________

Jim Cooper jcooper@tabdee.ltd.uk
Tabdee Ltd http://www.tabdee.ltd.uk

TurboSync - Connecting Delphi to your Palm
__________________________________________
  Reply With Quote
Old 20-05-2005, 10:48 AM   #3
Davide
Guest
 
Posts: n/a
Default Re: Resource Editor for .net compact

How can I add an image to .resx with visual studio?



Jim Cooper wrote:
>
> > Can you tell me where I can find an

>
>> application that able me to edit a .resx for .net cf?

>
>

  Reply With Quote
Old 20-05-2005, 10:53 AM   #4
Sergey Bogdanov
Guest
 
Posts: n/a
Default Re: Resource Editor for .net compact

Lutz Roeder has great resource editor:
http://www.aisto.com/roeder/dotnet/...?File=Resourcer

--
Sergey Bogdanov
http://www.sergeybogdanov.com


Jim Cooper wrote:
>
> > Can you tell me where I can find an

>
>> application that able me to edit a .resx for .net cf?

>
>
> Visual Studio.
>
>
> Cheers,
> Jim Cooper
>
> __________________________________________
>
> Jim Cooper jcooper@tabdee.ltd.uk
> Tabdee Ltd http://www.tabdee.ltd.uk
>
> TurboSync - Connecting Delphi to your Palm
> __________________________________________

  Reply With Quote
Old 20-05-2005, 11:02 AM   #5
Davide
Guest
 
Posts: n/a
Default Re: Resource Editor for .net compact



This is (more or less)the response if I try to open the .resx of .net cf with resourcer of Lutz.

System.ArgumentException: not valid input .Resx. Impossible to find a valid tag "resheader" for the
types of read and write resX.

at System.Resources.ResXResourceReader.ParseXml(XmlReader reader)
at System.Resources.ResXResourceReader.EnsureData()
at System.Resources.ResXResourceReader.GetEnumerator()
at Resourcer.ResourceBrowser.Load(String fileName)

So, I think that this application is not able to open the resourcer of .net cf.


> Lutz Roeder has great resource editor:
> http://www.aisto.com/roeder/dotnet/...?File=Resourcer
>
> --
> Sergey Bogdanov
> http://www.sergeybogdanov.com
>
>
> Jim Cooper wrote:
>
>>
>> > Can you tell me where I can find an

>>
>>> application that able me to edit a .resx for .net cf?

>>
>>
>>
>> Visual Studio.
>>
>>
>> Cheers,
>> Jim Cooper
>>
>> __________________________________________
>>
>> Jim Cooper jcooper@tabdee.ltd.uk
>> Tabdee Ltd http://www.tabdee.ltd.uk
>>
>> TurboSync - Connecting Delphi to your Palm
>> __________________________________________

  Reply With Quote
Old 20-05-2005, 11:31 AM   #6
Sergey Bogdanov
Guest
 
Posts: n/a
Default Re: Resource Editor for .net compact

Just try to replace temporary:

<resheader name="Reader">
<value>System.Windows.Forms.Design.CFResXResourceReader,
System.CF.Design, Version=7.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a</value>
</resheader>
<resheader name="Writer">
<value>System.Windows.Forms.Design.CFResXResourceWriter,
System.CF.Design, Version=7.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a</value>
</resheader>

with that:

<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>

When you complete editing, restore it again.

--
Sergey Bogdanov
http://www.sergeybogdanov.com


Davide wrote:
>
>
> This is (more or less)the response if I try to open the .resx of .net cf
> with resourcer of Lutz.
>
> System.ArgumentException: not valid input .Resx. Impossible to find a
> valid tag "resheader" for the types of read and write resX.
>
> at System.Resources.ResXResourceReader.ParseXml(XmlReader reader)
> at System.Resources.ResXResourceReader.EnsureData()
> at System.Resources.ResXResourceReader.GetEnumerator()
> at Resourcer.ResourceBrowser.Load(String fileName)
>
> So, I think that this application is not able to open the resourcer of
> .net cf.
>
>
>> Lutz Roeder has great resource editor:
>> http://www.aisto.com/roeder/dotnet/...?File=Resourcer
>>
>> --
>> Sergey Bogdanov
>> http://www.sergeybogdanov.com
>>
>>
>> Jim Cooper wrote:
>>
>>>
>>> > Can you tell me where I can find an
>>>
>>>> application that able me to edit a .resx for .net cf?
>>>
>>>
>>>
>>>
>>> Visual Studio.
>>>
>>>
>>> Cheers,
>>> Jim Cooper
>>>
>>> __________________________________________
>>>
>>> Jim Cooper jcooper@tabdee.ltd.uk
>>> Tabdee Ltd http://www.tabdee.ltd.uk
>>>
>>> TurboSync - Connecting Delphi to your Palm
>>> __________________________________________

  Reply With Quote
Old 20-05-2005, 11:46 AM   #7
Davide
Guest
 
Posts: n/a
Default Re: Resource Editor for .net compact

Yes, I found also this solution now

But what I can find is that you must not edit the file with wordpad BUT ONLY with notepad.
If you edit with wordpad, visual studio give you an error when it re-parse the file.

Bye,

Davide


> Just try to replace temporary:
>
> <resheader name="Reader">
> <value>System.Windows.Forms.Design.CFResXResourceReader,
> System.CF.Design, Version=7.0.5000.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a</value>
> </resheader>
> <resheader name="Writer">
> <value>System.Windows.Forms.Design.CFResXResourceWriter,
> System.CF.Design, Version=7.0.5000.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a</value>
> </resheader>
>
> with that:
>
> <resheader name="reader">
> <value>System.Resources.ResXResourceReader, System.Windows.Forms,
> Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089</value>
> </resheader>
> <resheader name="writer">
> <value>System.Resources.ResXResourceWriter, System.Windows.Forms,
> Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089</value>
> </resheader>
>
> When you complete editing, restore it again.
>
> --
> Sergey Bogdanov
> http://www.sergeybogdanov.com
>
>
> Davide wrote:
>
>>
>>
>> This is (more or less)the response if I try to open the .resx of .net
>> cf with resourcer of Lutz.
>>
>> System.ArgumentException: not valid input .Resx. Impossible to find a
>> valid tag "resheader" for the types of read and write resX.
>>
>> at System.Resources.ResXResourceReader.ParseXml(XmlReader reader)
>> at System.Resources.ResXResourceReader.EnsureData()
>> at System.Resources.ResXResourceReader.GetEnumerator()
>> at Resourcer.ResourceBrowser.Load(String fileName)
>>
>> So, I think that this application is not able to open the resourcer of
>> .net cf.
>>
>>
>>> Lutz Roeder has great resource editor:
>>> http://www.aisto.com/roeder/dotnet/...?File=Resourcer
>>>
>>> --
>>> Sergey Bogdanov
>>> http://www.sergeybogdanov.com
>>>
>>>
>>> Jim Cooper wrote:
>>>
>>>>
>>>> > Can you tell me where I can find an
>>>>
>>>>> application that able me to edit a .resx for .net cf?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Visual Studio.
>>>>
>>>>
>>>> Cheers,
>>>> Jim Cooper
>>>>
>>>> __________________________________________
>>>>
>>>> Jim Cooper jcooper@tabdee.ltd.uk
>>>> Tabdee Ltd http://www.tabdee.ltd.uk
>>>>
>>>> TurboSync - Connecting Delphi to your Palm
>>>> __________________________________________

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off