473,383 Members | 1,885 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,383 software developers and data experts.

Auto messages possiable ?



Hi,

i 've written using a class in c#.net and is working nice.
when ever the class is opened ,I want some messages like author
name,date to be written automatically in the top of that class.

like vs.net's

Web Form Designer generated code
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
Could u please tell me when should i write , and how to do it.

With Regards
A drop in the ocean

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #1
4 916
Hi drop in the ocean:

One way to do this is to edit the new C# file template. You can find it in
the location: \Program Files\Visual Studio .NET\2003\VC#\VC#Wizards\CSharpAddClassWiz\Templat es\1033\NewCSharpFile.cs

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/
Hi,

i 've written using a class in c#.net and is working nice.
when ever the class is opened ,I want some messages like author
name,date to be written automatically in the top of that class.
like vs.net's

Web Form Designer generated code
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
Could u please tell me when should i write , and how to do it.

With Regards
A drop in the ocean
*** Sent via Developersdex http://www.developersdex.com *** Don't just
participate in USENET...get rewarded for it!

Nov 19 '05 #2
Yes, DEVPATH can work if the environment variable is configured correctly
- but I'd avoid DEVPATH in any case since it is deprecated and other methods
exist to load from outside the app base.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Hi,

i 've written using a class in c#.net and is working nice.
when ever the class is opened ,I want some messages like author
name,date to be written automatically in the top of that class.
like vs.net's

Web Form Designer generated code
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
Could u please tell me when should i write , and how to do it.

With Regards
A drop in the ocean
*** Sent via Developersdex http://www.developersdex.com *** Don't just
participate in USENET...get rewarded for it!

Nov 19 '05 #3

Hi, Allen

Thanks for that.I ll try & getback to u.
Regards
Raghu
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #4
Dear Allen,

thanks for that.and i mentioned that only.

let us assume that , we have created a auto message like

//
// TODO: Add constructor logic here
//Raghuraman
//

in \Program Files\Visual Studio
..NET\2003\VC#\VC#Wizards\CSharpAddClassWiz\Templa tes\1033\NewCSharpFile.
cs

---
***
as per the above statement , am clear to add comments for all the new
classes am going to create.***

now, if i create a new class ,that will come with the message
'Raghuraman' along with the default comments ,fine.Now i can simply
delete the comment 'Raghuraman and put another name here.
***
So for security,it would be highly appriciable, that the specified
comment should be automatically added when ever i open the existing
class from the solution explorer.

***

Regards
a drop in the ocean







*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #5

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

Similar topics

1
by: Raghuraman | last post by:
Hi i heared that Oracle can convert from number to word thru query i remember thru (jsp format) .Is it possiable in sqlserver Thanks
2
by: Raghuraman | last post by:
Hi, I've written a M.plan in my client place which is scheduled to occur weekly once.But 4 days gone from the last backup taken , there is a problem in the server which does not start loading...
9
by: Raghuram | last post by:
I dont have any application development tool like Visual Studios .NET or any other tools. .. i have only IIS Server and 1.1 framework installed with these resources can write a sample aspx page...
2
by: godpowerme | last post by:
I am making a VB Project and i wanted to add something a bit unusual like an auto button basher, i realize i have to use a timer and a lot of loops, but how can i make VB , on activation by...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.