Debug Wealth-Lab 5 Strategy with Visual Studio 200
Author: mli3394
Creation Date: 7/8/2008 7:41 PM
profile picture

mli3394

#1
How do I derive a class from StrategyHelper to return the Guid and WealthScriptType property in Visual Studio? I was lost following the procedure posted in "Ask Glitch". An example will be very helpful.
profile picture

Eugene

#2
"Derive the class" means implement an interface. Create your Strategy class, then a stub for StrategyHelper class and make Visual Studio do the rest by right-clicking on the StrategyHelper and selecting "Implement abstract class". See this screenshot:
http://i33.tinypic.com/111uh42.jpg

See message by Cone from 2/28/2008 3:19 PM in THIS discussion for a ready-made Strategy template.

For Visual Studio Express 2005/2008 specific issues, please see THIS article.
profile picture

mli3394

#3
Thank you very much, I can debug with Visual Studio 2005 now.

However, I have problem using System.Drawing with Visual Studio 2005, It gave the error "The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference?). Where can I find the reference to System.Drawing?
profile picture

Eugene

#4
QUOTE:
Where can I find the reference to System.Drawing?


How to: Add or Remove References in Visual Studio
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).