16,004,653 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 14711713 (Top 5 by date)
Member 14711713
29-May-24 1:48am
View
ImageList1.Images.Add(Image.FromFile(singleFile)) is the code I have used. The other was a mistake typed in. It still shows an error at Image.FromFile. I get the error message BC30456 'FromFile' is not a member of 'MediaTypeNames.Image' Looking at the excepted values I see graphic image types like Jpeg, Png, ... Click the error number I see, 'The member you have provided is not a member of the class. Error ID: BC30456' The text of the error does not seem to apply to this problem.
I don't see any typing errors. I don't know what else to tell you. I don't know how you could run it, but I cannot.
Edit: I got it to work. I could only guess it had to be a setting for VB.net. I changed the program to .Net 8 from .Net 6 and it ran. Don't know if that was the problem but it works.
Member 14711713
12-Apr-23 21:19pm
View
oops, error. I got it to work
Member 14711713
12-Apr-23 19:09pm
View
Looks like I will have to use the split method to make this work. I was hoping to avoid that way of doing this, so messy.
Member 14711713
12-Apr-23 19:06pm
View
Didn't work for me. Still only changes the first instants of the problem.
Member 14711713
12-Apr-23 19:05pm
View
Wish I knew Regx, perhaps now is the time to start learning it.