473,321 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Looking for a tool to manage strings...

I am now many months into a project where the powers that be decided to
simply throw static strings in the .Net code. Does anyone know of a
tool that will pull out the strings, and put them into some type of
resource file and ultimately assist us in managing all the strings?

Aug 25 '06 #1
5 1185
I am now many months into a project where the powers that be decided to
simply throw static strings in the .Net code. Does anyone know of a
tool that will pull out the strings, and put them into some type of
resource file and ultimately assist us in managing all the strings?
I don't know of any such tool. Why do the strings in your project need
managing? Maybe your objectives can be met by something other than
centralization.

Aug 25 '06 #2

AMercer wrote:
I am now many months into a project where the powers that be decided to
simply throw static strings in the .Net code. Does anyone know of a
tool that will pull out the strings, and put them into some type of
resource file and ultimately assist us in managing all the strings?

I don't know of any such tool. Why do the strings in your project need
managing? Maybe your objectives can be met by something other than
centralization.
We have static strings all over the place that are going to be
displayed. It would be nice if they where centralized so that the
documentation department can get a simple list of all the string and
word smith them for development. It would also making going
international much easier, too.

Aug 25 '06 #3
Wouldn't the ideal place for these be the app.config file, or the web.config
depending on the project type. If your using a lot of strings you should
devise a naming convention for them. I doubt though that your going to find
a tool that will help you pull them out of your code.

Regards

John Timney (MVP)
"Sam Carleton" <sc*******@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
>I am now many months into a project where the powers that be decided to
simply throw static strings in the .Net code. Does anyone know of a
tool that will pull out the strings, and put them into some type of
resource file and ultimately assist us in managing all the strings?

Aug 25 '06 #4

Sam Carleton wrote:
I am now many months into a project where the powers that be decided to
simply throw static strings in the .Net code. Does anyone know of a
tool that will pull out the strings, and put them into some type of
resource file and ultimately assist us in managing all the strings?
Would adding them to the project resources help? Then you could use
them as: myProject.Resources.SomeString
I don't know of a tool that can do this automatically though... I'm not
even sure how it would work. Where would it find the strings to "pull
out" and how would it identify them?

Aug 25 '06 #5
The problem with your request is that you haven't defined what "all over the
place" means. You're looking for a tool that does exactly what? You have
stated that "the powers that be decided to simply throw static strings in
the .Net code." That doesn't tell us much. A tool to extract static strings
from code and put them into resource files would have to know how to
identify what these "static strings" you're talking about are, what
identifies these from any other strings defined in your code. And I don't
think you're going to find one ready-made.

I would suggest that you figure out for yourself how an application could
identify all these "static strings" and write your own solution, or do the
work by hand if you figure it will take more time to automate (since this is
a one-time change).

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

It takes a tough man to make a tender chicken salad.
"Sam Carleton" <sc*******@gmail.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
>
AMercer wrote:
I am now many months into a project where the powers that be decided to
simply throw static strings in the .Net code. Does anyone know of a
tool that will pull out the strings, and put them into some type of
resource file and ultimately assist us in managing all the strings?

I don't know of any such tool. Why do the strings in your project need
managing? Maybe your objectives can be met by something other than
centralization.

We have static strings all over the place that are going to be
displayed. It would be nice if they where centralized so that the
documentation department can get a simple list of all the string and
word smith them for development. It would also making going
international much easier, too.

Aug 25 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: vincent_delft | last post by:
I'm looking for a Web Tool kit to build web pages with the following criteria (in priority order) : - easy to use, develop (reuseability of code, ...) - flexible (ideally should run with Python...
14
by: Akseli Mäki | last post by:
Hi, Hopefully this is not too much offtopic. I'm working on a FAQ. I want to make two versions of it, plain text and HTML. I'm looking for a tool that will make a plain text doc out of the...
3
by: scott_shuster | last post by:
Hi Everyone, I have a web site that is largely based in .NET technologies, but also has a fair amount of classic ASP. I'm looking for a tool to give to end users to manage content. This tool...
0
by: Namratha Shah \(Nasha\) | last post by:
Hi All, We have almost covered all the .NET Framework Tools except a few, which we will cover in the coming days. Today we will are going to check out a tool called as mscorcfg.msc. This is a...
16
by: jblankenburg | last post by:
I am trying to deploy a simple web application to my client's production server, but it's not clear to me how MS planned on having the Security users managed without Studio. Certainly someone...
1
by: va | last post by:
I need to have a designated admin user add, approve and remove users from the site. They won't have VS 2005 instaleld on their machine. I want to have teh Web Admin tool as part of my site but I...
1
by: John | last post by:
Hi Is there a distributable version of asp.net web site configuration tool available? I need it to distribute with my app to allow end user client to manage their own users. Thanks Regards
0
by: AMDRIT | last post by:
I am looking for better concrete examples, as I am a bit dense, on design patterns that facilitate my goals. I have been out to the code project, planet source code, and microsoft's patterns and...
3
by: henry | last post by:
Folks: I've custom-built a text-only chapter-section menu in PHP (see below). It does everything I want... But it is really quite difficult even for me to edit, add, and subtract entries. If...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.