I have developed a Visual C# program in Windows XP.
But, now I need it to run on Windows 2000 as well, because
the company mostly use 2000.

After spending a month developing the program, I am now
finished. But when I copy the program to a coputer with Win 2000
it gives me an error message: "The dynamic Link Library mscoree.dll
could not be found in the specified path...". So, I've tried copying the
file to that mechine, but this doesn't work either.

Can someone please help. Thanx

Re: C# Program only work in XP. Pls assist by Jon

Jon
Fri Jan 23 03:25:49 CST 2004

Wikus <s2116643@student.up.ac.za> wrote:
> I have developed a Visual C# program in Windows XP.
> But, now I need it to run on Windows 2000 as well, because
> the company mostly use 2000.
>
> After spending a month developing the program, I am now
> finished. But when I copy the program to a coputer with Win 2000
> it gives me an error message: "The dynamic Link Library mscoree.dll
> could not be found in the specified path...". So, I've tried copying the
> file to that mechine, but this doesn't work either.

You need to have the .NET framework installed on any machine which is
going to run the application.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Re: C# Program only work in XP. Pls assist by Miha

Miha
Fri Jan 23 03:26:50 CST 2004

Heh, did you install the .net framework on target computer by any chance?

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Wikus" <s2116643@student.up.ac.za> wrote in message
news:C4498538-F681-4FF5-B7F2-8AC613126595@microsoft.com...
> I have developed a Visual C# program in Windows XP.
> But, now I need it to run on Windows 2000 as well, because
> the company mostly use 2000.
>
> After spending a month developing the program, I am now
> finished. But when I copy the program to a coputer with Win 2000
> it gives me an error message: "The dynamic Link Library mscoree.dll
> could not be found in the specified path...". So, I've tried copying the
> file to that mechine, but this doesn't work either.
>
> Can someone please help. Thanx



Re: C# Program only work in XP. Pls assist by s2116643

s2116643
Fri Jan 23 04:01:06 CST 2004

Hi. No, I didn't. That explains a lot. Thank you for the advice.

I obviously don't know how a lot about how the .NET Framework
is intended to be used, but if you don't mind me asking, why
does it work on another mechine running XP that doesn't have the
..NET framework installed?

Does this also meen that I have to re-create the whole program in
another language like C++ or Java if I want to use it on 2000 pc's.
Because, the company isn't prepared to install the .NET framework on
every pc the program will be used.

Re: C# Program only work in XP. Pls assist by Miha

Miha
Fri Jan 23 04:11:34 CST 2004

Hi,

"Wikus" <s2116643@student.up.ac.za> wrote in message
news:5B304514-6170-4A07-86A4-F481B9775C78@microsoft.com...
> Hi. No, I didn't. That explains a lot. Thank you for the advice.
>
> I obviously don't know how a lot about how the .NET Framework
> is intended to be used, but if you don't mind me asking, why
> does it work on another mechine running XP that doesn't have the
> .NET framework installed?

It has the .net framework installed for sure.

> Does this also meen that I have to re-create the whole program in
> another language like C++ or Java if I want to use it on 2000 pc's.
> Because, the company isn't prepared to install the .NET framework on
> every pc the program will be used.

Unfortuantelly yes.
Why won't the company install .net?

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com



Re: C# Program only work in XP. Pls assist by s2116643

s2116643
Fri Jan 23 04:41:08 CST 2004

Well, I spoke to one of the people and he says that no other application
will need the .NET framework so why waste time and effort to do this.

Not good news for me unforionately.
But thanx anyway. I learned something new today.

Re: C# Program only work in XP. Pls assist by Jon

Jon
Fri Jan 23 05:02:58 CST 2004

Wikus <s2116643@student.up.ac.za> wrote:
> Well, I spoke to one of the people and he says that no other application
> will need the .NET framework so why waste time and effort to do this.

The answer is that as time goes on, more and more applications *will*
need the .NET framework, unless they always say, "We won't use it
because nothing else we use does."

It's basically a short-sighted argument which can be used against *any*
kind of change like this - and if they'd used it years ago, they'd
still be insisting on all apps being 16 bit and running on Windows 3.1.

.NET isn't going away, and the earlier they get their heads round that,
the better.

Whether or not you can tell them that is a different matter, of course
:)

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Re: C# Program only work in XP. Pls assist by anonymous

anonymous
Fri Jan 23 05:26:06 CST 2004

Well, I spoke to them again. They say that the .NET framework i
just too large to install on their current systems. Because, it takes u
about 1,6 GB on my hdd. Isn't there just a small part that i can instal
form this program to work? Or, do i need to install everything?

Re: C# Program only work in XP. Pls assist by Sanjay

Sanjay
Fri Jan 23 05:40:34 CST 2004

1.6 GB? You must be talking about VS.NET complete install..

WHat you need is just the .NET Redsitributable (~30MB) to run client based
apps or .NET Framework install (~150MB) for running ASP.NET application.

"Wikus" <anonymous@discussions.microsoft.com> wrote in message
news:50E1CD23-E2FB-4104-ABB4-D7BDFC27CC9E@microsoft.com...
> Well, I spoke to them again. They say that the .NET framework is
> just too large to install on their current systems. Because, it takes up
> about 1,6 GB on my hdd. Isn't there just a small part that i can install
> form this program to work? Or, do i need to install everything?



Re: C# Program only work in XP. Pls assist by Jon

Jon
Fri Jan 23 05:44:05 CST 2004

Wikus <anonymous@discussions.microsoft.com> wrote:
> Well, I spoke to them again. They say that the .NET framework is
> just too large to install on their current systems. Because, it takes up
> about 1,6 GB on my hdd. Isn't there just a small part that i can install
> form this program to work? Or, do i need to install everything?

It doesn't take up 1.6GB of hard disk - they're talking absolute
rubbish. Visual Studio .NET might take up that much, but the framework
itself certainly doesn't.

Just get the redistributable which is linked from www.gotdotnet.com and
tell them to install that. Ask them to have a look at the free disk
space before and after it, and then to explain to you how they reckon
that to be 1.6GB.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too