βœ… From App C# Error

pls help me for this : basically, I want my combobox to once select a value, it changes both the label (so it works) but also changes an image (PictureBox) I did everything with Resources.resx but there's the line "Properties.Resources" Invalid thx !
No description
18 Replies
x0rld
x0rldβ€’7mo ago
show the error
πŠπ«ΓΈπ‘ΓΈπ—
The name 'Properties' does not exist in the current context
Senti
Sentiβ€’7mo ago
I read some stuff on the web about bad namespaces concerning "Properties" issues https://stackoverflow.com/questions/9665335/properties-does-not-exist-in-the-current-context
Stack Overflow
Properties does not exist in the current context
I have to store some strings in the Settings file of my project. However, I am not able to access the Settings file to store the strings. I definitely have accessed Properties file in an earlier p...
πŠπ«ΓΈπ‘ΓΈπ—
I understand but I'm trying to introduce and change an image in a PictureBox which changes when a value is called??
leowest
leowestβ€’7mo ago
@πŠπ«ΓΈπ‘ΓΈπ— can you upload your project to github?
πŠπ«ΓΈπ‘ΓΈπ—
I'm still a beginner and I don't know how to publish on github, there is another way
leowest
leowestβ€’7mo ago
its not hard u right click your solution then create git repository and fill in
TheBoxyBear
TheBoxyBearβ€’7mo ago
No description
TheBoxyBear
TheBoxyBearβ€’7mo ago
One way or the other
leowest
leowestβ€’7mo ago
its also a very useful feature everyone should use version control allows u to save changes to ur code and then if something breaks u can revert to a previous code or even work a split code that wont affect the main code
πŠπ«ΓΈπ‘ΓΈπ—
how use that okok i found wait https://github.com/KroRoX/test is okay ???
leowest
leowestβ€’7mo ago
u need to make it public
πŠπ«ΓΈπ‘ΓΈπ—
ok ok wait is good now
leowest
leowestβ€’7mo ago
looks good now so because u renamed your namespaces or copied from else where the resources namespace remained the same so you need to do this
leowest
leowestβ€’7mo ago
No description
leowest
leowestβ€’7mo ago
and at the top of the file add
using WindowsFormsApp1.Properties;
using WindowsFormsApp1.Properties;
MODiX
MODiXβ€’7mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server