Re: Problem when compiling

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Steve Gerrard" <mynamehere@xxxxxxxxxxx> wrote in message
news:7Y2dnfOLPalam8fanZ2dnUVZ_v-hnZ2d@xxxxxxxxxxxxxx


My three steps to happier IDE use:

1. Tools menu, Options. On the Environment tab, under "When a Program
Starts", choose "Prompt to Save Changes".

Agree wholeheartedly


2. To run the program in the IDE, always use "Start With Full Compile",
instead of "Start". That means use the Run menu; or use Ctrl-F5 instead of
F5; or do like me, and customize the Toolbar, adding a "Start WFC" button
next to the "Start" button.

Not necessary. In Options, on the General tab, uncheck both "Background
Compile" and "Compile On Demand" (Compile on Demand is the important one to
uncheck). AFAIK, this results in the exact same thing as choosing "Start
With Full Compile" even if you JUST press F5.

I also make sure that on the Advanced tab, "Background Project Load" is also
unchecked. Dunno exactly what that option means or does, but I uncheck it
anyway.


3. Always run the program from the IDE after making any changes, before
deciding to build an executable. Always save changes when prompted.

But that doesn't mean NOT to test your compiled program because there CAN be
differences between running in the IDE and the compiled app.

--
Mike
Microsoft MVP Visual Basic


.



Relevant Pages