Search found 116 matches

by Kaiser
Thu Jul 19, 2007 4:54 pm
Forum: General Discussion
Topic: Detecting various intervals of time
Replies: 7
Views: 2044

Windows only, or...? Would it bother you to use an API solution?
Windows-only, yes. And no, it wouldn't bother me :).

best choice would be converting the intervals into numeric values first, I think.
I have done that already :P, there's a variable which holds the hour and another one which ...
by Kaiser
Thu Jul 19, 2007 4:17 pm
Forum: General Discussion
Topic: Detecting various intervals of time
Replies: 7
Views: 2044

Detecting various intervals of time

Hey guys!

I've been working on a program we need at work and there needs to happen something specific between intervals of time... mm... let me explain myself better: Let's say I have a file with some intervals...

Morning: 6:50 - 8:30
Mid-Day: 12:15 - 14:30
Afternoon: 17:10 - 19:50

How would I do ...
by Kaiser
Fri Apr 13, 2007 6:41 pm
Forum: Windows
Topic: Opening Windows explorer and closing it after a few seconds?
Replies: 8
Views: 4295

Eh, the idea is basic: Just open an explorer window (or any app) and close it after a few seconds.

I've tried this (From the codearchive)


Debug "Start program..."
ProcessId.l = RunProgram("c:\windows\explorer.exe","z:\","",#PB_Program_Open)
Debug "ProcessID = " + Str(ProcessId)

Debug "We will ...
by Kaiser
Fri Apr 13, 2007 7:09 am
Forum: Windows
Topic: Opening Windows explorer and closing it after a few seconds?
Replies: 8
Views: 4295

I don't get it but ok, try the subst command?

Something like:
c:\WINDOWS\system32\Subst P: c:\PDrive

Nice idea, I'll try it tomorrow, thanks :)

Just wondering, does it work with network paths such as \\ComputerName\Folder or another mapped network drive made with the Explorer menu -> Tools ...
by Kaiser
Thu Apr 12, 2007 10:26 pm
Forum: Windows
Topic: Opening Windows explorer and closing it after a few seconds?
Replies: 8
Views: 4295

Opening Windows explorer and closing it after a few seconds?

Hey guys, long time I don't post here, heh... anyways, I'm trying to solve an issue of a friend of mine... he has to use an OOOOOLD program that needs a network folder mapped as a drive (in this case, K:\ ). However, the program won't work until he opens windows explorer, double-click K: then close ...
by Kaiser
Sat Dec 23, 2006 3:30 am
Forum: General Discussion
Topic: PB DLLs in C# (C.NET, Visual C# Express 2005, and such)
Replies: 0
Views: 915

PB DLLs in C# (C.NET, Visual C# Express 2005, and such)

Whoah, it's been so long since I stepped here :P

Anyways, I've been programming in C# now, but because I use PureBASIC for some of my functions that I can't translate to C# still, I figured someone could be interested in running their PB DLLs in C#, so here it goes:

MyDLL.pb:
ProcedureDLL show ...
by Kaiser
Thu Jul 20, 2006 1:43 pm
Forum: General Discussion
Topic: Anyone want to help make a 'PureMessenger'?
Replies: 55
Views: 10288

I once attempted to do my own MSN client, but got blocked in the HTTPS authentication as I didn't know how to do it in PB...

However if this project seems to start off, I guess I can give a hand if it's needed, according to my skills ^^...
by Kaiser
Mon Jul 17, 2006 8:35 am
Forum: General Discussion
Topic: Authenticating with a server before program use... how to?
Replies: 7
Views: 2747

Thanks a lot!!! :D :D :D that really, really helped me LOTS :D :D :D

I solved it ^^. I'm not going to post my entire auth system (security reasons :P) but this one is a really basic example that works like hell :)

CGITEST.EXE (To be placed in the cgi-bin folder)

CGI_In()
Key.s=CGI_Val("KEY")
If ...
by Kaiser
Fri Jul 14, 2006 9:32 am
Forum: General Discussion
Topic: Authenticating with a server before program use... how to?
Replies: 7
Views: 2747

That's great help Pantcho!! :)

Alright, sorry for the late reply.... I've been really busy with school lately - however I'm on vacations now so I can retake the project again :).

I fiddled around with the CGI-BIN library (which is real good, I agree with you :D) and tested the first example I saw ...
by Kaiser
Thu Jun 22, 2006 9:43 pm
Forum: General Discussion
Topic: Authenticating with a server before program use... how to?
Replies: 7
Views: 2747

The thing is, the server where I'm planning to host the authentication is not mine :P so HTML/PHP is all I have... yup, I have the MachineID, the thing is, I've never made a PB test/program that can actually "connect" to a webserver, or actually understand one and send/receive data between the ...
by Kaiser
Thu Jun 22, 2006 9:06 pm
Forum: General Discussion
Topic: Authenticating with a server before program use... how to?
Replies: 7
Views: 2747

Authenticating with a server before program use... how to?

Hi again! ^_^

I'm actually quite proud of the chat program I've been working on since last year, and it's been going awesome thanks to the help of all of you :)

Now however, I'm wanting a little more "control" and since the program is being used (for now) by the channel moderators, I want to check ...
by Kaiser
Thu May 18, 2006 9:08 am
Forum: General Discussion
Topic: How to make a program run in a specific monitor?
Replies: 2
Views: 1578

How to make a program run in a specific monitor?

Hi ^^

Yup, I got a dual monitor set up now :) but I'm worried the other monitor doesn't do much than staying with the same screen most of the time (I use MSN, and WinAmp, and browse some stuff there, but when I'm playing or doing something else...) so, I saw a screensaver code in the forum doing ...
by Kaiser
Thu May 04, 2006 10:07 pm
Forum: General Discussion
Topic: Change size of ListIconGadget image preview?
Replies: 6
Views: 2045

I love specials ;)

No really, thanks a lot :O it does exactly what I wanted xD... I think I can adapt it to what I need ;) gotta study it a bit, thanks a bunch ^_^ :D
by Kaiser
Wed May 03, 2006 6:30 pm
Forum: General Discussion
Topic: Change size of ListIconGadget image preview?
Replies: 6
Views: 2045

No... what o0......

okay, don't lend me a hand.... but a leg? xD
by Kaiser
Tue May 02, 2006 11:00 pm
Forum: General Discussion
Topic: Change size of ListIconGadget image preview?
Replies: 6
Views: 2045

:bump: :(?