|
Dont i need to use something like
VS .NET 2005 ??
I am confused if i would be able to work with the 2.0 features and ASP pages in VS 2005?
------------------------------------
Vision is the ability to see the invisible
|
|
|
|
|
There is no ".NET" version of 2005. ".NET" was dropped from the Visual Studio name with the release of the 2005 version.
|
|
|
|
|
You could always use one of the free Visual Studio Express editions. There's a version for web development - Visual Web Express, and a straight Visual C= version.
|
|
|
|
|
If you need to target the .NET Framework v2.0 you can use any of the Visual Studio 2005 or Visual Studio 2008 versions.
The breakdown looks basically like this:
Visual Studio.NET .NET 1.0
Visual Studio.NET 2003 .NET 1.1
Visual Studio 2005 .NET 2.0
Visual Studio 2005 (with .NET 3.0 extensions) .NET 2.0, .NET 3.0
Visual Studio 2008 .NET 2.0, .NET 3.0, .NET 3.5
There is not VS.NET 2005. The "VS.NET" name was dropped after VS.NET 2003.
Keep in mind that using VS2008 to target .NET 2.0 or .NET 3.0 you are actually targetting .NET 2.0 SP1 and .NET 3.0 SP1.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Easiest would be to stick with VS2008 all the time because not only do you have much better features and an environment to work with but it can also target .NET 2.0 as well as 3.0, 3.5 etc and do all the classic stuff like VC++.
|
|
|
|
|
VS2008 allows targeting of 2.0, 3.0, and 3.5...
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
I have a case where an assembly dynamically loads another assembly based on what it needs to get done. In some cases, it loads itself (or a copy of itself - not sure) to attend to the task at hand.
Is this a problem from any standpoint? Performance hit? Over utilizing memory, bad practice, etc?
Thanks,
Andrew
|
|
|
|
|
Only one copy of the code is loaded, whether you do it normally or by reflection.
There's no ill-effects to the rest of the system if you do it through reflection. Though, calling methods and instantiating objects through reflection is a bit slower.
|
|
|
|
|
|
|
Don't cross post, it's considered rude
|
|
|
|
|
Hi !
I want to make some kind of Process/application/EXE that cannot be terminated using the task manager. for the security purpose.
Thank you
Sunil Patel
|
|
|
|
|
Sunil123 wrote: for the security purpose
I think you might want to rethink your security strategy.
|
|
|
|
|
Sunil123 wrote: I want to make some kind of Process/application/EXE that cannot be terminated using the task manager. for the security purpose.
Sounds to me like you are trying to create some sort of a virus. If not I agree with the previous reply, in that you should change your security strategy.
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
yes, it seems some what difficult. but i found that some system process that can not deleted using the taskmanager. when i try to do so it gives
Unable to Terminate Process
The operation could not be completed.
The operation is not valid for this process.
so I am looking for some what like this.
Thank You.
|
|
|
|
|
Sunil123 wrote: but i found that some system process that can not deleted using the taskmana
That's because they're running either as part of the kernel or are running under the System account, which you cannot use yourself.
There is no way to do what you're describing in a user-level application.
|
|
|
|
|
I have seen some other process that also can not be deleted using the taskmanager. like some anti virus program's process.
|
|
|
|
|
These applications have typically been allowed to modify the kernel that give them systemwide privileges. There was a whole furore when Vista was released because it prevented AV programs from doing precisely that.
|
|
|
|
|
Yep. These are services that have been installed and allowed to run as part of the kernel. Users cannot stop system services.
Also, you have never seen a USER LAUNCHED process with this ability.
|
|
|
|
|
There is generally no legitimate need to do this. There are some of the critical operating system processes that are protected like this but user processes shouldn't need to do this.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Hello to everybody,
I need to use .NET remoting to create a remote object with a 3parameter constructor, I'm not able to find an example, can anyone provide me a working example?
I've also tried to call a parameterless constructor then using the properties but I got the error below:
myDBHelper = (DBHelper) Activator.CreateInstance(typeof (DBHelper));<br />
myDBHelper.IdCup = 1; <-
int i = 0;
Thanks
Paolo
|
|
|
|
|
You could always do this like this:
myDBHelper = (DBHelper) Activator.CreateInstance(typeof (DBHelper), new object[]{"Param1", 1, "Item"});
|
|
|
|
|
hello Pete,
I've tried with this :
myDBHelper = (DBHelper)Activator.CreateInstance(typeof(DBHelper), new object[] { idCup, idSeason, idMatchCode });
but I get this error :
{"Cannot run a non-default constructor when connecting to well-known objects."}
Getting bored.... with CAO object I'm able but I got the memory used by the server increase a lot and won't free in any way...
Thank
|
|
|
|
|
Ponzano Paolo wrote: I've tried with this :
myDBHelper = (DBHelper)Activator.CreateInstance(typeof(DBHelper), new object[] { idCup, idSeason, idMatchCode });
but I get this error :
{"Cannot run a non-default constructor when connecting to well-known objects."}
Getting bored.... with CAO object I'm able but I got the memory used by the server increase a lot and won't free in any way...
You're using a Server Activated Object which means that you can't use nondefault constructors. When you think about it, this makes perfect sense because the instantiation of the proxy and the actual object occur at different times. Either you have to use CAO, or you have to change your remote object to use a separate mechanism, such as a remote method, to populate these values.
|
|
|
|
|
OK, I have the following line of code in my app...
logFilePaths = Directory.GetFiles(logDirPath,"*", SearchOption.TopDirectoryOnly);
I'm looking at the folder, and there's a file there. But the app doesn't pick it up!! I've tried with just passing the path and no search options, same result. When I drop a new file onto the folder, it sees the new file, and not the old one.
W.
T.
F.
I've also checked to see if the file was marked as "hidden" or "archive". Nope.
This is really bugging me. It's some stupid thing and it's holding me up. Does anybody have ANY ideas?
Smokie, this is not 'Nam. This is bowling. There are rules.
|
|
|
|