English
Includes

Bildauswahl dialog

 
- Page 1 -



Manfred
Barei
Hi,

have a Bildauswahl dialog to set, Picture pcu

If it of/ one use can, runs ex XProfan 10.

here one kurzer example code:
'PCU-Version 0.5
'copyright by MB-Soft 2008 - 2011
'Author: Manfred Barei
'for Help this proposition would like I with following/n person/en thank:
'Frank Abbing
'The PCU is Freeware and may uneingeschrängt benuzt go, however lying The rights with MB-Soft.
'with Using the PCU in own Programs ought to/n the/The Authors erwähnt go!
 $u Picturewahl.pcu = Bild_'pcu integrate
Declare Bildpfad$,Bild&,way$,BildTyp$
DEF GETSYSCOLOR(1) !"USER32","GetSysColor"
WINDOWSTYLE 31
windowtitle "Bildauswahl-Test"
WINDOW (%maxx/2 - 640/2),(%maxy/2 - 500/2) - 640,500
CLS
Pfad$ = "C:\"
'BildTyp$ = "Alle"
' or
BildTyp$ = "*.JPG"' here can any Bildendungen indicated go The XProfan unterstüzt.
Bildpfad$ = Bild_wahl(way$,BildTyp$)' Calling the .pcu

If Bildpfad$ <> ""

    Bild& = @Create("HPIC",-1,Bildpfad$)
    DrawPic Bild&,0,0;0
    DeleteObject Bild&

EndIf

waitinput
end

Greeting
Manfred

555 kB
Version:1
Kurzbeschreibung: Bildwahldialog with Preview
Hochgeladen:08/08/08
Downloadcounter340
Download
 
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
08/07/08  
 



 
- Page 2 -



Jörg
Sellmeyer
alas Yes: Anhänge always on the best in the Initialposting insert and there also update.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
08/12/08  
 



 
- Page 3 -



RGH
with folgendem einfachen Script can whom corrupt Header correct:
Declare data#
Var Program$ = LoadFile $("Profan-Program open:","*.exe")

