dcsimg

Search:

Type: Posts; User: Victor Bravo VI

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Blank pages on some functions in MSDN Library - October 2001

    I can confirm the aforementioned topics indeed display nothing. My OS is very similar: Win 7 64-bit with updates disabled as well. The only relevant updates I have are SP1, April 2016 Convenience...
  2. Re: Greying out/Lowlighting Background Form

    Check out [RESOLVED] tinted or faded look to form?
  3. Re: Get Distance from Bottom of Control to Bottom of Form

    Don't know if this is the API Olaf was thinking of, but here's an alternative solution that works with both windowed and windowless controls and can handle nested containers with differing ScaleModes...
  4. Re: HeapQueryInformation & GetProcessHeaps

    Option Explicit 'In a blank Form

    Private Enum HEAP_INFORMATION_CLASS
    HeapCompatibilityInformation = 0
    HeapEnableTerminationOnCorruption = 1
    HeapOptimizeResources = 3
    End Enum
    #If...
  5. Replies
    7
    Views
    295

    Re: file save completed

    According to my tests, applications (or perhaps the OS?) updates the last modified timestamp of a file when they are done writing and have closed the file. ReadDirectoryChangesW can detect when that...
  6. Replies
    19
    Views
    528

    Re: Japan jumps back to Year 1

    URL is apparently more commonly pronounced as "you-are-ell", but sometimes you may hear it being pronounce as "earl".
  7. Replies
    7
    Views
    295

    Re: file save completed

    You might be able to detect that via ReadDirectoryChangesW. This thread has some examples of that API and the accepted answer is actually an example you posted yourself.
  8. Re: Need help installing visual studio 6.0

    See post #5 in this thread for the solution: [RESOLVED] installation error
  9. Re: Does adding images from a URL to a thread count against your VBForums data limit?

    I believe the Maximum Attachment Storage increases as your post count grows, so unless you're attaching huge images on every post you make, you probably don't need to worry about hitting the limit.
    ...
  10. Replies
    7
    Views
    446

    Re: Rules on giving reputations...

    You have to rep at least 6 other members before you can rep somebody again.
  11. Replies
    18
    Views
    688

    Re: EDID info and hMonitor handle

    I couldn't get the MonitorCount function to recurse until I tried qualifying it with the module's name:


    Public Function MonitorCount() As Long
    ' This does NOT count disabled monitors.
    ...
  12. Replies
    3
    Views
    221

    Re: Images with text on button.

    Indeed. Check out this thread a few months back: [RESOLVED] Add image to button
  13. Replies
    10
    Views
    548

    Re: Help enumerating registry folders

    If you're talking about the usage example, that is to be expected as I only wanted to print out the first element of the byte array (notice the (0&) at the end of that statement). If you'd like to...
  14. Replies
    10
    Views
    548

    Re: Help enumerating registry folders

    Here's an example:


    Option Explicit

    Private Const ERROR_SUCCESS As Long = 0
    Private Const KEY_QUERY_VALUE As Long = &H1
    Private Const KEY_WOW64_64KEY As Long = &H100
    Private Const...
  15. Replies
    13
    Views
    563

    Re: Listbox suggestion

    For future readers, here's an easier way of removing the border of a ListBox control (or any other control for that matter). The idea is to toggle off the relevant window style(s) or extended window...
  16. Re: Is possible to import or combine C/C++ code to Visual Basic

    Here's my reply to your exact same question about two years ago:
  17. Replies
    5
    Views
    364

    Re: List Box question

    How about?


    Private Sub Command1_Click()
    Dim I As Single

    List1.Clear

    For I = 1! To 9!
    List1.AddItem Choose(I, "Test1", _
  18. Replies
    10
    Views
    548

    Re: Help enumerating registry folders

    It appears your code came from here. Here's how you can make it write a DWORD value instead:


    Private Const REG_DWORD As Long = 4

    Public Sub Registry64write(ByRef SubKey As String, ByRef...
  19. Re: CopyMemory a range of integer array values to create a string?

    Well, SysReAllocStringLen combines String$ + CopyMemory in one function call.

    OK, so I did some benchmarks and here are the results on my machine (all times are in seconds):

    ...
  20. Re: CopyMemory a range of integer array values to create a string?

    Why bother with CopyMemory when there are API functions that deals specifically with BSTRs?


    Option Explicit

    Private Declare Function SysReAllocStringLen Lib "oleaut32.dll" (ByVal pBSTR As...
  21. Replies
    10
    Views
    972

    Re: [VB6/VBA] Collection keys

    You're right. SysAllocString/SysReAllocString will fail if the string contains embedded vbNullChar(s). In that case, SysReAllocStringLen+SysStringLen should be used.
  22. Replies
    10
    Views
    972

    Re: [VB6/VBA] Collection keys

    There is a more elegant way of getting a string from a pointer. Also, dereferencing that pointer probably isn't really necessary because the KeyPtr member of the VbCollectionItem structure is...
  23. Re: [VB6] Win7 Taskbar Features with ITaskbarList3 (overlay, progress in taskbar, etc

    Olaf posted a VB6 example for ITaskbarList3 a few years back.
  24. Replies
    13
    Views
    462

    Re: Trouble with Ctrl+c

    You might be better off sending WM_COPY and WM_PASTE messages instead.
  25. Re: Show inaktive Form in "Aktive-Style"

    Can you please explain in more detail what you're trying to accomplish? If possible, can you upload some screenshots/illustrations or even better, a small project that demonstrates what you'd like to...
  26. Re: Show inaktive Form in "Aktive-Style"

    By convention, the owner window of a modal window is always shown in an inactive style. This is done to prevent confusing the user as to which window has the keyboard focus. I did try modifying that...
  27. Re: Show inaktive Form in "Aktive-Style"

    Check this out.
  28. Replies
    10
    Views
    565

    Re: [RESOLVED] Run CMD and wait

    I'm well aware of the pitfalls of DoEvents, hence why the m_Busy1 and g_ExitDoLoops variables exists. m_Busy1 ensures only one instance of the function is running at any given time while...
  29. Replies
    10
    Views
    565

    Re: Run CMD and wait

    Apparently, the intrinsic Shell function became Unicode-aware starting with Vista:





    The temporary batch file can be avoided by stringing multiple commands together using an &:

    ...
  30. Replies
    5
    Views
    830

    Re: CPI inflation calculator

    Here's another one of VB6's well-kept secrets.
  31. Re: How To Change Folder Background Color In Windows 7

    If you're going to author your own Aero theme, be aware that it involves more than just writing a .theme file. You'll have to create an .msstyles file as well and reference it in the .theme file. See...
  32. Re: How To Change Folder Background Color In Windows 7

    Actually, as passel already pointed out above, Microsoft did provide a way for users to customize the colors of various Windows GUI elements. I believe it has been available since Windows 95.

    ...
  33. Re: How To Change Folder Background Color In Windows 7

    If you find the High Contrast themes mentioned above to be unsatisfactory, you might want to try more visually pleasing dark Aero themes instead. Just follow the instructions in the links below:

    ...
  34. Re: Orion Belt- a VB add in that formatted code nicely - LOST

    Orion Belt can be found on PSC.



    http://www.planet-source-code.com/upload_PSC/screenshots/PIC2002922453552675.JPG
  35. Replies
    8
    Views
    608

    Re: Change file properties

    Here's another SetFileTime example:
  36. Replies
    6
    Views
    542

    Re: Add image to button

    [VB6] CommandButton with image and text: No UCs, ActiveX, or OwnerDraw/subclassing


    http://www.vbforums.com/attachment.php?attachmentid=113645&d=1399280264
  37. Re: How to get child controls from container control

    Here's a more robust implementation:
  38. Re: How do I get I get OwnerForm from within a form?

    I've added some caveat in my earlier post which I believe is the reason why.
  39. Re: How do I get I get OwnerForm from within a form?

    There's nothing stopping you from implementing such a property yourself:


    Option Explicit 'In frmSecondaryForm

    Public Owner As Form

    If Not Owner Is Nothing Then ...
  40. Replies
    20
    Views
    812

    Re: Short to Long File Names

    You may want to consult the Implementing a Custom File Format topic in the Shell Developer's Guide.
Results 1 to 40 of 207
Page 1 of 6 1 2 3 4



Featured


Click Here to Expand Forum to Full Width