J
JAM
I was wondering if it is possible to run C# program from memory stick
even if .NET library is not installed on the particular machine. In
other words is it possible to copy whatever DLL is needed onto the
memory stick into the particular program directory and run it that way
from the stick ? I strongly suspect that it is impossible but I
thought I will ask more knowledgeable people here just to be sure.
Before you start laughing, let me explain why I'm asking the question.
I'm a mechanical engineer working for one of the big corporations,
where my workstation has software build by IT department to a
standard, IT designed, build and there is no way that they will
support unique build for anybody period. Unfortunately CAD workstation
does not have .NET installed. Any 'advice' to convince these guys to
install something 'extra' is out of the question. I'm not complaining.
This really makes sense. Why would they risk untested software
combinations on a workstation that costs with all the software
licenses thousands of dollars per year. They have to deal with
hundreds workstations and there is no way for them to easily resolve
issues if each person would demand unique combination of software.
I'm a amateur programmer and I was using my skills to simplify my work
by writing simple programs to do some specialized engineering
calculations that were not build into the CAD or CAE software. One way
of doing so was to use extensively Excel with it's VB programming
language. But Excel is not always the best or easiest tool to use for
particular problem. So other way of doing so was to in the past to
use Delphi and C++Builder to write some small programs that help me
with my work. You can set up compiler in Delphi and in C++ Builder to
build standalone "exe" that does not need any library to run on any
Windows machine. The program compiled this way is usually enormous in
size, but I could care less with today memory stick sizes and hard
drive space. It for sure is not storage efficient but works great. But
over time I switched to C#. For amateur such as me C# with it's
automated memory control it is much easier and simpler to write
software I was talking about. But lack of .NET on workstation forces
me to run it off the laptop. I hate that. I need my programs as a side
calculator to CAD and CAE. Using laptop forces me to keep exchanging
data over the network drive instead of using clipboard.
JAM
even if .NET library is not installed on the particular machine. In
other words is it possible to copy whatever DLL is needed onto the
memory stick into the particular program directory and run it that way
from the stick ? I strongly suspect that it is impossible but I
thought I will ask more knowledgeable people here just to be sure.
Before you start laughing, let me explain why I'm asking the question.
I'm a mechanical engineer working for one of the big corporations,
where my workstation has software build by IT department to a
standard, IT designed, build and there is no way that they will
support unique build for anybody period. Unfortunately CAD workstation
does not have .NET installed. Any 'advice' to convince these guys to
install something 'extra' is out of the question. I'm not complaining.
This really makes sense. Why would they risk untested software
combinations on a workstation that costs with all the software
licenses thousands of dollars per year. They have to deal with
hundreds workstations and there is no way for them to easily resolve
issues if each person would demand unique combination of software.
I'm a amateur programmer and I was using my skills to simplify my work
by writing simple programs to do some specialized engineering
calculations that were not build into the CAD or CAE software. One way
of doing so was to use extensively Excel with it's VB programming
language. But Excel is not always the best or easiest tool to use for
particular problem. So other way of doing so was to in the past to
use Delphi and C++Builder to write some small programs that help me
with my work. You can set up compiler in Delphi and in C++ Builder to
build standalone "exe" that does not need any library to run on any
Windows machine. The program compiled this way is usually enormous in
size, but I could care less with today memory stick sizes and hard
drive space. It for sure is not storage efficient but works great. But
over time I switched to C#. For amateur such as me C# with it's
automated memory control it is much easier and simpler to write
software I was talking about. But lack of .NET on workstation forces
me to run it off the laptop. I hate that. I need my programs as a side
calculator to CAD and CAE. Using laptop forces me to keep exchanging
data over the network drive instead of using clipboard.
JAM