|
I am going to release a dll. But I am using some log files in that dll. Is this a good practice or not? Should I create log files or not????
|
|
|
|
|
You may want to consider using a configuration option to control logging.
/ravi
|
|
|
|
|
it depends on your need for your application, if you have to log activities or error for further analysis then you put log files
basically if your application is 'product base' software and you need to make some improvements when application deployed in your clients, you need log files and log object must be set to do log or not in configuration of your application.
i do that for some my application so the my client can send me error log as email attachment to me or do it automatically when internet connection is establish. When we solve that problem we will deliver patch to our client.
NO BEST PRACTICE HERE JUST WHAT YOU HAVE TO IN YOUR APPLICATION
hope it helps.
dhaim
programming is a hobby that make some money as side effect
|
|
|
|
|
If you get support calls, you'll probably want log files.
|
|
|
|
|
How to use threadpool in c#
what are all the advantage using threadpool over multithreading
dheeraj
|
|
|
|
|
See this[^] article.
/ravi
|
|
|
|
|
|
How can we read RFC22 files in c#?
|
|
|
|
|
Have a look at the BinaryReader - its reads most things
Bob
Ashfield Consultants Ltd
|
|
|
|
|
how can I parse an eml file in silverlight?
|
|
|
|
|
Wrong Forum, Ask that in Silverlight Forum and secondly Google First before you post
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hello all. I've got a question. How can I create a Word document from a byte array (byte[]) storing in the database and write the changed document back to the database without using any temporary files on the hard drive?
Thank's in advance for any suggestions and answers.
|
|
|
|
|
asasov wrote: without using any temporary files on the hard drive?
Is there any particular reason for that restriction?
|
|
|
|
|
|
asasov wrote: Just requirements ((
It seems fairly arbitrary. Why is this a reqirement? I'm asking because what you request isn't possible without a lot of additional work as far as I can see. If I knew why that restriction is in place then it may be possible to come up with another acceptable solution.
|
|
|
|
|
hi,i'm mohammad faghedi
i'm not speak english well,excuse me
i'm realy need a component that give date in format "yyyy/mm/dd",i search in codeproject site but whole of answer is not good,because whol answer is in format "mm/dd/yyyy"
please help me ?
i realy need this component for c# programming (VS 2003,.net 1.1)
|
|
|
|
|
You just want something to show the date? Go and look up the DateTime class, it should have everything you need and more.
My current favourite word is: Nipple!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
no everybody to help me ?
please help me ?
i'm realy need a component for insert date in format "yyyy/mm/dd"
please ...
|
|
|
|
|
You need to format the date?
Read this[^]
and try this
Console.WriteLine(DateTime.UtcNow.ToString("yyyy/MM/dd"));
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
thanks for help,but i'm need a date text box for insert date in format "yyyy/mm/dd"
for example if i'm insert 1 for month the date text box automaticaly insert 01
a component like this :http://www.codeproject.com/KB/edit/maskedcsedit.aspx
but in format "yyyy/mm/dd"
please help me ?
i'm realy need this component
|
|
|
|
|
hello
My application generate anonmyous files at a specific event. I dont know y.
the file names are (128638562386302295) , (128638562381771190) .. . . . etc
without any extension.
Any thing to prevent this auto generation .
thanks
Syed Shahid Hussain
Syed Shahid Hussain
|
|
|
|
|
Have you tried using a debugger?
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
Its you application, you wrote it, we can't tell you why or how it's writing out files.
The only way your application could create files is if you told it to. If you are using any external DLL's then they're what you need to look at.
My current favourite word is: Nipple!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
In Application there are article display form, when article is selected from the grid its small preview is visible before the user.
Now when the user double click on the picturebox a new form is visible with larger image and at the same time 3 files are generated at the same directory where the App Exe is placed. I've not written any code for this??
I'm really worried about this amazing behaviour.
Reply Plz.
Thanks
Syed Shahid Hussain
Syed Shahid Hussain
|
|
|
|
|
How do I search for a matching item in a linked list based queue.I have this set of items in a queue and would like to input a piece of data in a textbox and then find out if this piece of data exists in the queue and if it does/or doesn't gives me a feedback.
(Am using C# )
Thanks.
|
|
|
|