Search:

Type: Posts; User: Steve Grant

Page 1 of 13 1 2 3 4

Search: Search took 0.21 seconds.

  1. Replies
    11
    Views
    302

    Re: Error Accessing system registry

    The only time I ever saw the "Method of object failed" error was when having the CodeHelp addin start with VB. I personally found CodeHelp a bit flaky and stopped using it. No more error!
  2. Replies
    43
    Views
    2,953

    Re: [RESOLVED] picturebox upsidedown-gradient

    @ The Trick. This seems to be very fast with little code. Could you please show me how to do a vertical gradient of just 26 pixels x scalewidth between &HD98468 & &H700000. Many thanks.
  3. Replies
    8
    Views
    587

    Re: Need help with scrollbars please

    Indeed so, I run my IDE manifested.
  4. Replies
    8
    Views
    587

    Re: Need help with scrollbars please

    I thought I remembered this. So I put a scrollbar on a form and right clicked it;
  5. Replies
    3
    Views
    290

    Re: Drag form with image on top

    Private Const HTCAPTION As Long = 2
    Private Const WM_NCLBUTTONDOWN As Long = &HA1

    Private Declare Function ReleaseCapture Lib "user32" () As Long
    Private...
  6. Replies
    16
    Views
    5,024

    Re: VB6 cGdiPlusCache.cls revisited

    Private Function GetImageType(sFileName As String) As String
    Dim bBuf(20) As Byte, FF As Integer

    GetImageType = "UNKNOWN"

    FF = FreeFile
    Open sFileName For Binary...
  7. Re: OpenThemeData For Getting Background Color Of Context Menu Item ? (uxtheme.dll)

    I don't know if it might help but that colour is &HF7C991.
  8. Replies
    3
    Views
    249

    Re: looking for vb6idemousewheeladdin

    Here you go. Put the dll in the windows folder as it is more reliable. For me syswow64 often leaves me with no mousewheel.
  9. Replies
    7
    Views
    469

    Re: CopyMemory ByVal\ByRef confusion

    Hi Jaafar, I can't answer your question directly but I can point you to a much more efficient way of converting a pointer to a VB String.


    Option Explicit

    Private Declare Function...
  10. Replies
    7
    Views
    480

    Re: VBRichClient Image sizing

    Both of you have come up trumps! With CAIRO_FILTER_BEST I can't see the difference either.

    So in order to rid myself of the GDI+ module;

    1) How to get the original image dimension?
    2) How to...
  11. Replies
    7
    Views
    480

    Re: VBRichClient Image sizing

    Very many thanks Olaf. I have compared the RC6 method against the GDI+ and feel the latter is slightly better at this size (300 x 300). Could you have a look?

    Indeed I invite anyone who sees this...
  12. Replies
    7
    Views
    480

    VBRichClient Image sizing

    Like a lot of others I am trying out RC6. The FSO replacement is amazing and it would really help to know if I can;

    Load an image file.
    Resize said image at very high quality whilst maintaining...
  13. Replies
    40
    Views
    2,317

    Re: Drawing on the screen

    Just to make sure, you did remove the form from the project before creating the exe from the bas module?
  14. Re: VB6: listbox run-time error 380

    Option Explicit

    Private Sub Form_Load()
    Dim J As Long
    For J = 1 To 4
    List1.AddItem Choose(J, "A", "B", "C", "D")
    Next
    End Sub

    Private Sub List1_Click()
  15. Replies
    40
    Views
    2,317

    Re: Drawing on the screen

    Ok I've tried with the new version and the first thing I noticed was the Yellow square was hiding behind the IDE. You could just see the thinnest Yellow line. Moving the IDE down and removing the...
  16. Replies
    40
    Views
    2,317

    Re: Drawing on the screen

    Sam, in the IDE the squares remain visible until I dismiss the msgbox. Is that not true for you?
  17. Replies
    40
    Views
    2,317

    Re: Drawing on the screen

    I just took your posted code and put it into a module. It worked exactly as outlined above. Why don't you explain what it does on Win7 so we can compare. I run my VB6 SP6 with no compatibility...
  18. Replies
    40
    Views
    2,317

    Re: Drawing on the screen

    Works fine for me in the latest 21H1 build. In the IDE the squares disappear when End is reached. Compiled the squares stay visible until I right click the desktop and select Refresh.
  19. Replies
    18
    Views
    1,287

    Re: Very Nice,Transparent user control by vb6

    You didn't include any of the test images in the zip file.
  20. Re: vb6 Fast ReadLine,QuickSplit(Like streamReader.ReadLine)

    Done! Many thanks.
  21. Re: vb6 Fast ReadFile, ReadLine,QuickSplit(Like streamReader.ReadLine)

    @SearchingDataOnly You didn't prepend VBA to the split in slurp-n-spit thus it was using Merri's fastest split.

    Are we convinced about the data integrity of Xiaoyao's method?
  22. Re: vb6 Fast ReadLine,QuickSplit(Like streamReader.ReadLine)

    Thanks Olaf I was worried that with all the noise being caused by xiaoyao you might not see my post.

    On my system your split comes in at approx 2mS slower than strings.bas (IDE or compiled) but is...
  23. Re: vb6 Fast ReadLine,QuickSplit(Like streamReader.ReadLine)

    I noticed that you were not using the fastest of Merri's splits. The one I use 'Strings2.bas can be found here https://www.vbforums.com/showthread.php?540323-VB6-Faster-Split-amp-Join-(development)...
  24. Re: I need help with getting the hex Ref of this colour, in the graphic attachment.

    &hf0f0f0 rgb(240,240,240)
  25. Replies
    15
    Views
    1,821

    Re: Neumorphism Design

    Hi Leandro, unable to download either of the 2 files listed. Edge just shows a white screen.
  26. Replies
    42
    Views
    3,662

    Re: CDO.Message Problem

    The error shown usually happens if not running VB6 as administrator. Go to the exe, right click /properties/compatibility. check run as administrator.
  27. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Hi just seen your message but I am very short of time. Do the following, if this doesn't work you will have to zip up your entire code and post it for fafalone to look at.

    In declaration section...
  28. Re: [VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive feature

    Entry point errors such as this are almost always caused by not having a Common Controls 6.0.0 manifest for the IDE and, when compiled, for the exe.

    Here is a very simple manifest that you can put...
  29. Re: 3031 'Not a valid password' when compiled, works in IDE

    Could it be that you are running the IDE elevated but not the compiled exe? As a test try running the exe elevated.
  30. Thread: MMM error

    by Steve Grant
    Replies
    23
    Views
    1,363

    Re: MMM error

    No RES files must be exactly divisible by 4 no matter how they are created. I have taken the liberty of attaching my Standard.RES file.
  31. Thread: MMM error

    by Steve Grant
    Replies
    23
    Views
    1,363

    Re: MMM error

    Hi Daniel, I use the CodeJock controls including the skin framework all the time without any issue with my res file.

    However I have seen that exact error when the res file was not exactly...
  32. Re: Getting the ball rolling. Which VB6 projects are you working on?

    Until I retired I was the Chief engineer at Omnex Pro-Film in Manchester even though I live in Essex. Quite early on I realised the need for an accurate tool to calculate projection rake, porthole...
  33. Re: Getting the ball rolling. Which VB6 projects are you working on?

    As requested, here is a screenshot of LensCalc.
  34. Re: Getting the ball rolling. Which VB6 projects are you working on?

    I have many programs out there. Including Lens & Screen designer for the Cinema Industry. Plus a couple of free programs aimed at Hospital/Student Radio.

    Below is an image of the DJ version. All...
  35. Replies
    20
    Views
    1,363

    Re: Help converting code

    Alexander the Namespace is the folder where you have your music track with a backslash inside inverted commas inside parenthesis. Example ("E:\Music") < there is a backslash here that the forum keeps...
  36. Replies
    20
    Views
    1,363

    Re: Help converting code

    Well the Block variable is not set if you don't use all the code. I've just re-checked and the code I posted is correct and complete. No references.


    Obviously the Namespace must point to your...
  37. Replies
    20
    Views
    1,363

    Re: Help converting code

    That is a lot of code, why not let windows do the work. This applies for all supported formats and of course Windows 10.


    Dim X As Currency
    With...
  38. Thread: FYI: Adios

    by Steve Grant
    Replies
    60
    Views
    4,462

    Re: FYI: Adios

    The VB world would be less without you. Many thanks and good fortune.
  39. Replies
    9
    Views
    914

    Re: Help with iniFile

    This is the closest I have.

    UAP & "MM.ini" is the name of the file I want to write to. You will have to do a 'little' work.


    Private Declare Function WritePrivateProfileString Lib "kernel32"...
  40. Re: [VB6] TaskDialogIndirect - Complete class implementation of Vista+ Task Dialogs

    Be careful with VKuserControls they only partially support Unicode. The textboxes for example do not. I have also found that those controls are not as stable as I would like on Win10
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width