Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.
···
--
Posted via http://www.ruby-forum.com/.
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.
--
Posted via http://www.ruby-forum.com/.
Sigge Sg <siggesg@hotmail.com> writes:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.
Gandalf! Where are you when we need you?
Oh great Gandalf! Please tell us the secret code to show a picture from
the "My Pictures" folder!
--
__Pascal Bourguignon__
Sigge Sg wrote:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.
Take a look at fxruby - www.fxruby.org . The tutorial will help you.
--Aldric
Sigge Sg wrote:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.
For someone recently into programming, the internet does indeed supply an almost unlimited supply of information, uncoordinated, unrelated, and overwhelming and certainly not helpful.
Sometimes someone submitting a simple Ruby program which does what one needs is just what someone needs to begin understanding the process so that he is able to use the internet information more effectively. And certainly he is not asking someone else to do his programming for him.
tr
Sigge Sg wrote:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.
RMagick is probably a good place to start for displaying messages. (http://studio.imagemagick.org/RMagick/doc/usage.html#displaying\)
I bet you could poke around and find some examples.
-Justin
Pascal J. Bourguignon wrote:
Sigge Sg <siggesg@hotmail.com> writes:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.Gandalf! Where are you when we need you?
Oh great Gandalf! Please tell us the secret code to show a picture from
the "My Pictures" folder!
I meant in a ruby program!!!!!
--
Posted via http://www.ruby-forum.com/\.
Pascal J. Bourguignon wrote:
Sigge Sg <siggesg@hotmail.com> writes:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.Gandalf! Where are you when we need you?
Oh great Gandalf! Please tell us the secret code to show a picture from
the "My Pictures" folder!
Speak friend, and enter.
Justin Collins wrote:
Sigge Sg wrote:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.
RMagick is probably a good place to start for displaying messages. (http://studio.imagemagick.org/RMagick/doc/usage.html#displaying\)
I bet you could poke around and find some examples.-Justin
Thanks for the recommendation, Justin, but while RMagick can do many things, it can't display an image on MS Windows because its display method depends on a X server, which doesn't exist for MS Windows. So it goes.
I'm not a Win guru, but wouldn't the simplest thing to do be to start an external image display program like IrfanView and tell it to display the image?
my_image = "test.bmp"
system("start /wait i_view32 " + my_image)
--
RMagick: http://rmagick.rubyforge.org/
Gandalf! Where are you when we need you?
Oh great Gandalf! Please tell us the secret code to show a picture from
the "My Pictures" folder!I
I think he's trying to tell you to try to figure out the process on your own, and come back with some ideas and a little work under your belt.
I've been wrong before.
mac
Sigge Sg wrote:
Pascal J. Bourguignon wrote:
Sigge Sg <siggesg@hotmail.com> writes:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.Gandalf! Where are you when we need you?
Oh great Gandalf! Please tell us the secret code to show a picture from
the "My Pictures" folder!I meant in a ruby program!!!!!
Pascal is being an anus. The group apologizes for him.
His point, however, is that the Gods help those who help themselves. There are dozens of Ruby tutorials out there, and reciting them on this newsgroup will not improve anything!
Speak friend, and enter.
No, go away. We dont want any Gandalf here.
--
Posted via http://www.ruby-forum.com/\.
Tim Hunter wrote:
Justin Collins wrote:
Sigge Sg wrote:
Can anyone tell me the code for showing a picture in the "my pictures"
folder? Please!!
I've just started programing, so I don't so much about it.
RMagick is probably a good place to start for displaying messages. (http://studio.imagemagick.org/RMagick/doc/usage.html#displaying\)
I bet you could poke around and find some examples.-Justin
Thanks for the recommendation, Justin, but while RMagick can do many things, it can't display an image on MS Windows because its display method depends on a X server, which doesn't exist for MS Windows. So it goes.
I'm not a Win guru, but wouldn't the simplest thing to do be to start an external image display program like IrfanView and tell it to display the image?
my_image = "test.bmp"
system("start /wait i_view32 " + my_image)
If you are running XP and have the file associations set you can just use:
system("start /wait " + my_image)
This way you can display multiple types of files without having to check for extensions. I used this method in a C program I wrote years ago to display mixed file types.
So far i've seen this group as very helpful and energetic than any
other groups.
For the first time i've seen someone like Pascal Bourguignon replying
in a confusing manner. 
Group members come for help to solve their own needs and not to gather
or grab your programming capability.
--------------------
Live and let live!!!
--------------------
In Love with Ruby 
--------------------