Click to See Complete Forum and Search --> : Vb compiler


Trenchcoat
April 19th, 2001, 05:09 AM
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

Iouri
April 19th, 2001, 07:19 AM
'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
iouri@hotsheet.com

Cakkie
April 19th, 2001, 07:29 AM
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
slisse@planetinternet.be

The best way to escape a problem, is to solve it.