Results 1 to 13 of 13

Thread: Open a .exe file

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908

    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?

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    You need the .NET framework installed on the client computer to use a .NET program.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    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?

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    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

  5. #5
    New Member
    Join Date
    Jan 2004
    Location
    Cleveland
    Posts
    4
    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

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908

    Complexs

    Sounds complex to be :still need to install dll program? how?

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    how do i create an install program?

  8. #8
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    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.

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    hehe..i read books only ..hmm...cuz currently i try to install the .net framework...but encounter some installation problem..

  10. #10
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    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.

  11. #11

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2004
    Posts
    908
    i am installing ver1.0 using window nt4.0....
    i cant install the updates...after d/ling

  12. #12
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    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.

  13. #13
    New Member
    Join Date
    Jan 2004
    Location
    Cleveland
    Posts
    4
    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
  •  



Click Here to Expand Forum to Full Width