CS0103 Error when using SMA function in WLP5.3
Author: tasmaine
Creation Date: 2/17/2009 12:21 PM
profile picture

tasmaine

#1
The following line of code works properly:
CODE:
Please log in to see this code.


however this does not:
CODE:
Please log in to see this code.


The error message I get when compiling is: "The name 'volume' does not exist in the current context."

I've tried replacing 'volume' with 'close' and get the same error.

Do I need to declare the SMA structure somehow? All the sample code I've seen is able to use SMA w/o additional declarations.

Thanks in advance.
profile picture

Cone

#2
C# is case sensitive. It's Volume, not volume.

Tip: Hit Ctrl+Spacebar, wait a couple seconds, and use the intellisense in the Editor.
profile picture

tasmaine

#3
Thanks for the quick response and handy tip as well! Works great now.