Search:

Type: Posts; User: PaulLewis

Page 1 of 11 1 2 3 4

Search: Search took 0.13 seconds.

  1. bah @ me for attempting this

    I have to rethink some of what I am planning. Even if I achieved it, the result would definitely be slower than using a straight byte array. As I've said before, the only reason for giving up speed...
  2. bah!@ no decimal in VB6

    So trying with Variant...supposed to be 16 bytes...
  3. I predict that the speed decrease using an array...

    I predict that the speed decrease using an array of bytes carved up into the individual bits as I've done will be significantly slower. I can think of another way of doing it (amazing how...
  4. Speed at execution vs Memory

    You will find in your quest for the best search algorithm that speed must be sacrificed in order to save on memory requirements. Hoever, the loss of speed at execution inherent with storing data in...
  5. Replies
    6
    Views
    673

    Those lines are at the start of your .frm file...

    Those lines are at the start of your .frm file but the IDE doesn't normally show them to you. Something has gone wrong when you have copied the files. Are you confident of your network connection...
  6. Replies
    5
    Views
    498

    Don't forget that the location of the EXE is...

    Don't forget that the location of the EXE is irrelevant to the machine attempting to launch it. Well as long as the remote PC has correct rights etc.

    The exe will be running on the PC that...
  7. Replies
    2
    Views
    805

    There are several standards for date/time in use....

    There are several standards for date/time in use. Generally UNIX date/time is recorded as the time in seconds since 00:00:00 UTC, January 1, 1970. (UTC is just a new name for GMT really)

    Windows...
  8. A hashtable is of dubious value when as you...

    A hashtable is of dubious value when as you suggest there may be billions of positions. A billion x 37 bytes is still a large chunk of memory/disk (whatever) to be searching. About 37GB right? I...
  9. Replies
    6
    Views
    673

    The easiest way to figure out what is missing is...

    The easiest way to figure out what is missing is to follow the instructions when a form fails to load. It tells you that a form.log file was generated for you to troubleshoot the problems.

    In...
  10. Replies
    13
    Views
    1,085

    Re: Loading form

    You need to break your problems down into smaller chunks and then you will see that there are in fact two separate issues you are trying to address.

    Firstly, there is nothing wrong with nested...
  11. Replies
    1
    Views
    365

    Perhaps your lecturer reads this forum...

    Your lecturer may be hoping you will discover what UDT's are.

    Array's of UDT's are in common use in all of the Windows API. They are equally useful in situations such as yours.

    To hint at...
  12. Thread: press key?

    by PaulLewis
    Replies
    6
    Views
    776

    Not Helpful Response coming up

    Because the windows key annoys me when gaming, I solved the problem by ripping it off my keyboard :)
  13. Replies
    2
    Views
    443

    An option if your file is simply a list of...

    An option if your file is simply a list of numbers (one number to a line in the file). This code will help you as a starting point. The code doesn't care what the list contains. It looks at each...
  14. Replies
    5
    Views
    572

    You need to type InStr in the IDE then press F1. ...

    You need to type InStr in the IDE then press F1. You will get full instructions I think.

    If you type this in the debug window then you should understand more OK?

    Debug.Print InStr(1,"AM I...
  15. Don't get carried away about multithreading

    Unless you really need it in your application you should not plan to implement any multithreading until you understand what the following API call smean:

    WaitForSingleObject...
  16. Replies
    5
    Views
    572

    Use InStr instead of the equality test in your...

    Use InStr instead of the equality test in your code.

    InStr will allow you to determine whether one string is found anywhere in another string. If you are not case sensitive then change both...
  17. techman, Did you get any solution to this? I...

    techman,

    Did you get any solution to this? I wish to hide Powerpoint for the simple fact that a late bound powerpoint.application object really doesn't like being told to open a presentation IF...
  18. Replies
    2
    Views
    7,831

    Thanks for replying

    Unfortunately I think I did not explain properly.

    Nevertheless I have confirmed on three other machines that my simple test fails. Furthermore, you cannot even seem to open a presentation while...
  19. Replies
    2
    Views
    7,831

    Powerpoint.Application Visible Property

    Can anyone perform a quick test for me? I am getting an error when setting the Visible property of a late bound Powerpoint object to false.

    The version of Powerpoint is 8b (may not be important)...
  20. Replies
    1
    Views
    671

    How cool

    I am looking for a similar piece of information and funnily enough my search found your question which mentioned my name :) woohoo

    So if you found a solution please let me know as I am still...
  21. Replies
    7
    Views
    2,316

    Hehe Well it seems pretty simple when you put...

    Hehe

    Well it seems pretty simple when you put it like that..Thanks for the explanation...

    I'll go back to the drawing board.
  22. Replies
    6
    Views
    485

    Just took a look at your code again to try to...

    Just took a look at your code again to try to figure out why you need to worry at all...and you know what?

    I can't see why you use DateDiff to get seconds when you want days anyhow. If you use...
  23. Replies
    6
    Views
    485

    Sorry - typos due to trying to do too many things...

    Sorry - typos due to trying to do too many things at once.

    You're trying to get someone to write it for you - ahh now I see.

    If I wasn't so busy here at work I'd try helping you out. Why not...
  24. Replies
    6
    Views
    485

    Do you need help just to know when a leap year...

    Do you need help just to know when a leap year is? Or do you need help to code?

    If it's just leap years, I can tell you that:
    A leap year is any year evenly divisible by 4 yet not divisible by...
  25. Been a while since I was in these here...

    Been a while since I was in these here parts...I'm hoping for a solution to my little problem here:

    In investigating a solution for a customer requirement, I looked at Word97's ability to connect...
  26. Replies
    7
    Views
    2,316

    Simple thought:

    I actually came looking for my own answers, but your question was interesting.

    I didn't realise how to go about working out the length of a sine wave because my rather literal interpretation re:...
  27. Replies
    2
    Views
    693

    Cool

    Thanks for the reply.

    Love the site...just needed that vital piece of quick info I know is in the archives :)

    I've solved my problem another way for the moment so no worries.

    Good luck...
  28. Replies
    2
    Views
    693

    Sorry John, but even a work in progress needs to...

    Sorry John, but even a work in progress needs to have a search facility...

    I haven't been on for a while and to suddenly find I can't search is a pain.

    But then, it's free so I have nothing...
  29. Replies
    4
    Views
    987

    I wouldn't have guessed it

    Hi Jop,

    After optimising a count only version of your GetAll Files, and comparing this to the loop I already had using dir(), I found that it took the dir() loop 61seconds to count a dir of about...
  30. Replies
    4
    Views
    987

    Thanks,

    I will compare results (speed wise) and post back.

    The problem that I didn't mention is that there are tens of thousands of files on these servers which represent transmissions from a broadcast...
  31. Replies
    4
    Views
    987

    Hey all, I've been away for quite a while...

    Hey all,

    I've been away for quite a while working on other projects and all of my VB resources are at home at the moment.

    Can anyone give me the fastest way to determine the number of files in...
  32. Replies
    7
    Views
    1,497

    Hmm, I already explained my reasoning...

    Changing the CopyMem emulated the fix I recommended.

    Your decalre for GetExplicitEntriesFromAcl is wrong I
    believe so it's up to you if you want to take another look
    again or not.

    I already...
  33. Replies
    11
    Views
    1,669

    errr nope

    Sadly I have not had time to do all of that ICQ stuff at home.

    I find the pace of ICQ or other real-time chat mechanisms to frenetic for my liking.

    Plus I can't use it from work so it would be...
  34. Replies
    11
    Views
    1,669

    Nope. Except in your other post. Is it by the...

    Nope. Except in your other post. Is it by the same game creator? OR is it a port to computer or something?
  35. Replies
    18
    Views
    11,567

    Locally works fine

    Cheers
  36. Replies
    11
    Views
    1,669

    Just a point about MOO2

    You can switch off the fighting in MOO2. In fact I think the default is Off.

    There's a small chance that my memory is mixing up games here but if the screen I am thinking of is in MOO2 then the...
  37. Replies
    15
    Views
    6,283

    Never thought to try to find out :)

    Possibly "Left Set" because we are simply copying the contents of one UDT to another but are Left Aligning the members.

    Well, that's my guess :)
  38. Replies
    15
    Views
    6,283

    If you've never used it before then you have been...

    If you've never used it before then you have been missing out on something when dealing with UDT's...

    The simple example below does what you want. Lset acts as the Union at runtime. It is...
  39. Replies
    15
    Views
    6,283

    I should add..

    If you only have simple data types (as per your example), then LSet is safer than CopyMemory and LSet is ideally suited for exactly what you want to do. I use it for doing any Long to Integer to...
  40. Replies
    15
    Views
    6,283

    no way to emulate

    To emulate this, you'd need to get a friendly C++ programmer to code it up. Not that hard I imagine...as long as all the types you might want to use are already known.

    To emulate it (well not...
Results 1 to 40 of 414
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width