Search found 35 matches

by kwag
Thu Jan 27, 2005 3:28 am
Forum: Feature Requests and Wishlists
Topic: [Implemented] Serial port commands
Replies: 31
Views: 11721

Dano wrote:One more vote here for native com port I/O support .
I second that too :!:

-Karl
by kwag
Thu Jan 27, 2005 3:24 am
Forum: Announcement
Topic: PureBasic Linux 3.92 released
Replies: 11
Views: 5989

Fantastic!

Thanks Fred :cool:
-Karl
by kwag
Sun Jan 23, 2005 6:58 am
Forum: Off Topic
Topic: Bill Gates is so sexy!
Replies: 7
Views: 2374

:lol:
by kwag
Sun Jan 02, 2005 7:16 pm
Forum: General Discussion
Topic: Control of external program.
Replies: 16
Views: 4518

@kwag i don't know the program, but maybe it's inititializeing a lot off stuff before it showes up. Yes indeed!, that's what seems to be happening.
The delay might be diffrent on other pc./ Ram -and harddiskspeed and stuff what ever
Insteed of using Delay 3000
Maybe a loop with
Result =ShowWindow ...
by kwag
Sun Jan 02, 2005 6:36 pm
Forum: General Discussion
Topic: Control of external program.
Replies: 16
Views: 4518

Thanks Henrik :D
I got it working, and I just released an update.
Here's a cut&paste from my source.
Basically, it all boils down to this:

Result=RunProgram( encoderFilePath$, " CQMatic.tpr /Encode /Close",".", 2)

; Wait until program appears.
Repeat
Delay(10)
hwnd = FindWindow_(0,"TMPGEnc ...
by kwag
Sat Jan 01, 2005 11:56 pm
Forum: General Discussion
Topic: Control of external program.
Replies: 16
Views: 4518

No, that's perfect Henrik :)
Your approach is simpler than what I was thinking.
I don't need to do anything while the external program is running. I just have to wait until it's finished, so I can get the data it made.
So it's fine to wait in a loop with a small delay :)

Note: Just so you all know ...
by kwag
Sat Jan 01, 2005 10:56 pm
Forum: General Discussion
Topic: Control of external program.
Replies: 16
Views: 4518

But kwag if you know the name off the window you can do what i said

hwnd = FindWindow_(0,"windowname")
Delay(3000)
CloseWindow_(hwnd)


Best Regrads
Henrik

Hi Henrik,

The problem is that I have to wait for the external program to return, so I'm on a "blocked" state when I execute "RunProgram ...
by kwag
Sat Jan 01, 2005 10:33 pm
Forum: General Discussion
Topic: Control of external program.
Replies: 16
Views: 4518

thefool wrote:It does return the handler, but of the PROCESS.
here you need the Window handle.
Any suggestion for getting the window handler of the external running process :?:

-Karl
by kwag
Sat Jan 01, 2005 10:32 pm
Forum: Off Topic
Topic: Firewall ..?
Replies: 21
Views: 5311

But still:
Anyone here knows about a server os [based on freebsd or linux], that has
a websetup, and have Web, ftp and all those stuff?
Sure :D
Here's a Linux based solution.
Mitel's E-Smith:

http://www.mitel.com/DocController?documentId=9787&c=9509&sc=

And you can download it here:
http ...
by kwag
Thu Dec 30, 2004 10:55 am
Forum: Off Topic
Topic: Firewall ..?
Replies: 21
Views: 5311

ah ok.
But i bet it cant do anything else than being a firewall.
No webserver?
No, there's no webserver. It's strictly a firewall/router.
Although it has thttp (Tiny http) built in, it's only for web management from the LAN side, and not accessible from the WAN (Internet) side.
It was designed ...
by kwag
Wed Dec 29, 2004 11:45 pm
Forum: Off Topic
Topic: Firewall ..?
Replies: 21
Views: 5311

thefool wrote:problem is that i use so many different ports and servers, that i need something where i can change it QUICK.
You can do that very quickly in m0n0Wall, as all the administration is Web based :)

-Karl
by kwag
Wed Dec 29, 2004 11:14 pm
Forum: Off Topic
Topic: Firewall ..?
Replies: 21
Views: 5311

Anyone who runs IPCop (or SmoothWall) and want's to see it bomb quickly :?:
Start E-Mule and Kazaa simultaneously (or some other heavy traffic file sharing app that will open 300 to 500+ simultaneous socket connections.
Come back in less than 24 hours and see how your TCP stack is crashed and dead ...
by kwag
Mon Dec 27, 2004 1:57 am
Forum: General Discussion
Topic: Control of external program.
Replies: 16
Views: 4518

Henrik wrote:Damn i thought RunProgram returend the handler
That's exactly what I thought :)

-Karl
by kwag
Sun Dec 26, 2004 11:46 pm
Forum: General Discussion
Topic: Control of external program.
Replies: 16
Views: 4518

Control of external program.

Hi guys,

I have a question, and I've searched but didn't find an answer.
I need to control an external program which I'm launching via "RunProgram", but what I need to do is to "minimize" the external program as soon as it runs.
I guess this will require some Win32 API stuff, but I haven't found ...
by kwag
Sun Dec 26, 2004 9:54 pm
Forum: Off Topic
Topic: Firewall ..?
Replies: 21
Views: 5311

Here you go :!:
The best thing since sliced bread ;)
http://m0n0.ch/wall/

You can use it on an old PC, or put it on a small embedded board, like this:

Image

I love it :!:

-Karl