|
Our data server is running Server 2008 x64.
So are you saying Windows has something built in instead of writing an app for it?
|
|
|
|
|
Jacob D Dixon wrote: So are you saying Windows has something built in instead of writing an app for it?
Yes, I've never used it so I don't know where the MMC is located. It will write entries into the Security Log.
|
|
|
|
|
Ohh! Your talking about the File Screening. I think that just monitors saving files not deleting. I currently use that to block non image files from being saved to our images drive. Or are you speaking of somethign else?
I guess I'm still wondering if using FileSystemWatcher can get the users login name?
|
|
|
|
|
Jacob D Dixon wrote: Ohh! Your talking about the File Screening. I think that just monitors saving files not deleting.
No, I'm talking about File System Auditing and it can Audit just about everything I believe.
|
|
|
|
|
Ok I see what you are talking about.
Thanks...
I'm still curious if the FileSystemWatcher can do something like that.
|
|
|
|
|
Yes, just get the currently logged on user name at the time you detect a file being deleted.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
The Windows Service that I made goes on a Data Server.
The way everyone accesses it is by mapping a network drive (to the Data server) on their desktop PC's.
So on the server using FileSystemWatcher can you get their information? The service is running under local system, but the person actually doing the deleting will be using a desktop PC that just has that network drive mapped. How do I get that person's logon name to log that they were the ones that deleted it?
|
|
|
|
|
|
Hi there,
I'm using (trying to use ) webbrowser control in C# windows application.
When I'd like to page down there is a y variable, I'm adding 50 to y and I use
y = y + 50;
webBrowser.Document.Window.ScrollTo(x, y); // like this x=0
So I need to get value of y, when I come to end of the page.
Is there any method of property of webbrowser that returns something which we understand if we come to end of the pages?
Many thanks.
Muharrem.
|
|
|
|
|
You can use the AutoScrollOffset Property.
|
|
|
|
|
Hi crudeCodeYogi and all,
My code blok is
private void btnPageDown_Click(object sender, EventArgs e)
{
Point p = webBrowser.AutoScrollOffset;
y = y + 50;
webBrowser.Document.Window.ScrollTo(x, y);
Point p2 = webBrowser.AutoScrollOffset;
}
Am I doing something wrong or I should do something different.
|
|
|
|
|
I said you should use AutoScrollOffset to scroll down to page. But if you need the scroll position i mean x and y then
x = webBrowser.DisplayRectangle.X;
y = webBrowser.DisplayRectangle.Y;
|
|
|
|
|
Hi again,
My final code block is;
private void btnPageDown_Click(object sender, EventArgs e)
{
int xx = webBrowser.DisplayRectangle.X;
int yy = webBrowser.DisplayRectangle.Y;
Point p = webBrowser.AutoScrollOffset;
y = y + 50;
p.X = x;
p.Y = y;
webBrowser.Document.Window.ScrollTo(p);
int xxxx = webBrowser.DisplayRectangle.X;
int yyyy = webBrowser.DisplayRectangle.Y;
}
I do not understand why I get same values before and after scroll the page.
I just wonder if you use this function and get different values before and after scrolling the page.
There might be a misunderstanding or I have been doing something wrong.
Many thanks for all.
|
|
|
|
|
one system sends data in 32 bit floating point format while other accepts only 16 bit integer format...how to convert????
|
|
|
|
|
byte[] output = BitConverter.GetBytes((short)BitConverter.ToSingle(input));
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
i am using a micro controller with rs232...can i make use of 51 series?
|
|
|
|
|
Can you program the micro controller using C#? Otherwise you are lost...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
plz help me to get singla strenght in c# and how can i convert out put in watts or mili-watts thanks
|
|
|
|
|
HI,
How can i read from Hyper Terminal in C#
THANKS
Have Fun
Never forget it
|
|
|
|
|
|
LMAO thats awesome
My opinion is... If someone has already posted an answer, dont post the SAME answer
|
|
|
|
|
Hi All,
I am developing windows based application using c#.net. My problem is i want to show thousands of company names in a control like combobox. But is there any other control in windows based application to show thousands of company names in that control and also searching of perticular company name should also be easy. Please help me.
Thanx
|
|
|
|
|
I would suggest using a datagridview control
My opinion is... If someone has already posted an answer, dont post the SAME answer
|
|
|
|
|
may I suggest you'e got your design wrong?
Showing thousands of items, in any control, is extremely flawed. The more items you are showing the less useful the control will be.
Have a think about what you want to achieve.
Does the user have tyo find an unknown item? If so, a search facility would be of more use.
Is the 1000's reduced by the context of the rest of the form? If so, use the rest of the data to drive the content of the list; combo or otherwise.
If you use any well designed interface, online or offline, you will see it reduces the ability of the user to make mistakes. By giving a huge fat list of every item in your database you are inviting the user to pick the wrong item.
Garbage In = Garbage Out
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|