Then you cannot use .NET applications.I don't know the reason, but I'm in a place where the administrator manages hundreds of computers and there's no framework.
also if you include the dll's from the Framework in your app to avoid installing the Framework, you're guaranteeing that you're app will run only on a machine that has that exact OS (IE the framework installs different files for Win98, 2000 and XP, so if you develop your app on WinXP and avoid installing the Framework on the target machines, then all the target machines will have to have WinXP as well) things also get a little more complicated if XP SP2 is installed or not too...
Does anyone know how to use a VB.NET application without having to install the framework? I need to do this on a computer which I am not the owner and do not want to install the framework. Thanks.
I don't know the reason, but I'm in a place where the administrator manages hundreds of computers and there's no framework.
That's like asking how to drive to the shops if you dont own a car, or run a Windows program without having windows installed. It cannot be done.
I'm afraid that that's completely untrue. The .NET Framework is much more than just a class library. When you build an executable or a library in Visual Studio you are not compiling to machine code. You are compiling to Microsoft Intermediate Language (MSIL), which is something like assembly langauge. It contains individual instructions at a much lower level than VB or C# but that are still human-readable, unlike machine code which is just binary and all but impossible to read by eye.NOW!!! With that in mind. If you are set on doing it this way it's fairly simple. Go to the projects property page. Goto References and choose the option beside every reference to include it with your project. It will copy the .dll's and send them with your project rather than using them from the hosts framework. You will see possibly that this is a lot of resources. Again this depends on what you are doing. Every .dll you are using will be included with your application and then you can get away with not having the .net framework on the other computers. It's not too hard.
FYI, you can't even make a 'hello world' app in C++ without referencing system libraries, and classic VB is also well know for its runtimes, dependencies is not an issue regarding .NET compared to other platforms. So the difference apart from the bigger 'native' library for .Net devs to choose from is as jmcilhinney said simply 'how it works' with IL and JIT and the whole management thing.Just revert to old VB or C++ and make all the correct API calls accordingly to the OS your on.
..........
There is nothing wrong with C++ or old VB if that's what you want. .NET is .NET for a reason and that is b/c all languages C++.NET, C#.NET, VB.NET, ect ect depend on the already installed libraries.