The best way to share folder between different Windows and Linux is to share it on Linux and let Windows explore it in network. Sharing on Windows and exploring from computer and folder from Ubuntu is never stable (Linux guru could do this, but it is not for ordinary user).
Follow pretty good illustrated instructions, works fine for 12.04:
http://www.liberiangeek.net/2010/06/how-to-quickly-change-workgroup-name-in-ubuntu-10-04-lucid-lynx/
Restart samba service after each sharing( just in case :) ), in Ubuntu 12.04 as:
If smth does not work, restart Linux PC, this will help windows to see your Linux :).
Follow pretty good illustrated instructions, works fine for 12.04:
http://www.liberiangeek.net/2010/06/how-to-quickly-change-workgroup-name-in-ubuntu-10-04-lucid-lynx/
Restart samba service after each sharing( just in case :) ), in Ubuntu 12.04 as:
sudo restart smbd
If smth does not work, restart Linux PC, this will help windows to see your Linux :).