English
Forum

Done: Problems with Bildschirmausgabe in Win2000 and XP

 

Mirko
Siederik
Hello, I have one Minimal-Program as Countdown-Timer. without each Ansprüche. but in both me available stehenden windows-versions (Win2000 and X) functions The Textausgabe not erstellten EXE Files. Programmablauf as PRF no Problems.
Getestet with 10Free as well as 7.5 Full Version. where lying my fallacy?
thanks for a Info.
MfG Mirko
CompileMarkSeparation
Declare Zähler%,Text%,Ausgabe%,Abbruch%,Button%,A$,Ende&
winExecWait(cmd /c ping www.google.de,0)
WindowStyle 1024
Window 300,200-470,120
Let Zähler% = 300
Let Abbruch% = 1
Let Text% = @CreateText(%HWnd, Countdown bis zum Rechner - Runterfahren ---> ,20,20,350,18)
Let Button% = @CreateButton(%HWnd,Stopp Timer,280,45,90,20)
Sleep 1000

While Zähler%

    Let Ausgabe% = @CreateText(%HWnd,@Str$(Zähler%),340,20,25,18)
    Dec Zähler%
    Sleep 1000

    If @Equ((@GetFocus(Button%)),1)

        Let Zähler% = 0
        Let Abbruch% = 0

    EndIf

EndWhile

If @Equ(Abbruch%,1)

    ExitWindows 0

EndIf

Let Ausgabe% = @CreateText(%HWnd,gestoppt!,340,20,75,18)
Let Ausgabe% = @CreateText(%HWnd,Fenster schließt selbsttätig,230,45,185,20)
Sleep 5000
@DestroyWindow(%HWnd)
End
 
03/19/09  
 




Matthias
Arlt
Hello Mirko,
I Have you time a small Änderung undertaken. Ändere your Sourcecode properly and it ought to klappen.
CompileMarkSeparation
......
Let Ausgabe% = @CreateText(%HWnd,,340,20,25,18)
Sleep 1000

While Zähler%

    settext Ausgabe%,@Str$(Zähler%)
   
.

whom Difference become You self discern...

Greeting
Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
03/19/09  
 




Mirko
Siederik
thanks the speedy Help, Yes so functions it. nevertheless is me but unclear Why my Version as EXE not functions. What is in principle so very wrong?
Mirko
 
03/19/09  
 




Matthias
Arlt
You beget in your Version in the Loop continually one new Control over the previous, though itself Yes only the indicated Text (sec) Change should. The Interpreter toleriert evident these incorrect Vorgehensweise yet, The Runtime but well not any more.

Greeting
Matthias
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
03/19/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.126 Views

Untitledvor 0 min.
rquindt06/20/18

Themeninformationen

this Topic has 2 subscriber:

Matthias Arlt (2x)
Mirko Siederik (2x)


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