CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Vb compiler

  1. #1
    Join Date
    Jun 2000
    Location
    Germany
    Posts
    448

    Vb compiler

    Hi there!

    I am new to teh VB IDE ad I have a question about the compiler. At the moment when I want to compile I always choose "Make" from the file menu. Isn't there a menu "Compile current file" like in VC++?

    Thanks for any help/suggestions!

    --------------------------------------------------
    Visit our new forum: www.maxcode.com
    Feel free to contact me via ICQ# 82806695

  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Vb compiler

    'compile via VB code

    Dim VBPath
    Dim Project
    Path = "C:\Program Files\Microsoft Visual Studio\VB98\VB6.EXE 'Path of Visual Basic
    Project = "C:\VB\Project1.vbp" 'Path of the Project


    Private Sub Command1_Click()
    Shell Path & " /make " & Project, vbhide
    End Sub


    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

  3. #3
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Vb compiler

    I think Iouri missed the point here.

    In VB, you must compile all or nothing. However, if you just want to compile, and not make an exe or dll or what so ever, you can use the run with full compile option from the debug menu. this will run the application after compiling every module. If any errors occur, the program will not run.

    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured