Search found 20 matches

by ctg
Sun Feb 12, 2012 11:12 pm
Forum: Feature Requests and Wishlists
Topic: DeleteFile with force flags
Replies: 2
Views: 936

Re: DeleteFile with force flags

.... I think that might be difficult to achieve as a general command, at least on Windows (possibly even more so on Windows8). DeleteFile() will already delete deletable files. Files that won't delete will be locked in some way, either because they are opened and in use by another app or because ...
by ctg
Fri Feb 10, 2012 12:09 am
Forum: Feature Requests and Wishlists
Topic: DeleteFile with force flags
Replies: 2
Views: 936

DeleteFile with force flags

G'day, just a quickie.

May the #PB_FileSystem_Force flag please be added as an option to DeleteFile, or DeleteFile and DeleteDirectory me merged into the one function? I can use DeleteDirectory to remove read-only files but it's not really logical.


Cheers.
by ctg
Fri Apr 15, 2011 1:55 am
Forum: Announcement
Topic: DroopyLib
Replies: 186
Views: 119906

Re: DroopyLib

Thanks mate, excellent update. Would you please be able to add the option for registry operations to be able to accept flags? I need to be able to interrogate and write 64bit registry keys from a 32bit app as defined here: http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Cheers! 8)
by ctg
Mon May 03, 2010 4:14 am
Forum: Feature Requests and Wishlists
Topic: RunAs - built-in
Replies: 15
Views: 6481

Re: RunAs - built-in

Thanks mate... I also need to wait until the app is closed too, so I need to get an app handle...

Cheers.
by ctg
Thu Apr 29, 2010 1:24 am
Forum: Feature Requests and Wishlists
Topic: RunAs - built-in
Replies: 15
Views: 6481

Re: RunAs - built-in

Everything you asked for can already be done. Look at the manual in the section "Process".

Uh, I've looked and can't find anything that would allow me to run an app under a different user account... any pointers?


Cheers
Oups, I didn't see that, sorry. You can do that with API, but I'm not sure ...
by ctg
Tue Apr 27, 2010 11:25 pm
Forum: Feature Requests and Wishlists
Topic: RunAs - built-in
Replies: 15
Views: 6481

Re: RunAs - built-in

SuperRunas() from the DroopyLib do this

Looked, but I can't find that function mate... what version did it get introduced in? Using v1.32 (15/12/2009).

Everything you asked for can already be done. Look at the manual in the section "Process".

Uh, I've looked and can't find anything that would ...
by ctg
Mon Apr 26, 2010 11:28 pm
Forum: Feature Requests and Wishlists
Topic: RunAs - built-in
Replies: 15
Views: 6481

RunAs - built-in

G'day folks.

I have been using RunAs, the function in Droopy's library, for quite a while. Until mow it has served me quite well; however, I now find it limiting.

I need to be able to find out when the executed problem has closed, and get return codes. I have been using GetPIDProcess on the ...
by ctg
Fri Sep 26, 2008 1:27 am
Forum: Coding Questions
Topic: [FIXED]: Balloon click [callback] not working consistently
Replies: 2
Views: 1523

Well, I think I've fixed the problem. Added a separate procedure to count the 1 second delay, and used the loop I had previously to check whether the count variable had been incremented, and if so, show the balloon.

It's probably hard to understand my explanation, but anyway.

Global str ...
by ctg
Thu Sep 25, 2008 3:35 am
Forum: Coding Questions
Topic: [FIXED]: Balloon click [callback] not working consistently
Replies: 2
Views: 1523

I have found most of the problem, but I do not know how to correctly fix it. I have posted the amended code below. Basically, WaitWindowEvent() is required to be run on every run of the loop, to catch input and pass it to the window callback [am I right here?].

This, however, requires that the ...
by ctg
Wed Sep 24, 2008 1:32 am
Forum: Coding Questions
Topic: [FIXED]: Balloon click [callback] not working consistently
Replies: 2
Views: 1523

[FIXED]: Balloon click [callback] not working consistently

G'day. :D

I have another problem to throw out there which when fixed will hopefully see the app I'm working on completed and mostly without bugs.

This is something I cannot figure out. I'm using balloontip code posted here on the forums [http://www.purebasic.fr/english/viewtopic.php?t=12030 ...
by ctg
Tue Sep 23, 2008 3:30 am
Forum: Coding Questions
Topic: Render PNG alpha-layer correctly
Replies: 4
Views: 1521

That's excellent, thanks mate :D

I'll definitely add this to the codebase for future reference ;) [Maybe it could be put as a code example in PureArchiv? Just an idea]

Your help is awesome. Cheers :P
by ctg
Tue Sep 23, 2008 12:52 am
Forum: Coding Questions
Topic: Render PNG alpha-layer correctly
Replies: 4
Views: 1521

Could you tell me a bit about what the image is for? That is, when and where do you want it to appear and for how long?

Sure. I need the image to appear on a window, permanently [as a standard Purebasic image would typically be], along with other controls such as "OK", "Cancel" and a few ...
by ctg
Mon Sep 22, 2008 2:12 am
Forum: Coding Questions
Topic: Render PNG alpha-layer correctly
Replies: 4
Views: 1521

Render PNG alpha-layer correctly

G'day. I have a question that has taken a while to ask, as I have been trying to figure it out myself and by searching on the forums.

I am trying to render a PNG image on a window, which has other controls on it. Below is the standard code built using PureFORM:

;{- Enumerations / DataSections ...
by ctg
Mon Sep 15, 2008 3:38 am
Forum: Coding Questions
Topic: Cannot get StringGadget ReadOnly to work after opened window
Replies: 13
Views: 1814

Thanks guys, much appreciated ! :D
by ctg
Mon Sep 15, 2008 3:00 am
Forum: Coding Questions
Topic: Cannot get StringGadget ReadOnly to work after opened window
Replies: 13
Views: 1814

Here is the code for the non-threaded version. [2 changed lines of code, everything else is the same]

;{- Enumerations / DataSections
;{ Windows
Enumeration
#Window_0
#Window_1
EndEnumeration
;}
;{ Gadgets
Enumeration
#Button_0
#Button_1
#Button_2
#Button_3
#String_TestField
#String ...