| |
|
|
Falk Fallenstein | The function handle& = @Create("HPIC",0,"&CLPBMP") is very helpful, circa Images from others Programs To take. If itself however in the actually Clipboard no Bitmap, separate anything other befindet, observe I the first, if I of these "angeblichen Bild" moreover works wants, z.B. with SavePic album$,handle&,... or DrawPic handle&,... etc. The Create-function shining yourself no abfragbare Fehlerbedingung To produce, therefore can I the trouble first by the Folgefehler eingrenzen or. intercepting. for a slim, übersichtliche Programming would it beautiful, if one whom success the supra named function live to its appeal to check on could - z.B. with of/ one special System-Variables. |
|
|
| Strategien im Vergleich: Microsoft: der Computer macht mit Dir, was er will ... XProfan: der Computer macht, was Du von ihm willst.
XProfan 11, Windows XP (1.5 GByte RAM), XProfEd | 11/18/09 ▲ |
|
|
|
|
| |
|
| |
|
|
|
Falk Fallenstein | have I already probiert. The Images hätten therefore galaktische sizes - with 0 x 0 pixels had it me as Kriterium gereicht |
|
|
| Strategien im Vergleich: Microsoft: der Computer macht mit Dir, was er will ... XProfan: der Computer macht, was Du von ihm willst.
XProfan 11, Windows XP (1.5 GByte RAM), XProfEd | 11/18/09 ▲ |
|
|
|
|
Christian Schneider | Perhaps works Yes by API:
GetClipboardData-function (MSDN): [...] Clipboard-Formate (MSDN): [...] example in VB: [...] |
|
|
| |
|
|
|
Falk Fallenstein | with "0 x 0 pixels" meant I naturally erfolgloser, d.h. fehlerbehafteter Funktionsaufruf. too The Überprüfung the zurückgelieferten lever-number helps not further, the are any x-beliebigen numbers, The on no really definierten Objects in the main memory show - therefore lead tappt im dunkeln yes to whom erwähnten Folgefehlern. |
|
|
| Strategien im Vergleich: Microsoft: der Computer macht mit Dir, was er will ... XProfan: der Computer macht, was Du von ihm willst.
XProfan 11, Windows XP (1.5 GByte RAM), XProfEd | 11/19/09 ▲ |
|
|
|
|
Falk Fallenstein | thanks, Christian, for your suggestions. I have me The Verweise short respected and feel, that it it so sure goes (and one yet plenty longer the Clipboard can make). but into details goes it with my bescheidenen Programmierkentnissen far over my horizon out |
|
|
| Strategien im Vergleich: Microsoft: der Computer macht mit Dir, was er will ... XProfan: der Computer macht, was Du von ihm willst.
XProfan 11, Windows XP (1.5 GByte RAM), XProfEd | 11/19/09 ▲ |
|
|
|
|
Christian Schneider | Have something zusammengebastelt: CompileMarkSeparation If the Clipboard one Image contains gives ClipIsPic 1, unless 0 back. |
|
|
| |
|
|
|
Christian Schneider | |
|
| |
|
|
|
Falk Fallenstein | terrific, Christian! very the, I need and sooooo simply - hold known How ;) CompileMarkSeparationGemerkt/Separiert von http://xprofan.com/thread.core?t=7937
Def IsClipFormat(1) !"USER32","IsClipboardFormatAvailable"
declare h0&
cls
if IsClipFormat(2)Bild
h0&=create("hPic",0,"&CLPBMP")
hier weitermachen, z.B.
drawpic h0&,0,0;0
else
hier auf den Fehler hinweisen, z.B.
print "no image in the clipboard - please try again ..."
endif
Strategien im Vergleich: Microsoft: der Computer macht mit Dir, was er will ... XProfan: der Computer macht, was Du von ihm willst.
XProfan 11, Windows XP (1.5 GByte RAM), XProfEd | 11/20/09 ▲ | |
|
|
|
|
| the would have imho for people yet plainer make can - serverside. ^^
inserts Member a http-URL with of/ one Bildadresse in that Posting-Input one ("Bildadresse kopieren" becomes of Browser likewise offered), then simply the image by (php) file_get_contents loading and on Server take off and the Bildadresse in entsprechendes <img wandeln.
but alike How, has everything his good. |
|
|
| |
|
|
|
RGH | Falk Fallenstein, Beitrag=55018, Zeitpunkt=18.11.2009
The function handle& = @Create("HPIC",0,"&CLPBMP") is very helpful, circa Images from others Programs To take. ... The Create-function shining yourself no abfragbare Fehlerbedingung To produce
Hi,
the Result the function (in the Erfolgsfall the lever the Bitmap) ought to in this drop 0 his and so intimate, that The Bitmap not created go could. Also ought to a warning aufpoppen, that The Bitmap not ladbar is.
Greeting Roland
Nachtrag: Arrghh ... I had objectively forget, whom Return Value To initialisieren. in the nächtsten Version functions it How planned. |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/20/09 ▲ |
|
|
|
|
Falk Fallenstein | iF
... simply the image by (php) file_get_contents loading and on Server take off and the Bildadresse ... wandeln ... Yes, sound simply, is it for me but not, because I know me with PHP unfortunately not from *schäm*
Also white I do not, whether the Server, from the the Original-Image comes, with a such grabbed the image too really hergibt (block external Bilderlinks, see my remark moreover supra). with the of me angestrebten Solution would already time ensured, that the image pub on the computer the Mitglieds present is and of there To my Server übetragen go can. as Admin point so did i over ands over again hereon there, a short Quellenangabe for extern loaded Images possible not To forget.
Roland
the Result the function (in the Erfolgsfall the lever the Bitmap) ought to in this drop 0 his ... so have I it me too pictured and To allererst ausprobiert - with others create("HPIC" ...) functions functions it Yes. |
|
|
| Strategien im Vergleich: Microsoft: der Computer macht mit Dir, was er will ... XProfan: der Computer macht, was Du von ihm willst.
XProfan 11, Windows XP (1.5 GByte RAM), XProfEd | 11/20/09 ▲ |
|
|
|