C
C#•2y ago
Roji

Fromfile is underlined not sure what I'm doing

For the second picture it states to "Make note of name of the folder where the images are saved and the file names of the images themselves" I tried changing Fromfile to Random Image and images both did not work.
29 Replies
Roji
Roji•2y ago
Roji
Roji•2y ago
did not work
Roji
Roji•2y ago
like that?
Roji
Roji•2y ago
pip
pip•2y ago
skinbox3 probably has an image property that you have to reference instead
Roji
Roji•2y ago
that's the file that has image inside it each one has 3 image and they are named from 0, 1, 2, 3 (I'm not sure this helps)
Roji
Roji•2y ago
I don't understand what you mean
pip
pip•2y ago
SkinBox3.Image
Roji
Roji•2y ago
it worked
Accord
Accord•2y ago
Ask the thread owner or member with permission to close this!
Roji
Roji•2y ago
I got one more problem, Once I picked any thing from the combo box it shows up as an error
Roji
Roji•2y ago
I think I kinda know is it like I have to put Holidays in one the line of code?
pip
pip•2y ago
read carefully what the exception says it'll tell you what's wrong
Roji
Roji•2y ago
It's trying to get the image if thats what I think is going on
Roji
Roji•2y ago
ohhh it can't find it
pip
pip•2y ago
now look where it's searching for your image. make sure you place your folder so it matches that path you could change the path too, but this is easier
Roji
Roji•2y ago
wait quick question I have the image stored in my usb right does it matter if I have it on my usb or not?
pip
pip•2y ago
you'd either have to change the path to search your USB or change the files to be on in bin/Debug as the error says
Roji
Roji•2y ago
I'm following the steps on what the error is showing right but there's not image
pip
pip•2y ago
you can figure this out 🙂
Roji
Roji•2y ago
I can't figure out how to change the path
pip
pip•2y ago
i'm certain you can figure this out
Roji
Roji•2y ago
I'll try again okay so FromFile is like the file in my laptop right?
pip
pip•2y ago
yes
Roji
Roji•2y ago
so I just need to change FromFile then?
pip
pip•2y ago
or you can move your image files to this folder
Roji
Roji•2y ago
that file called images was not there before I just added
Roji
Roji•2y ago
wait there's already an image I've put in before
Roji
Roji•2y ago
I feel like it's so simple I straight up gave up
Want results from more Discord servers?
Add your server
More Posts
EF Core not fetching sub-entities by Id [Answered]I'm kinda new to EF Core so maybe the terminology is not right. I have the following models: PlayReplacing A Specific Colour of A WriteableBitmap [Answered]Good morning, I am currently working on a method that is meant to search a WriteableBitmap image forCompiler error [Answered]So im getting compiler error, i understand what it means but i dont know why i get it can you explai[EFCore] add many Parent entities with Child entities, How to connect them in single SaveChangesHello, im trying to sync data in my database with data in external source there is a example that i GroupBy cannot be translated usingHello I can't for example group data by month using one of class datetime attribute navigation propeMicrosoft.Xaml.Behaviors.Wpf MouseMove event passing event args to command is passing nullI have wpf application view. It is capturing MouseMove event, which is sending MouseEventArgs as theEnvironmental Variables in VS 2022 [Answered]```js { "profiles": { "Library.Dependency": { "commandName": "Project", "environmeNeed help getting cest timezonei currently have this code ```cs var timer = new PeriodicTimer(TimeSpan.FromSeconds(1)); wHei all, I am new to this Server and I realy need help on specific Problem [Answered]I am trying to move a .csv File from a Folder to another and it is actualy working but when I open tHow to send multiple data sources to a view in asp.net 6? [Answered]Hey, So im learning asp.net 6. I have a page where i show products by giving a list to the view, But