If Program$ > ""

    Dim data#, FileSize(Program$)
    File in whom memory reading
    @BlockRead(Program$, data#, 0, FileSize(Program$))
    Compilations-Signatur " RGH-PROFAN" search
    it becomes first of all the Vergleichs-String in the Runtime found.
    the führende space is important, there it otherwise More Fundstellen gives
    Var position1& = MemPos(data#, 0, " RGH-PROFAN")

    If position1& =  -1

        Messagebox("Keine gelinkte XProfan-Exe!", "Error:", 16)
        End

    Else

        now whom String in the Compilations find
        Var KompStart& = MemPos(data#, position1& + 1, " RGH-PROFAN")

        If KompStart& =  -1

            Messagebox("No Compilations hinzugelinkt!", "Error:", 16)
            End

        Else

            now having we The address and produce first of all one
            Backup the Originaldatei ...
            BlockWrite Program$+".bak", data#, 0, SizeOf(data#)
            ... and settle The found address in whom Header one!
            +1 because of the führenden Leerzeichens
            KompStart& = position1& + KompStart& + 1
            Long data#,$80 = KompStart&
            BlockWrite Program$, data#, 0, SizeOf(data#)
            Messagebox("Datei repariert!", "Hinweis:", 64)

        EndIf

    EndIf

Endif

End

simply The fehlerhafte Bildwahl.exe select and ready! subsequently can tappt im dunkeln launched go.

Greeting
Roland
 
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
08/12/08  
 




Dieter
Zornow
The PCU functions very well, but me missing another Pfadvorgabemöglichkeit and the Ladevorgabe ought to "Alle Formate" his no Einzelformat. Why have you got really not any of Profan supported Bildtypen integrate, should still very slight his, if the Gerüst standing.

Greeting

Dieter.
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
08/12/08  
 




Manfred
Barei
Hi,

with the the Exe can I me simply not explain.
have The Files once more on my Hauptrechner machine and the zipper-File new together set.

The wish of Dieter watts already in part with eingearbeitet ( now go any of Profan unterstüzten Formate displayed ), that with the Pfadvorgabe comes in a the next Updats.

so well then Please testing, testing and over again testing and Error report, thanks.

Since I already More mals attempts have The zipper-File new To upload this but anscheinen not functions has, now here once more in the attachment.

Greeting
Manfred

PS. Dietmar, now is too The Bildwahl.prf with thereby fals The Exe again not functions ought to.

471 kB
Hochgeladen:08/14/08
Downloadcounter252
Download
 
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
08/12/08  
 




Peter
Max
Müller
Hi,

no Redraw with Überdeckung or shift over Monitorrand.
moreover shining The Color Depth display not ordnungsgmäß To functions.
I have in example gifs with over 30000 bit.

ciao
 
XProfan X3, X4ß, Win 10.1
08/12/08  
 




Manfred
Barei
so, here now a new Version the pcu.

it watts following Changes vorgenomme:
The Vorschaubilder go now scaliert in the Vorschaufenster outputted, the Calling the pcu can now with of/ one Pfadvorgabe erfolgen and the Repaint watts Done

Peter, with the the indicated the bit and Color Depth is still not so relevant, there everything over 24-bit Echtfarben is.

I hope i haven't been again new Bugs installed.

The Download watts updated.

Greeting
Manfred
 
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
08/14/08  
 




Dieter
Zornow
which Download watts updated, The first or of/ one the subesquent.
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
08/14/08  
 




Manfred
Barei
Hello Dieter,

there's only another zipper-File

Greeting
 
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
08/14/08  
 




Thomas
Freier
Hello Manfred,

wished your Bildauswahl, and make it too, in my Vereinsprogramm bring into action.
Dieters suggestion: The Ladevorgabe ought to "Alle Formate" his
have you got not yet umgesetzt?
If You once more thereby weg, have I yet subesquent wish:
The list isn't stimmig with z.B.: "T. suitor.jpg"
Images and type müssten differently determined go. Z.B. with:
name$=SubStr$(BildPfad$, -1, "\\") or ggf. without type
Typ$=SubStr$(name$, -1, ".")
 
Gruß Thomas
Windows XP SP2, XProfan X2
10/20/10  
 




Manfred
Barei
Hello Thomas,

Entschuldige Please that I first so late answer, but be to Time Dienstlich in france.

will be once I again To dwell be me therefore concern, I hope the has yet something Time.

au revoir et Salutations from france from the Atlantikküste
Manfred
 
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
10/30/10  
 




Thomas
Freier
has Time.
 
Gruß Thomas
Windows XP SP2, XProfan X2
10/30/10  
 




Manfred
Barei
Hello Thomas,

have your Änderungswünsche berücksichtigt and the PCU changed, Please testing. (see code example)
'PCU-Version 0.5
'copyright by MB-Soft 2008 - 2011
'Author: Manfred Barei
'for Help this proposition would like I with following/n person/en thank:
'Frank Abbing
'The PCU is Freeware and may uneingeschrängt benuzt go, however lying The rights with MB-Soft.
'with Using the PCU in own Programs ought to/n the/The Authors erwähnt go!
 $u Picturewahl.pcu = Bild_'pcu integrate
Declare Bildpfad$,Bild&,way$,BildTyp$
DEF GETSYSCOLOR(1) !"USER32","GetSysColor"
WINDOWSTYLE 31
windowtitle "Bildauswahl-Test"
WINDOW (%maxx/2 - 640/2),(%maxy/2 - 500/2) - 640,500
CLS
Pfad$ = "C:\"
'BildTyp$ = "Alle"
' or
BildTyp$ = "*.JPG"' here can any Bildendungen indicated go The XProfan unterstüzt.
Bildpfad$ = Bild_wahl(way$,BildTyp$)' Calling the .pcu

If Bildpfad$ <> ""

    Bild& = @Create("HPIC",-1,Bildpfad$)
    DrawPic Bild&,0,0;0
    DeleteObject Bild&

EndIf

waitinput
end

Download watts updated.

Greeting Manfred
 
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
03/09/11  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

38.135 Views

Untitledvor 0 min.
Rainer Hoefs06/26/23
Normann Strübli03/24/20
AndreasS01/10/19
jacdelad12/20/18
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie