1. unwanted DOS window
- Posted by salix at freemail.hu Mar 04, 2001
- 443 views
system("notepad " & LogFile, 2) is the last line of a little Win32lib proggy of mine to show the logs but it always opens a DOS window behind the Notepad for a few seconds. Can this be avoided somehow? Best regards, Salix
2. Re: unwanted DOS window
- Posted by Euman <euman at bellsouth.net> Mar 04, 2001
- 422 views
Have you tried? include dll.e free_console( ) Euman ----- Original Message ----- From: <salix at freemail.hu> To: "EUforum" <EUforum at topica.com> Sent: Sunday, March 04, 2001 17:24 Subject: unwanted DOS window | system("notepad " & LogFile, 2) | | is the last line of a little Win32lib proggy of mine to show the logs | but it always opens a DOS window behind the Notepad for a few | seconds. Can this be avoided somehow? | | Best regards, | | Salix | | |
3. Re: unwanted DOS window
- Posted by Wolf <wolfritz at KING.IGS.NET> Mar 04, 2001
- 423 views
If you are using win32lib ver. 0.55.1, you could use something like the following: object jk sequence current current=current_dir() .. no DOS window here ! ...
4. Re: unwanted DOS window
- Posted by lpcd at CYBER.NET.PK Mar 17, 2001
- 501 views
Wolf ne keha, 5/3/01 5:34 AM per, ke: > If you are using win32lib ver. 0.55.1, you could use something like the > following: > > object jk > sequence current > current=current_dir() > jk=shellExecuteEx("open","notepad.exe","LogFile",current,SW_SHOWNORMAL,0) > > ... no DOS window here ! ... > > > This is great and works well. However, it appears to work at its own speed and independently of the process which called it. Is there any way of having my program wait until the shelled process is complete? On a related issue, is there a way of getting hold of the window title of every window on the machine, over and above whatever windows my program has created? This question derives from wanting to watch for the disappearance of the window created by my shell call. I'm slowly getting the hand of Win32 programming after years of DOS. It's great having the registered version! Bruce. -- It is amazing how complete is the delusion that beauty is goodness. -- Tolstoy. .. or that fame is wisdom. -- Ken Edgecombe.