Search found 23 matches

by orb_505
Thu Sep 23, 2010 3:08 pm
Forum: Coding Questions
Topic: Structure Arrays
Replies: 5
Views: 1261

Re: Structure Arrays

Forget it, I'm on 4.50 not 4.51 :oops: I'll upgrade
by orb_505
Thu Sep 23, 2010 3:06 pm
Forum: Coding Questions
Topic: Structure Arrays
Replies: 5
Views: 1261

Re: Structure Arrays

On that subjuct of fixed or dynamic arrays. Can you not have a dynamic array in a Structure?

EG:

Code: Select all

Structure Systems
  SystemName.s
  DefaultPath.s
  FileList.s(50)
EndStructure
I've tried it but I get the Garbage error again.
by orb_505
Thu Sep 23, 2010 2:59 pm
Forum: Coding Questions
Topic: Structure Arrays
Replies: 5
Views: 1261

Re: Structure Arrays

Thank you very much sir!
by orb_505
Thu Sep 23, 2010 10:26 am
Forum: Coding Questions
Topic: Structure Arrays
Replies: 5
Views: 1261

Structure Arrays

Hi all,

I'm having a bit of a nightmare with this one and was wondering if anyone could help.

I'm making a Structure, within that Structure is a Array:


Structure Systems
SystemName.s
DefaultPath.s
FileList.s[50]
EndStructure


I then create an Array of that that Structure:


Dim ...
by orb_505
Tue Aug 03, 2010 8:44 am
Forum: Coding Questions
Topic: AES-256
Replies: 7
Views: 1461

Re: AES-256

Thats great! Many thanks! I'm just working on shoe-horning it into my program.

Cheers!

Mark
by orb_505
Mon Aug 02, 2010 3:12 pm
Forum: Coding Questions
Topic: AES-256
Replies: 7
Views: 1461

Re: AES-256

The size can vary but anything up to a gig really.
by orb_505
Mon Aug 02, 2010 2:39 pm
Forum: Coding Questions
Topic: AES-256
Replies: 7
Views: 1461

Re: AES-256

Hi Cas,

I saw the AESEncoder command but it gave the impression it was for strings. Either way I'm not creating the file but copying it using CopyFile(), the file itself isn't created by my program, a third party creates it, I just want it copying to a USB pen but then for the security of postal ...
by orb_505
Mon Aug 02, 2010 11:33 am
Forum: Coding Questions
Topic: AES-256
Replies: 7
Views: 1461

AES-256

Hi all,

I'm writing a program which will copy a file from a HDD to a USB pen. I want the file to be encrypted on the USB pen using AES-256. Does anyone know if this can be done and if so a code example?

Many thanks

Mark
by orb_505
Wed Jul 21, 2010 11:25 am
Forum: Game Programming
Topic: WaitWindowsEvent Loop
Replies: 5
Views: 2386

Re: WaitWindowsEvent Loop

I've put a Delay(5) in. It gives a nice slow progression to the temp build up and doesn't make the app look like it's locked because it's too high.

Cheers

Mark
by orb_505
Wed Jul 21, 2010 10:17 am
Forum: Game Programming
Topic: WaitWindowsEvent Loop
Replies: 5
Views: 2386

Re: WaitWindowsEvent Loop

WindowEvent() worked a treat ;) Cheers!
by orb_505
Wed Jul 21, 2010 9:05 am
Forum: Game Programming
Topic: WaitWindowsEvent Loop
Replies: 5
Views: 2386

WaitWindowsEvent Loop

Hi all,

Used PB for a while but mainly for internal programs at work. Now I'm using it for an 'entertainment' reason and I'm seeing a problem.

To give a brief run down I'm writing a simulation of a fictional space ship. I'm not interested at this stage with graphics or anything, I just want to ...
by orb_505
Thu Mar 15, 2007 2:58 pm
Forum: Coding Questions
Topic: Using Gadgets from inside a Procedure [Closed]
Replies: 12
Views: 1821

Sorry Derek, I missed you post in the cross fire, yes just tried that and worked a treat!

Cheers all!
by orb_505
Thu Mar 15, 2007 1:59 pm
Forum: Coding Questions
Topic: Using Gadgets from inside a Procedure [Closed]
Replies: 12
Views: 1821

Still trying on this, I looked at the thread route but I've now discovered I'll have to send at least 2 paramenters to the CopyFile() procedure plus get a return. Looking in the help threads don't support this.

The AddGadgetItem() is now working now the gadget is Global but it's only showing on the ...
by orb_505
Thu Mar 15, 2007 12:34 pm
Forum: Coding Questions
Topic: Using Gadgets from inside a Procedure [Closed]
Replies: 12
Views: 1821

I've tried the Globel and Shared route (thanks for that guys) and they do work but only after the procedure has finished. As the files being copied are large than there is about 60-120sec's while the files are copying and nothing is on the screen, the user thinks "wtf?? Is it doing anything?"

I ...
by orb_505
Thu Mar 15, 2007 12:17 pm
Forum: Coding Questions
Topic: Using Gadgets from inside a Procedure [Closed]
Replies: 12
Views: 1821

Actually, after I specific the Gadget as Global is DOES work but only at the end of the procedure, I'm guessing the form isn't refreshed until the end of the procedure?

If I set the form as Global and call a refresh in the procedure than I'm guessing that'll work?