Results 1 to 10 of 10

Thread: [RESOLVED] vb application without installing???

  1. #1

    Thread Starter
    New Member vbrookie37's Avatar
    Join Date
    Jul 2011
    Posts
    15

    Resolved [RESOLVED] vb application without installing???

    hi i have made a few of my own vb application using visual studio 2008.but after i publish those applications,i have to install it in order to run it.also, .net framework 3.5 is also needed.so,is there a language SIMILAR to visual basic that can make standard exe's without the need to install and no additional files necessary???? is c# something like that?

    p.s. even if .net framework is needed,it's no big problem

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: vb application without installing???

    C#.Net, VB.Net you see that .Net thing on the end.. that means you need the .Net framework to run it.
    If the framework is already installed you can just copy/paste the files you need to run your application. The publication of an app just makes it easier to ensure the user has .Net to start with, adds the shortcuts and the ability to remove it at will.

  3. #3

    Thread Starter
    New Member vbrookie37's Avatar
    Join Date
    Jul 2011
    Posts
    15

    Re: vb application without installing???

    oh thanks for explaining about the .net thingy.but still,when you said copy/paste,did you mean copy some files after publishing,or copy files from the project directory before publishing?will that remove the necessity to install the application before running,and run it directly?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: vb application without installing???

    As long as the appropriate version of the .NET Framework is already installed on the target machine, all you have to do is build your project (that's BUILD, not PUBLISH) and then simply copy the EXE to the target machine. This also assumes no other dependencies that aren't already a part of Windows.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    New Member vbrookie37's Avatar
    Join Date
    Jul 2011
    Posts
    15

    Re: vb application without installing???

    thnx it worked!!! i'll give you both rep+

  6. #6

    Thread Starter
    New Member vbrookie37's Avatar
    Join Date
    Jul 2011
    Posts
    15

    Re: vb application without installing???

    one more question,does it mean that vb 6 doesn't need .net framework and therefore be able to run directly?

  7. #7
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: vb application without installing???

    VB6 uses the VB runtime, which is generally installed just about everywhere already.

  8. #8

    Thread Starter
    New Member vbrookie37's Avatar
    Join Date
    Jul 2011
    Posts
    15

    Re: vb application without installing???

    is it usually installed by default when you install operating systems like xp or 7 ?

  9. #9
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: vb application without installing???

    Yes, but only the basic runtime files. If you use a Listview, Treeview, RichTextBox, CommonDialog (file browser), etc in your application, then that requires the installation of other files, like mscomctl.ocx, comctl32.ocx, richtx32.ocx, comdlg32.ocx, etc, etc.

  10. #10

    Thread Starter
    New Member vbrookie37's Avatar
    Join Date
    Jul 2011
    Posts
    15

    Re: vb application without installing???

    thanks

Tags for this Thread

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