|
Hi,
Recently I have several .NET solutions and I want to manage them by CVS (Concurrent Versions System). I am using WinCVS and I have a few questions:
1.Is there any special linkage of the CVS to the Visual Studio .NET?
2.Is the above way recommanded?
3.How can I know about the version of the .NET solution in the Visual Studio?
Thanks
|
|
|
|
|
1. no
2. I think CVS is crap, but your milage may vary
3. It's tied to the IDE VS2002 = 1.0, VS2003 = 1.1, VS2005 = 2.0
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
What events can I monitor to implement in my service so that I can write to a log what time the user logged in and logged off and which user it was.
|
|
|
|
|
You can start out with the documentation here: WTSRegisterSessionNotification[^]. You want to pass NOTIFY_FOR_ALL_SESSIONS . I'm not sure how this works out with a service... you probably have to have the correct permissions set up.
[EDIT]Oops... there is a managed alternative. I've been coding in C++ for too long.
Alex Korchemniy
|
|
|
|
|
Thanks.
I found something else I think I might be able to use
Microsoft.Win32.SessionEndedEventArgs
and
Microsoft.Win32.SessionSwitchEventArgs
private void sessionSwitch(System.Object sender, _
Microsoft.Win32.SessionSwitchEventArgs e)
{
if (e.Reason == SessionSwitchReason.SessionLogon)
EventLog.WriteEntry("sessionSwitch", _
SystemInformation.UserName.ToString() + " logged on at " + _
DateTime.Now.TimeOfDay.ToString());
else if (e.Reason == SessionSwitchReason.SessionLogoff)
EventLog.WriteEntry("sessionSwitch", _
SystemInformation.UserName.ToString() + " logged off at " + _
DateTime.Now.TimeOfDay.ToString());
}
|
|
|
|
|
Doesn't seem to work.
I was not looking for terminal service.
Trying to create an NT service that can do stuff when a user logs on.. then do something else when the user logs off
|
|
|
|
|
Hello Every body...
I wanna send email by my application(SMTP Mail).Everything is ok when I send email to a yahoo email address.But when I try to send mails to another mail servers like Gmail I recieve the following Errors :
1 - When using localhost as SMTP mail server :
550 5.7.1 : Unable to relay for username@gmail.com
2- or (When using mx1.yahoo.com as smtp server) :
550 : Relaying Denied for <username@gmail.com>
How can I solve this problem.
Note : I use FreeSMTP.NET Component to sending Emails(http://www.quiksoftcorp.com/)
Best Regards,
|
|
|
|
|
Your mail server doesn't allow sending email to other servers. While yahoo's mail server will never allow relaying, you can configure your local mail server to allow relaying (Right click on My Computer->Manage, Services and Applications, Internet Information Services, right click on Default SMTP Virtual Server, go to the Access tab and click the Relay button).
Hope this helps.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Dear S. Senthil Kumar
Hi
Thank you very much for your clear answer.My problem solved.But I traped in another problem .Emails sent successfully from my application but they remained (Hanged) in the SMTP sending queue ! (C:\Inetpub\mailroot\Queue).
They are not in C:\Inetpub\mailroot\Badmail folder.But they didn't Sent !
How can I do with this problem.
Thanx for your Guid,
|
|
|
|
|
Hi,
I have a problem releted to Scribble(.pwi Format). I want to display this .pwi Format data which is stored in SQL Server Database Feild on Desktop Application. Is there any programming in VB, C# by which we can convert .pwi data in bitmap. Or is there any other solution to achinve it.
Brijesh Jaiswal
|
|
|
|
|
how to forbid F8 mode in Win2000 and WinXP?
HOW TO forbid safemode in Win2000 and WinXP?
|
|
|
|
|
Why would you want to ? I don't see how you could, for starters it happens before your code runs. Perhaps you can *detect* safe mode and refuse to run under it, is that what you want ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I know how this can be done. But it would be a great learning experience for you. Here's a few tips.
- Know assembly
- Know what goes on in the loader
- Find code that handles F8
- Patch things up... (most likely single byte patch)
- ... done
I hope your doing this for fun and not for some kind of software you're releasing. Besides, this doesn't have anything to do with c#.
Alex Korchemniy
|
|
|
|
|
Alex Korchemniy wrote:
Besides, this doesn't have anything to do with c#.
LOL - I knew this answer to, but he was obviously hoping for a C# solution...
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Has anyone out there created a m4a tag reader / writer?
|
|
|
|
|
Good question. I need to read the title from an m4a file. Can anyone help please?
|
|
|
|
|
I get an error "The object has not been as serializable" when I'm tring to serialize (binary) an class which contains a stream, and some other variables. When I remove the stream object from my class the serialization was successful.
As far as I know, the Stream class is serializable. What may reason of this error.
|
|
|
|
|
The Stream class is abstract, so it cannot be a Stream object that you have. The class that you are using that inherits the Stream class also has to be serializable.
---
b { font-weight: normal; }
|
|
|
|
|
seser wrote:
As far as I know, the Stream class is serializable. What may reason of this error.
Not all Streams are serializable, e.g., FileStream is not serializable (btw, how could it be serializable). MemoryStream is a serializable stream (as it is only a glorified byte array, it's easy to serialize)
I see dead pixels
Yes, even I am blogging now!
|
|
|
|
|
I realized that I don't have actually a "stream" but I have a "filestream" which is not serializable. And I solve the problem.
Thanks for your cooperation.
|
|
|
|
|
How could i obtain the write and read speed of my disk?
If someone could say to me, I will be grateful for it.
alain.
|
|
|
|
|
That's a complicated question. Disks read and write at different speeds depending on the kind of reading and writing (lots of little files, vs. a few big files, for example), as well as what else is going on with the system. You can read the specifications of a particular disk, but even that doesn't really give you a real answer, because of the system dependencies.
If you are reading and writing a lot of data and you want to give the user some feedback, then what you can do is extrapolate (calculate the current rate over the last time increment of your choice, then estimate how much time it will take to do the rest of the data, based on that; keep re-estimating and updating as you go).
Matt Gerrans
|
|
|
|
|
thanks for answering.
I just want to know the read and write time of the machines, because what I am doing is characterizing a network and I need to give a species of report of the principal characteristics of every machine of the network.
would you help me in that?
Alain.
|
|
|
|
|
Sure. Shall we start with negotiating a price?
Matt Gerrans
|
|
|
|
|
sorry man...
i'm an student, so i have no money...
bye...
|
|
|
|