<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to open an .EXE file window from Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/</id><updated>2024-04-18T05:43:29.998000Z</updated><subtitle>Recent posts to How to open an .EXE file window from Codesys</subtitle><entry><title>How to open an .EXE file window from Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/?limit=25#f82c" rel="alternate"/><published>2024-04-18T05:43:29.998000Z</published><updated>2024-04-18T05:43:29.998000Z</updated><author><name>kumareasu</name><uri>https://forge.codesys.com/u/kumareasu/</uri></author><id>https://forge.codesys.com9fe1465a71ce8d916ec78eb6c9bc0179e86bb014</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Have you solved this ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to open an .EXE file window from Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/?limit=25#9401/fb26/37e4/fd38" rel="alternate"/><published>2022-06-16T13:44:29.550000Z</published><updated>2022-06-16T13:44:29.550000Z</updated><author><name>fedu</name><uri>https://forge.codesys.com/u/fedu/</uri></author><id>https://forge.codesys.com1955b6252000cc9db4ba4b67e8bb8009b8885079</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your replay, but I'm sorry I didn't understand.&lt;br/&gt;
My windows user name is Administrator.&lt;br/&gt;
My codesys user has to be Administrator too?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to open an .EXE file window from Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/?limit=25#9401/fb26/37e4/7b74" rel="alternate"/><published>2022-06-16T13:44:25.572000Z</published><updated>2022-06-16T13:44:25.572000Z</updated><author><name>fedu</name><uri>https://forge.codesys.com/u/fedu/</uri></author><id>https://forge.codesys.com2bcc5392c9d520194d92abd788a87412b8f41c2d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your replay, but I'm sorry I didn't understand.&lt;br/&gt;
My windows user name is Administrator.&lt;br/&gt;
My codesys user has to be Administrator too?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to open an .EXE file window from Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/?limit=250#9401/fb26/37e4" rel="alternate"/><published>2022-06-13T18:54:31.719000Z</published><updated>2022-06-13T18:54:31.719000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com284ec461240feffb57cc1da06dd03e1d29301b5f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you want to show a program window, you first have to check which is the user starting the program. Because the interface you see here, is for a user and only this one. Althougt that a user may not have an interface at all (system accounts for instance).&lt;br/&gt;
So I would look at how to start your program with the proper user first.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to open an .EXE file window from Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/?limit=25#9401/6844" rel="alternate"/><published>2022-06-10T20:09:06.236000Z</published><updated>2022-06-10T20:09:06.236000Z</updated><author><name>fedu</name><uri>https://forge.codesys.com/u/fedu/</uri></author><id>https://forge.codesys.com61be04191a0d046366b6d9e2a522b2a6e320409d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Did you solve this problem?&lt;br/&gt;
I have too now&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to open an .EXE file window from Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/?limit=25#9401/fb26" rel="alternate"/><published>2022-06-10T20:09:03.033000Z</published><updated>2022-06-10T20:09:03.033000Z</updated><author><name>fedu</name><uri>https://forge.codesys.com/u/fedu/</uri></author><id>https://forge.codesys.com11f39c0b06c8a06a039225aa4e6018760a8ea5f0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Did you solve this problem?&lt;br/&gt;
I have too now&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to open an .EXE file window from Codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9f9fcc91e7/?limit=25#9401" rel="alternate"/><published>2020-02-27T14:20:09.386000Z</published><updated>2020-02-27T14:20:09.386000Z</updated><author><name>leandroct</name><uri>https://forge.codesys.com/u/leandroct/</uri></author><id>https://forge.codesys.comdbb1b1cdf3316bd7c72ff5ed60e793a03b63b6f1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I want to open an executable file via Codesys (3.5 SP13). I installed the SysOS23 library (3.5.13.0) in my Codesys ControlWin program. I have tried all the instructions available in this library, and all instructions open the program, but without opening the program window. That is, only in Task Manager you can see that the program has been opened.&lt;/p&gt;
&lt;p&gt;I tried to open the .EXE file using the "ExecutePlcProgram" in a Button, but it had the same behaviour.&lt;br/&gt;
I tried to embed the EXE file in the program without success too.&lt;/p&gt;
&lt;p&gt;How do I make the application window to open?&lt;/p&gt;
&lt;p&gt;PROGRAM POU&lt;br/&gt;
VAR&lt;br/&gt;
    CRODA: BOOL;&lt;br/&gt;
    Result: DINT;&lt;br/&gt;
    Teste2: UDINT;&lt;br/&gt;
    Resultado: POINTER TO UDINT;&lt;br/&gt;
END_VAR&lt;/p&gt;
&lt;p&gt;IF CRODA THEN&lt;br/&gt;
    Result := &lt;em&gt;(pszCommand:= 'C:\Windows\Notepad.exe');&lt;br/&gt;
    Teste2 := &lt;/em&gt;(pszComand:= 'C:\Windows\Notepad.exe', pResult:= Resultado);&lt;br/&gt;
    SysCreateProcess(pszCommandLine:= 'C:\Windows\Notepad.exe', bHide:= FALSE);&lt;br/&gt;
    SysCreateProcess(pszCommandLine:= 'C:\Windows\Notepad.exe', bHide:= TRUE);&lt;br/&gt;
    CRODA := FALSE;&lt;br/&gt;
END_IF&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Task Manager.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4404"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>