Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   Misc

   Amazon

   Links

    


Optimization
 

 

In Visual Basic , application code is compiled into p-code (or psuedo code) . This is a step between  high level instructions used in Visual Basic and the low level code your computer uses.

By default all applications in VB are compiled as native code executables this means you can use several optimization techniques if you wish. You set these options in the Compile panel in the project properties dialog box.

To get this dialog box follow these steps

  • click on the Project menu
  • click on the Project Properties command
  • In the Project Properties dialog box click on the Compile tab

Here is the dialog box you should see

Here is a description of the options available

Optimize for fast code maximizes the speed of the executable by instructing the compiler to favour speed over size.
Optimize for small code minimizes the size of the executable by instructing the compiler to favour size over speed
No optimization disables all optimizations
Favor pentium pro allows certain code to work better on Pentium pro computers but these dont work so well on 386 , 486 or pentium computers
Create symbolic Debug info creates debugging info in the executable , you can then debug the executable with a suitable debugging tool .

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Status bar clock(Javascript)
Octal, hex and decimal(C++)
Count words in a string(VB.net)
remote host information(C Sharp)
Does a directory exist(VBNet)
a simple dialog box using swing(Java)
display html source with line numbers(php)
random ellipses(Darkbasic)

    




Copyright © 2003 by programmershelp.co.uk