|
-
Jan 18th, 2004, 08:42 PM
#1
Thread Starter
Fanatic Member
Open a .exe file
I have written and build an application into a folder...with subfolders debug and release and so on....then i compress the folder using .rar , copy to another computer unzip and try to run the application...however there is this error message :
Unable to locate DLL
The dynamic link library mscoree.dll could not be found in the specified path c:\............
What happen?
-
Jan 18th, 2004, 08:46 PM
#2
You need the .NET framework installed on the client computer to use a .NET program.
-
Jan 18th, 2004, 08:51 PM
#3
Thread Starter
Fanatic Member
Does it mean that for many computers to be able to use the application they have to install that?
is .net framework available online or have to purchase?
-
Jan 18th, 2004, 08:56 PM
#4
Originally posted by Goh
Does it mean that for many computers to be able to use the application they have to install that?
All computers have to have the .NET framework installed for you to use anything written with a .NET language.
Originally posted by Goh
is .net framework available online or have to purchase?
It's on Windows update, or you can download it seperatly if you search for it on Microsoft.com
-
Jan 18th, 2004, 09:47 PM
#5
New Member
I sure you can open an exe made with .net on other computers. You need to create an install program wich will install all the proper dll's and such files used during creation of the program. If the program is complex then you really need to pay close attention to the libraries also.
regeards
Charley
-
Jan 18th, 2004, 10:00 PM
#6
Thread Starter
Fanatic Member
Complexs
Sounds complex to be :still need to install dll program? how?
-
Jan 18th, 2004, 10:06 PM
#7
Thread Starter
Fanatic Member
how do i create an install program?
-
Jan 18th, 2004, 10:06 PM
#8
Re: Complexs
Originally posted by chasboi
I sure you can open an exe made with .net on other computers. You need to create an install program wich will install all the proper dll's and such files used during creation of the program. If the program is complex then you really need to pay close attention to the libraries also.
Don't tell him that, you'll just confuse him more. You don't need to create an installer and, IMO, I really hate installers and think you shouldn't use them.
Originally posted by Goh
Sounds complex to be :still need to install dll program? how?
Install dll program? What are you talking about? Download the .NET framework on the client computer and then run your program.
If you created a DLL or used some sort of 3rd party DLL that is needed to run the program, VS will automatically put it all in the BIN folder and Release folder. Pick 1 of those folders, select all files, and put into a RAR or ZIP. Then extract them and run the program on the computer.
Have you read any programming books or have you taken any classes yet?
Originally posted by Goh
how do i create an install program?
File > New Project
Different installers are in their....... or you could always write your own.
-
Jan 18th, 2004, 10:08 PM
#9
Thread Starter
Fanatic Member
hehe..i read books only .. hmm...cuz currently i try to install the .net framework...but encounter some installation problem..
-
Jan 18th, 2004, 10:12 PM
#10
Originally posted by Goh
hcuz currently i try to install the .net framework...but encounter some installation problem..
That helps.....
Are you installing .NET Framework 1.0 or 1.1? Or perhaps an ALPHA of 1.2? Do you get an error installing it or does your program still not run after the installation? Computer specs? More info is needed.
-
Jan 18th, 2004, 10:20 PM
#11
Thread Starter
Fanatic Member
i am installing ver1.0 using window nt4.0....
i cant install the updates...after d/ling
-
Jan 18th, 2004, 10:28 PM
#12
Originally posted by Goh
i am installing ver1.0 using window nt4.0....
i cant install the updates...after d/ling
So you are installing 1.0 and you can't install updates after downloading... uhhh.... That just sounds really really screwed up.
-
Jan 18th, 2004, 10:48 PM
#13
New Member
Goh do you have the latest service pack installed on NT4.0. There are components in that service pack wich will allow you to install the .NET framework. Also make sure your MDAC and other such updates are installed. If you downloaded the update from the MS site there should be a section stating the necessary upgrades for NT4.0. If you have the CD the other updates that are not OS spacific is on it. So good luck on the install.
By the way, I was not trying to confuse Goh, but inform him of what I have experienced and read on the MS site. After creating a .NET program, excluding ASP.NET you create an evil install to be able to run on other systems. If you would like to just be able to have someone debug it for yes indeed you need the framework installed even if you do give the libraies and dll's used to create the program.
I mentioned ASP.NET. You need the framework installed on the server where executing the ASP files in order for them to be executed. The .NET framework is great for web stuff because it precompiles the ASP.NET then sends this precompiled data to the user and kept there untill a newer version of the page or function is detected and thereofre updating the file on the client side. It speesd up the process by precompiling making this faster than the good old ASP but slower only because of the updating of the precompiled file on the client side.
I hope this clears up my previous comment. I did not mean to confuse you (Goh) at all.
Charley
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|