English
Forum

Seltsame reaction of XProfan-commands "SHELL"

 

CompileMarkSeparation
DECLARE but&,programm$,EE%,aus&
EE%=0
programm$=NOTEPAD.EXE
CLS
but&=CREATE(BUTTON,%HWND,Start,50,50,100,25)
aus&=CREATE(BUTTON,%HWND,ESC  Ende,300,50,100,25)

WHILENOT EE%

    WAITINPUT
    CASE CLICKED(but&):SHELL programm$
    CASE CLICKED(but&):Shell rundll32.exe url.dll,FileProtocolHandler +programm$
    Case Scankey(27) | CLICKED(aus&):EE%=1

ENDWHILE

end

If I with the code one XPROFAN-Program Call wants happens nothing and Windows reports with of/ one Taskleistenmeldung: not sufficient memory !
with of/ one link on the desktop can the same Program without Problems launched go. - mind you: the happens only XPROFAN-Programs
 
09/29/07  
 




Jörg
Sellmeyer
can I not confirm - by me becomes too one Profanprogramm with both modes free from problems launched.
what happens because with you with WinExec?
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/29/07  
 




Rolf
Koch
Real? by me works it correct under Vista. Start and Notepad becomes launched.
and this even if I 10x on Start click.
 
09/29/07  
 



@Rolf


Start and Notepad becomes launched.


I Have still written

mind you: the happens only XPROFAN-Programs


...and Notepad is still one windows-Program. standing here only as Joker. Schreib time one XProfan-Program (naturally with kompletten way) into Variable Program$ - there stick my trouble !

@Jörg


what happens because with you with WinExec?


selfsame - no reaction

I have to of/ one week everything complete new installs. thereby XPROFAN-10 from the ROLAND-CD again new copies. can it his, that Roland one UpDate from the Profan-Files (Compiler etc...) rausgegeben has what about me the bleary have ?
 
09/30/07  
 




RGH
Horst horn
can it his, that Roland one UpDate from the Profan-Files (Compiler etc...) rausgegeben has what about me the bleary have ?


Yes, it inputted Update on XProfan 10.0a (see [web]https://XProfan.de/support.htm[/web]) and click on XProfan 10). but the Update has nothing with the from you named trouble To do.

your Testprogramm runs by me free from problems:
CompileMarkSeparation
DECLARE but&,programm$,EE%,aus&
EE%=0
programm$=FIXSTERN2.EXE
CLS
but&=CREATE(BUTTON,%HWND,Start,50,50,100,25)
aus&=CREATE(BUTTON,%HWND,ESC Ende,300,50,100,25)

WHILENOT EE%

    WAITINPUT
    CASE CLICKED(but&):SHELL programm$
    CASE CLICKED(but&):Shell rundll32.exe url.dll,FileProtocolHandler +programm$
    Case Scankey(27) | CLICKED(aus&):EE%=1

ENDWHILE

end

FIXSTERN2 is one of my usual XPRofan-tempo-Testprogramme. can it his, that You a way with space verwendest? then should You Program$ in Einführungszeichen einkleiden, about:
CompileMarkSeparation
Program$ = q+Program$+q
. Anderenfalls would The rundll32 try, whom first part until space To interpret and to start ... and the must then schief weg.

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
09/30/07  
 



@Roland

thanks first once for Info (UpDate) already Done
to that actual trouble
CompileMarkSeparation
DECLARE but&,programm$,EE%,aus&
EE%=0
programm$=2windows4you.exe
CLS
but&=CREATE(BUTTON,%HWND,Start,50,50,100,25)
aus&=CREATE(BUTTON,%HWND,ESC  Ende,300,50,100,25)

WHILENOT EE%

    WAITINPUT

    IF CLICKED(but&)

        CHDIR C:2windows4you CHDIR...  muss gemacht werden. Dann klappts auch mit dem Aufruf :o)
        Shell rundll32.exe url.dll,FileProtocolHandler +programm$

    ENDIF

    Case Scankey(27) | CLICKED(aus&):EE%=1

ENDWHILE

end

have fixes, when I when appeal first with CHDIR into Ordner schalte, functions the appeal too with XProfan-Programs. I must means whom way decompose in LaufwerkOrdner + Program - in the obigen Beispielcode functions everything correct. give I here whom kompletten Path under Program$ one, comes a Error Message Windows

and now guck I dames-Fussball (were always hereon, that The to that Schluss The Trikots change )
 
09/30/07  
 




Rolf
Koch
Sorry Horst be revised - and same again on The work
 
09/30/07  
 



@Rolf


Sorry Horst be revised - and same again on The work



The human operates, in order to life ! - it living not, in order to works !

old chinese wisdom
 
09/30/07  
 




Jörg
Sellmeyer

CompileMarkSeparation
Perhaps should You instead rather in Your 2windows4you.exe into way change. What is because, if you 2windows4you.exe with komplettem way aufrufst?
CompileMarkSeparation
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/30/07  
 



@Jörg

with the Defination can I but whom kompletten way divide:
CompileMarkSeparation
DECLARE programm$,prog_pfad$,anzahl%,programm_lg%,prog_lg%
DEF LESE_SLASH(1) (LEN($(1))-LEN(TRANSLATE$($(1),,)))
prog_pfad$=C:2windows4you2windows4you.exe
anzahl%=LESE_SLASH(prog_pfad$)
programm$=SUBSTR$(prog_pfad$,Anzahl%+1,)
prog_lg%=LEN(prog_pfad$)
programm_lg%=LEN(programm$)
prog_pfad$=LEFT$(prog_pfad$,(prog_lg%-programm_lg%))
>


...if you 2windows4you.exe with komplettem way aufrufst?


then happens the, what You on the Bildchen see can:

23 kB
Hochgeladen:09/30/07
Downloadcounter220
Download
 
09/30/07  
 



Hello I need Help i see with the shell not if I Shell "cmd" eingebe
opens it cmd and if one other Program eingebe with or without way happens nothing
 
10/02/11  
 



Mach still one new Topic on: [...] 

and gib an example.

Shell functions ansich very How described.
 
10/02/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

4.519 Views

Untitledvor 0 min.
rquindt03/16/18
Walter01/30/18
GC5708/04/16
iF09/13/15
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