Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: How to use the control "PictureBox" for change pictures when it is running on WINCE5.0

Started 1 month, 2 weeks ago by lassic123
eg in msdn Private Sub LoadNewPict() ' You should replace the bold image ' in the sample below with an icon of your own choosing. PictureBox1.Image = Image.FromFile _ (System.Environment.GetFolderPath _ (System.Environment.SpecialFolder.Personal) _ & " \Image.gif" ) End Sub but when i set up a smart machine project, "image.fromfile" is not supported Is there ...
Site: CodeProject: Discussion Boards. Free source code and programming help  CodeProject: Discussion Boards. Free source code and programming help - site profile
Forum: Visual Basic / VB.NET  Visual Basic / VB.NET - forum profile
Total authors: 3 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: codeproject.com

Other posts in this thread:

Christian Graus replied 1 month, 2 weeks ago
Image.FromFile is the only method I know of to load a bitmap from a file. Do you have the right dlls imported ? System.Drawing, I believe.

Luc Pattyn replied 1 month, 2 weeks ago
There are at least three ways of getting an image from a file: - Image.FromFile() - Image.FromStream() - Bitmap(filename) constructor AFAIK the third one exists on all platforms.

 

Top contributing authors

Name
Posts
Christian Graus
1
user's latest post:
How to use the control...
Published (2009-11-10 03:11:00)
Image.FromFile is the only method I know of to load a bitmap from a file. Do you have the right dlls imported ? System.Drawing, I believe.
Luc Pattyn
1
user's latest post:
How to use the control...
Published (2009-11-10 07:44:00)
There are at least three ways of getting an image from a file: - Image.FromFile() - Image.FromStream() - Bitmap(filename) constructor AFAIK the third one exists on all platforms.
lassic123
1
user's latest post:
How to use the control...
Published (2009-11-10 02:06:00)
eg in msdn Private Sub LoadNewPict() ' You should replace the bold image ' in the sample below with an icon of your own choosing. PictureBox1.Image = Image.FromFile _ (System.Environment.GetFolderPath _ (System.Environment.SpecialFolder.Personal) _ & " \Image.gif" ) End Sub but when i set up a smart machine project, "image.fromfile" is not supported Is there any other method to do it? thanks a lot~

Related threads on "CodeProject: Discussion Boards. Free source code and programming help":

Related threads on other sites:

Thread profile page for "How to use the control "PictureBox" for change pictures when it is running on WINCE5.0" on http://www.codeproject.com. This report page is a snippet summary view from a single thread "How to use the control "PictureBox" for change pictures when it is running on WINCE5.0", located on the Message Board at http://www.codeproject.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity