I have a Windows Control Library project (visual studio 2010). I put in the compile tab for it to be a com element (I use it as an addin for another program).
My question is the following: I have a .cvs file in my resources that I use to parse some main settings. The line of code that reads this file gives an error when I run the addin. code line:
dim reader as new streamReader(My.Resources.standards)
(the file is called standards)
error I get when running the com element:
Illegal character in path.
The program runs nicely when I test it as a normal windows form project.
Anyone know how to fix this? Or how to do decent debugging when testing com elements.
Thanks.