dcsimg

Search:

Type: Posts; User: some1uk03

Page 1 of 13 1 2 3 4

Search: Search took 4.20 seconds.

  1. Re: Best way to deal with Fractions avoiding VARIANT Type

    More like: 0.123456789012334567890
  2. Best way to deal with Fractions avoiding VARIANT Type

    Just thinking of a way to optimise my code.
    I'm currently dealing with lot's of fractions that need to be up to 20 decimal points!!!

    I've managed to handle this with VB's VARIANT dataType but...
  3. Replies
    10
    Views
    334

    Re: MultiThreading a LOOP

    Shaggy Hiker: Essentially it is heavy CPU based. But essentially these numbers are quick with my PC and I have a pretty decent fast PC. So in comparison with an average PC, multiply my numbers by 2...
  4. Replies
    10
    Views
    334

    Re: MultiThreading a LOOP

    To expand on this a little further, I have a list of 10k+ items.
    So a custom class/byteArray of 10k Items with a file size averaging 100kb to 1mb per item.

    So the loop goes on one by one to...
  5. Replies
    10
    Views
    334

    MultiThreading a LOOP

    I've always found the topic of Multi threading somewhat too involved in VB.

    I have a BIG loop of items that process a batch of files. Normally takes 30+ mins to complete.
    Would be nice to be able...
  6. Replies
    7
    Views
    341

    Re: Convert 24bit .WAV to 16bit

    Need to do this through VB myself. Not via utilities etc..
  7. Replies
    7
    Views
    341

    Re: Convert 24bit .WAV to 16bit

    Not necessarily. 16bit is still pretty good.
  8. Replies
    7
    Views
    341

    Convert 24bit .WAV to 16bit

    Any idea on converting a 24bit .wav to 16bit ?
  9. Re: CopyMemory works in IDE / Not Compiled

    I seem to have found the issue at last!!!
    Not sure if it's a copyMemory API issue after all or a real VB bug, but.....

    What seemed to have been causing the issue is, after the copyMemory line,...
  10. Re: CopyMemory works in IDE / Not Compiled

    I've been going over this for some time now and I'm starting to think is this a VB bug or what?
    Everything seems ok. Even at the 1st copyMemory it crashes (on compile).
    So, overbuffering is out of...
  11. Re: CopyMemory works in IDE / Not Compiled

    Ok, that does seem to stop during IDE.
    However, when I debug the math, it doesn't seem to be overflowing.



    StartPos chunkSize
    ----------------------------------
    0 ...
  12. Re: CopyMemory works in IDE / Not Compiled

    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Any, ByVal ByteLen As Long)

    Private wavData() As Integer
    Private origBuff() As Integer
  13. [RESOLVED] CopyMemory works in IDE / Not Compiled

    Facing an interesting dilemma here.
    What works perfectly fine in IDE, is causing a CRASH once compiled.

    I've tracked it down to it being an issue with CopyMemory.

    Any ideas or reasons, why it...
  14. Re: Preventing Form from displaying anything until Form_Load event is finished

    Add your LOAD code to your Form Activate Event.
    Have a boolean to keep Track If it's been loaded and you'll be fine..
    -----------

    Private wasHere as Boolean

    Form_Activate

    if wasHere = True...
  15. Thread: OLEDragDrop

    by some1uk03
    Replies
    5
    Views
    306

    Re: OLEDragDrop

    If you're not running as Admin, it won't allow drag & drop events to fire.
  16. Re: User Control Transparency Issue

    Question: Is it really necessary to be using a Picture?
    I'm sure it would be faster to simply draw the Lines via API's or the + symbol?
  17. Replies
    4
    Views
    383

    Re: Looking for MIDI.....

    Thanks, but this is the mciSendString API. in the OP, I mentioned that I did not want API's to take care of this.
    But rather, I'd like to learn how to import/edit/export MIDI data.
  18. Replies
    4
    Views
    383

    Looking for MIDI.....

    Are there any projects around that anyone can direct me to that deals with MIDI in VB.

    All examples I research are in C/C#/Java. I've decoded most things but, really want to explore other...
  19. Re: VB6 - QUESTION - A good place to distribute your EXE

    https://upload.cnet.com
  20. Replies
    1
    Views
    235

    Re: LynxGrid Control

    I've used it many times. It's a great control.

    New empty row would be: LynxGrid.AddRow vbNullstring
  21. Replies
    12
    Views
    1,213

    Re: Fast clear an array

    dim emptyZ() As udtItem

    reDim emptyZ(uBound(z))

    z = emptyZ
  22. Replies
    2
    Views
    303

    Re: Play & Loop .wav with DirectX 8

    Not dealt with DirectX much before tbh...

    Any guidance on how to achieve that?
  23. Replies
    2
    Views
    303

    Play & Loop .wav with DirectX 8

    I've only just started figuring out playing .wav files with DirectX 8.
    We have the option to PLAY the SOUND / LOOP ALL of the sound, but I haven't figured out how i could play and then Loop certain...
  24. Replies
    6
    Views
    476

    Re: Just found a VB Bug :O ?

    Ok, I do now understand what is going on here..... but

    I still find it a bit strange, as the API is referencing a Boolean [bWOW64Process as Boolean] not a Long.
    169641

    Shouldn't that be...
  25. Replies
    6
    Views
    476

    [RESOLVED] Just found a VB Bug :O ?

    Something strange going on here... Think i just found a VB Bug!

    Can someone run this code and put a REMARK on the If bolFunc = True Then line....
    Although bolFunc is TRUE it still goes to the...
  26. Re: Need advice, suggestions, anything that will help

    1) For each chopped puzzle piece, have an ID property and also 4 other property such as North/South

    Also have some form of a Virtual Table/Array which has all the info about the puzzle. i/e
    Sides...
  27. Re: Extracting Icons bigger than 32bpp from a DLL or EXE.

    You can use this API instead which let's you extract bigger icons. Seems like a hidden API, not documented much.


    Private Declare Function PrivateExtractIcons Lib "user32" Alias...
  28. Replies
    25
    Views
    1,415

    Re: [RESOLVED] Change icon for OLE_DRAG

    dilettante: That's a pretty neat example too, which removes a lot of the heavy stuff, I agree.
    But I'm quite against using external controls (commonControls) which is required for the ImageList.
    ...
  29. Replies
    25
    Views
    1,415

    Re: [RESOLVED] Change icon for OLE_DRAG

    Actually spot on!!! Just tested. me.hDC was all that was needed. :D
  30. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    LaVolpe:
    Debug Info returns:

    return value: 24
    BitCount: 1
    Bits Ptr: 0


    But Finally... issue resolved :D
  31. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    DI_Normal = 3 | I've tried H1 / H2 to no avail. (change is only reflected on the pictureBox)

    As a work around, can't we BitBlt the image in to a tmpDC and use that as the Image source?
  32. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    Hi LaVolpe,

    Technically it does it with every ICON I've tried (plenty to test with any system .dll/exe)
    I believe you're right, it's assuming a 32bpp bitmap as it's masking any dark colour and...
  33. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    well, the Icon formats are fine, because even with SHELL32 icon, this is what we get.
    Drawing it on a picture box is fine but as a DragIcon, all colours get lost?
    It's as if it's extracting a MASK...
  34. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    Not like the Windows ghosted, The whole ICON looks ghosted. Literally any colour is gone.
    Think of the image you posted above and set the transparency to %10 in photoshop .. That's how invisible...
  35. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    Thanks for getting back. I'm finally getting somewhere....

    Not using the IShellItemImageFactory (this only returns the default image/icon) or the IExtractImage or IExtractIcon.
    I also don't need...
  36. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    Still no one has an idea on this? :/
  37. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    *bump*
  38. Replies
    7
    Views
    949

    Re: Error at compiling: Not enough memory

    Take a look at this Topic here. I had a similar issue a while ago. http://www.vbforums.com/showthread.php?861259-RESOLVED-VB-Crashing-on-Compile&p=5279149&viewfull=1#post5279149
  39. Replies
    25
    Views
    1,415

    Re: Change icon for OLE_DRAG

    Great resources there fafalone.
    I've been going through your example and trying to figure out things.

    Initially the idea was to

    That is no longer the case. To simplify, I'd like to use the...
  40. Replies
    25
    Views
    1,415

    [RESOLVED] Change icon for OLE_DRAG

    Is there an easy way to change the ICON when we're dragging an OLE object on the form?
    I have a small picturebox with drawn stuff it.
    Ideally I'd like to convert that in to an image buffer and use...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width