Results 1 to 9 of 9

Thread: stupid question (build)

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2003
    Location
    Charleston, SC
    Posts
    6

    Unhappy stupid question (build)

    please help! I feel so stupid! I know it must be simple.

    I have made a simple program using .net, and it runs great on my computer, but won't run on any other computer i try. I'm guessing there are neccessary files. like maybe the .net library that they need to install. Please don't flame me, i just transfered from vb6 to .net and a lot of simple stuff has changed. and yes i have been researching a lot on my own. I understand a lot of the changes and working with them. I can't seem to find anything about this question, and don't know where to look.

    any help is much appreciated!

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    The client requires an installation of the .NET framework Resdistributable available from msdn.Microsoft.com. The just need the 21 meg one, not the big SDK.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    You need framework 1.0 for VB.NET 2002, framework 1.1 for VB.NET 2003.

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2003
    Location
    Charleston, SC
    Posts
    6
    okay thanks... oh yeah and i'm using a font most ppl don't have...would that be adding to it?

    i thought xp came with the framework?

  5. #5
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    yeah you need to supply the font as well. No xp does not come wit hit. I think SP1 does however. They can get the framework from Microsoft Update as well.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  6. #6

    Thread Starter
    New Member
    Join Date
    May 2003
    Location
    Charleston, SC
    Posts
    6
    i think it's the font...

    cuz i got 2002 without the 1.1 sdk update, and the other machine has the 1.0 framework installed

  7. #7

    Thread Starter
    New Member
    Join Date
    May 2003
    Location
    Charleston, SC
    Posts
    6
    i tried making a basic form with only 1 button, and nothing else changed. then clicked on build solution.

    i went to the other computer and tried running the exe in the bin directory and still give me an error when it tried to load

    am i building right?

    the error says
    the application has generated an exception that cannot be handled.

  8. #8

    Thread Starter
    New Member
    Join Date
    May 2003
    Location
    Charleston, SC
    Posts
    6

    Question

    bump

  9. #9
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    I would assume Windows would substitute a standard font to replace the font you used when your program runs on another machine. It may not though, so to stake that possibility in the heart, make your form with a standard font like Arial.

    Passing that possiblity, you need to install the .Net Framework on any machine that runs your executable. Your program won't run otherwise. As stated earlier, if you developed it using 2003, you need Framework 1.1.

    Finally, when you made your project, did you use the Windows Application project type from the New Project screen?

    If you still have problems... right-click your code, click Expand Definitions... copy and paste into this forum so we can see what it may be.

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