Search found 43 matches

by danraymond
Tue Nov 14, 2006 3:21 am
Forum: Coding Questions
Topic: Webcam capture???
Replies: 10
Views: 9656

My Version

This one I cobbled together from previous advice as I needed the same thing.

when you press "show" button the "shown" image is removed wiht a right button click.

the final one is skinned and allows sequential numbering of images etc.

but see if you can use any of this:


UseJPEGImageEncoder ...
by danraymond
Thu Nov 09, 2006 5:39 am
Forum: Tricks 'n' Tips
Topic: Meter Control - a gadget like the task manager graph
Replies: 22
Views: 14447

Soooo many uses!!

I have so many uses for this!!!!

thank you so much. Clever coding


Dan Raymond
by danraymond
Tue Oct 31, 2006 3:51 am
Forum: Announcement
Topic: UDRes Userlibrary (Userdefined Resources use and compile)
Replies: 31
Views: 23270

SO how do i move from this DLL call to a res file

How do I use UDRes to get rid of this:

OpenLibrary(0,"mt19937ar.dll"); opens random generator library
CallFunction(0, "init_genrand", timeGetTime_()); seed the PRNG
*genrand31 = GetFunction(0, "genrand_int31"); get pointer to function in the dll


then later in the code I do:

myrandom=mindemand ...
by danraymond
Fri Oct 27, 2006 7:16 am
Forum: Coding Questions
Topic: Making an EXE that self-disinfects?
Replies: 17
Views: 6096

Code is here

Go back and copy killswitch's entry. code works perfectly!!!

Dan Raymond
by danraymond
Thu Oct 26, 2006 10:28 pm
Forum: Coding Questions
Topic: Making an EXE that self-disinfects?
Replies: 17
Views: 6096

Thank you

All working now thanks ever so much


Dan Raymond
by danraymond
Thu Oct 26, 2006 8:34 am
Forum: Coding Questions
Topic: self deleting executable
Replies: 2
Views: 1102

am i bad??

did a search but missed the second post. thanks gave me what I needed

Dan Raymond
by danraymond
Thu Oct 26, 2006 8:32 am
Forum: Coding Questions
Topic: Making an EXE that self-disinfects?
Replies: 17
Views: 6096

thanks but!

Thanks for help, but still won't compile without errors, have you tried it or just converted it???

thanks

Dan Raymond
by danraymond
Thu Oct 26, 2006 1:59 am
Forum: Coding Questions
Topic: self deleting executable
Replies: 2
Views: 1102

self deleting executable

I want to make an executable so it deletes itself from disk after a specified number of runs (its a demo).

scenario:
1. exe runs say 50 times
2. end of 50th run exe deletes itself after throwing up "expired" message
3. counter is hidden internally in the exe not in registry etc.
any help??? please ...
by danraymond
Thu Oct 26, 2006 1:46 am
Forum: Coding Questions
Topic: Making an EXE that self-disinfects?
Replies: 17
Views: 6096

MD5 executable check

I simply want to check the MD5 thing so I know if a file has been changed. However, the patcher etc in this thread doesn't work with version 4.

Can anyone help me with a revised code as is beyond my coding ability

thanks

Dan Raymond
by danraymond
Tue Oct 03, 2006 7:40 am
Forum: Tricks 'n' Tips
Topic: Skinnamarink - a tutorial
Replies: 5
Views: 4060

Fabulous!!!!!

You must have been reading my mind!

thanks Netmaestro for another outstanding contributon

Dan Raymond
by danraymond
Thu Sep 28, 2006 1:24 am
Forum: Coding Questions
Topic: Another Video Capture question
Replies: 15
Views: 6800

Just one pic click

HI All

tried AndyMK's code to do a web preview. Thanks mate I can mostly understand it.

my needs are simple. I want to just take a photo/snapshot (no video) and save as an image file (format no concern), no streaming no nothing.

I simply need to use my webcam as a still camera.

Question how can ...
by danraymond
Sat Sep 23, 2006 12:16 pm
Forum: Tricks 'n' Tips
Topic: Colormodels: RGB, CMY, HLS, HSL (HLS, HSI)
Replies: 6
Views: 6061

BUt windoze don't take screenshot

Dear thefool,

thanx so much for info, hadn't realised its was just the rgb average and I can see how it works now on an image.

but if you have XP hit the "turn off computer" selcetion and just wait. It slowly fades to grey scale. And yet returns to color if you cancel.

that's what I want to do ...
by danraymond
Sat Sep 23, 2006 1:10 am
Forum: Tricks 'n' Tips
Topic: Colormodels: RGB, CMY, HLS, HSL (HLS, HSI)
Replies: 6
Views: 6061

Thankx frogger

Thanks was looking for this info.

Just a question;

When you shutdown WIndows XP the screen fades from colour to greyscale before the shutdown menu pops up.

Any ideas how to do that in PB? (the shifting of the monitor colors to greyscale)

thanks


Dan Raymond
by danraymond
Wed Sep 20, 2006 1:01 am
Forum: PureFORM & JaPBe
Topic: PureRESIZE library : gadget automatic resizing and more
Replies: 160
Views: 193527

Thank you

Thanks gnozal,

works a treat, problem was my understanding of what locking meant. also was not sure if parent gadget inlcuded the actual window, whihc I see now it doesn't

you've saved me a lot of work,

thank you.

DanRaymond
by danraymond
Tue Sep 19, 2006 7:52 am
Forum: PureFORM & JaPBe
Topic: PureRESIZE library : gadget automatic resizing and more
Replies: 160
Views: 193527

So why doesn't this work?

Dear gnozal;

have just tried your form designer and also resize. for PB4

your form generates the following code with resize enabled but the editor gadget doesn't resize, why?

also I can't get the parent check box to allow to be checked in the extras section where you specify resizing (bug or ...