Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Thread Tools Rate Thread Display Modes
Old 02-05-2004, 11:28 AM
a_t_jackson a_t_jackson is online now
Registered User
Join Date: 03-11-2003
Location: Belfast, Northern Ireland
Posts: 23
How to set VB6 Compiler Optimization?

Is there anyway to set the VB6 compiler options in VisualBuild, such as:

"Optimize for Fast Code"
"Optimize for Small Code"
Reply With Quote
Old 02-05-2004, 01:52 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,815
You could use a Replace in File Action to do that. The OptimizationType is 1 for Small Code and 0 for Fast Code. This step can be copied and pasted into VBP:

<step action='Replace in File' type='0'>
<indent type='3'>1</indent>
<name>Set Opt</name>

You could use this in conjunction with a Process Files step if you have several VBPs to update (see the Recurse.bld sample).
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 11:52 AM.

Copyright 1999-2021 Kinook Software, Inc.