Though I noted that the link you mentioned earlier is a link to a SlimDX tutorial for DirectX11, and he is trying to use DX9 (from his inclusion of using SlimDX.Direct3D9), so I didn't know if the bytecode stuff was how you handle shaders under dx11 and would not work correctly with dx9, but I have not used dx11 yet, so I wasn't sure and decided to post what I knew works for me.