PC Review


Reply
Thread Tools Rate Thread

C# Program only work in XP. Pls assist

 
 
=?Utf-8?B?V2lrdXM=?=
Guest
Posts: n/a
 
      23rd Jan 2004
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
 
Reply With Quote
 
 
 
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      23rd Jan 2004
Wikus <(E-Mail Removed)> 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 - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
 
Reply With Quote
 
Miha Markic
Guest
Posts: n/a
 
      23rd Jan 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" <(E-Mail Removed)> wrote in message
news:C4498538-F681-4FF5-B7F2-(E-Mail Removed)...
> 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



 
Reply With Quote
 
=?Utf-8?B?V2lrdXM=?=
Guest
Posts: n/a
 
      23rd Jan 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.
 
Reply With Quote
 
Miha Markic
Guest
Posts: n/a
 
      23rd Jan 2004
Hi,

"Wikus" <(E-Mail Removed)> wrote in message
news:5B304514-6170-4A07-86A4-(E-Mail Removed)...
> 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


 
Reply With Quote
 
=?Utf-8?B?V2lrdXM=?=
Guest
Posts: n/a
 
      23rd Jan 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.
 
Reply With Quote
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      23rd Jan 2004
Wikus <(E-Mail Removed)> 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 - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
 
Reply With Quote
 
=?Utf-8?B?V2lrdXM=?=
Guest
Posts: n/a
 
      23rd Jan 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?
 
Reply With Quote
 
Sanjay Vyas
Guest
Posts: n/a
 
      23rd Jan 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" <(E-Mail Removed)> wrote in message
news:50E1CD23-E2FB-4104-ABB4-(E-Mail Removed)...
> 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?



 
Reply With Quote
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      23rd Jan 2004
Wikus <(E-Mail Removed)> 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 - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Remote Assist Work?? =?Utf-8?B?TXIgQw==?= Windows Vista General Discussion 1 6th Aug 2007 02:24 AM
Re: Can't make this VB work plz assist :p Bokazoit Microsoft Excel Programming 0 5th Oct 2005 07:20 AM
getting a program to work in xp sheldon Windows XP Configuration 3 2nd Oct 2004 09:58 PM
my program won't work on computer without framework, dow do i make a program that runs on every windows 2k/xp system ? bart Microsoft C# .NET 11 26th Jan 2004 05:01 PM
Properly stuck getting a PPTP connection to work. Can someone please assist? Bloke at the pennine puddle (Replace n.a.v.d with Windows XP Networking 2 20th Jan 2004 04:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:27 PM.