Greetings fellow coders,
Yet again I'm in call of your assistance...
Basically I'm trying to create an application which detects when an application runs, and instantly kill it. For example: FireFox.
Now I've come up with something which sort of works (Just looping through processes and check the process name being the executable ie: firefox.exe)
This works, however if someone renames the...
User Profile
Collapse
-
I wonder if thats a real username/password...... -
DLL Run Down
Greetings guys,
Thank you for all the help provided lately. I just had a question regarding .DLL files.
What exactly are they used for? And why/when would you use them?
Could someone provide an example of how they could be used? :)
Thanks guys! (and girls) -
Thanks for that. Will take a read. Just one other question.. why does everytrhing have m_ infront of it?
m_foobar.someth ing(); Is there some sort of standard/convention of using the m? Does it actually stand anything..
I guess it's better then adding "i" like everything else :PLeave a comment:
-
Ah okay, yes my question was around Windows Forms :P
I think I worked it out though, just create a class called session or something and set parameters in that, and just request that on each page request.Leave a comment:
-
And this works with Visual C#? (I should have clarified that earlier..) Dont have VS installed atm to test..
If not, I think I can make another class and get/set values.Leave a comment:
-
Explinations
Hey there people,
I was wondering if someone could explain to me the differences between static, public/private, abstract etc And when/why would you use them?
Thanks :) -
Data Access Layers
Greetings all,
I've got a question which I have no idea how to go about except for 1 painful way..
Basically, I want to create an application which requires authentication. Okay, easy. However, I want to know the best way to have the application to remember that im authenticated, and be able to access properties, such as username, userid, groupID etc.. I know how to do something like this in PHP. Below is a code snippet... -
I probably wouldn't have spoon fed him the answer, but point him on the right direction.
IE: what methods/procs to use etcLeave a comment:
-
What you want to be doing is creating a new ListViewItem and send the index argument to point at which image you want it to display. Below is an example of what I mean...
Hope it's of some help.
...Code:Item[0] = f.Name; Item[1] = Convert.ToString(f.Length); Item[2] = Convert.ToString(f.CreationTime); // Run throughLeave a comment:
-
That logging stuff you posted up there, you wouldn't happen to be able to share that at all? =P
(the code for that, that is) I love the Removable drive part.. Something im looking for another application im wanting to write.Leave a comment:
-
Thanks alot for that, that has resolved the null problem.
Any tips for that other pesky error? As soon as the application executes, I get that "Backup has encountered a problem and needs to close." I have some feeling that something isnt installed on the other PC because this doesnt happen on my development PC. They both have .NET Framework 2 installed.Leave a comment:
-
Also, not sure if this is any other help:
Filename: ContextMenu.cs
=============== ==============
...Code:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Threading; using ComponentFactory.Krypton.Toolkit; namespace
Leave a comment:
-
Thanks for the help, It definitely is that ShowError procedure, so I have to work out why its doing it (errors on the H drive check). If i log into the network and I have a home drive, (ie: doesnt call the ShowError message), I receive the following.
See Image:
http://img21.imageshack.us/img21/6205/errorg.png
What would be causing that? This is only re-producable on the test box. The Development box doesnt do this,...Leave a comment:
-
Run time error
hey there, im reasonably new to C# and im currently writing a backup application which im using as a learning resource.
My PC :-
Visual Studio 2005
.NET Framework 2
Component Factory Krypton Tools
Test PC :-
.Net Framework 2
=============== =============== =============== =
The Issue:
On the testing PC, im receiving this error:
=============== =============== =============== =...
No activity results to display
Show More
Leave a comment: