![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
i want to receive a *.jpg with http get and show it directly as image on the form . Is there a way to show the jpg-image directly without saving to a file? Last edited by mamuen : 03-25-2008 at 12:59 PM. |
|
||||
|
It is possible using the new Door library (which is only available for registered users).
Bitmap (Stream) constructor is invoked: http://msdn2.microsoft.com/en-us/library/z7ha67kw.aspx Code:
'WebRequest1 is a WebRequest object, WebResponse is a WebResponse object (HTTP)
'obj is an Object (Door library), args is an ObjectArray (Door)
Sub Globals
End Sub
Sub App_Start
Form1.Show
WebRequest1.New1("http://www.basic4ppc.com/images/desktop.jpg")
WebResponse.New1
obj.New1(false)
args.New1(1)
WebResponse.Value = WebRequest1.GetResponse
args.SetObject(0,WebResponse.GetStream) '
obj.CreateNew2("System.Drawing.Bitmap" & obj.System_Drawing,args.Value)
Form1.Image = obj.Value
End Sub
|
|
|||
|
Hi Erel,
I have bought a used PDA (VPA compact II) with a full Basic4PPC 5.5 vesion from EBay. My first Project is, to make my PDA to remotecontrol for my Soundserver. I am programming a client for the mpd-demon and i want to put it to your Open Source Projects. Have a look at http://www.musicpd.org/ or the wiki http://mpd.wikia.com/wiki/Main_Page Regards Manuen Last edited by mamuen : 03-27-2008 at 12:58 AM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| http cookies | jonjk2029 | Questions & Help Needed | 2 | 08-24-2008 06:19 PM |
| HTTP Bug NEW3 | dibesw | Italian Forum | 5 | 08-02-2008 01:21 PM |
| HTTP Post | ohkovar | Questions & Help Needed | 3 | 07-07-2007 05:36 PM |
| HTTP Lib problem | Lasse | Questions & Help Needed | 5 | 06-04-2007 04:49 PM |
| Move an image inside an image control | Cableguy | Questions & Help Needed | 5 | 05-14-2007 08:40 PM |