I wrote a Web application by ASP.NET and C#. I need to change date of my server behind about 1 year ago and after that changing date came back. For example, time is 30/09/2009 and when the program runs, time should be 30/09/2008 and after 3sec time comes back 30/09/2009.
I wrote this rule by ASP.NET and C# and that web application work correctly, but for 5 days, that code can't change date of server, although web application worked correctly and could change date by below codes.
Also these codes work and can change date of server when those are written as WIN application and don't return any error, and those are written as WEB application and run in Visual Studio 2008 don't return any error and works correctly, but when those codes are written as WEB application and run in ISS can't change date of server and return "error: 1314", so I be confused!!!
I will be very glad if somebody helps me.
Thank you very much.
[DllImport("kernel32.dll", SetLastError = true)]
public static extern int SetLocalTime(ref SystemTime lpSystemTime);
public struct SystemTime
public short wYear;
public short wMonth;
public short wDayOfWeek;
public short wDay;
public short wHour;
public short wMinute;
public short wSecond;
public short wMilliseconds;
dear sir can you help me rather then suggesting me for google..
I cannot write your program for you, even if I had the time. If you want to learn any of these features then you need to study them, either through searching Google for online tutorials, reading books, or going to school. I am sorry if you think this is difficult but programming requires hard work, and we all had to start from the beginning.
So you don't have time to do your own work, but you think that people on this forum do? As I said before, if you want to be a programmer then you need to study the technologies that you wish to use. You cannot learn it all in ten minutes, and if we do your work for you, you will never learn anything.
8.Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
my comments:- if u dont enjoy helping stay away.
10. Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
my comments:- by posting unnecessary post u r harassing me...and most importantly the last post that u posted was kind of offensive, inappropriate for me or anyohter user who might be looking for the same solution.
Your original question asked for information on these subjects, and I gave you pointers as to how to find it.
Bizit Deb wrote:
i am not forcing anyone to give the solution to me
But you keep asking for the solution rather than being prepared to do your own work. I am sorry if this is for a friend, maybe you should tell your friend how to learn these subjects.
Bizit Deb wrote:
8.Be courteous and DON'T SHOUT.
I have not shouted, I have merely tried to get you to understand what is being offered on this forum, and what is not being offered. As it says in rule 2: # Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Bizit Deb wrote:
Do not be abusive, offensive, inappropriate or harass anyone on the boards.
Again, I have done none of these things.
Bizit Deb wrote:
the last post that u posted was kind of offensive, inappropriate for me or anyohter user who might be looking for the same solution.
I disagree; this post was once again trying to get you to understand that the people who post to these forums will try and help you when you run into problems, but only after you have tried to do most of the work yourself. Try reading some of the other messages to see how it works.
Hope I was clear enough for what I am looking, Thanks for any help in advance.
It would be highly unlikely that you would find something that would do this. most sites that allow commenting on articles are database driven. The articles would live in a article table and the related comments would live in a comments table. These two tables would be joined by a common id number (meaning you would put the article id in the comments table).
OK, well, if outlook can support that, then you would have to put outlook into the chain, instead of just having a mail server do your work for you. Even then, I'm not sure how to optionally insert the word, although if you have a checkbox, I think it's name may be inserted in the form only if it is checked.
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
<a href="mailto:firstname.lastname@example.org?subject=HTML Email CC and Autoreply Help Required&body=The Solution in one long string no greater than 256 email@example.comfirstname.lastname@example.org">There you go!</a>
but, with server-side script HTML form can be processed with CC and/or BCC being used but never have I seen this without server-side scripting.