Search:

Type: Posts; User: chrislong2

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Re: API structure needing unsigned long to pass a large value

    Thank you to both of you! It turned out as per the info fafalone gave that I was worried for nothing. I was assuming that my API call was failing because of that long problem when that wasn't it at...
  2. [RESOLVED] API structure needing unsigned long to pass a large value

    Ok everybody, I'm stumped.

    I've got an API call I'm making that has as its first member of its data structure an unsigned long. The value I need to pass needs to be 4 bytes and the value I need...
  3. Re: Windows 11 VB6 Combobox Styling issues

    It's the same exact issue I saw. And I decided since ultimately the issue is because there's something quirky about the frame control (it had problems on XP too with theming option buttons), that I...
  4. Re: CommonControls (Replacement of the MS common controls)

    Just a note of a problem (or perhaps just a "quirk"?) with RichTextBox: if you assign Unicode text to the RTB that is outside of the Unicode BMP (i.e. UTF-32 charcodes > 65535) while the characters...
  5. Re: CommonControls (Replacement of the MS common controls)

    Because I messed up in what I posted. lol So sorry! When I was copying/pasting, I copied the code from the wrong place and mistakenly copied code I was "working on" trying a few months ago. It...
  6. Re: CommonControls (Replacement of the MS common controls)

    I didn't actually use it as RTF mode. I just never set the text mode to text only so it stayed on the default RTF mode. The text I was assigning to the box was straight text and didn't use RTF. ...
  7. Re: CommonControls (Replacement of the MS common controls)

    Thank you Krool! I was not setting the text mode to plain text even though I wasn't using it for RTF. I don't remember why I didn't set it, though I have noted that text assignment for larger...
  8. Re: CommonControls (Replacement of the MS common controls)

    Hi Krool,
    So I have been using RTB from previous update and I have been experiencing RTL issues.
    Consider a command button with this code:
    RichTextBox1.RightToLeftMode =...
  9. Re: Windows 11 Combo Box on frame themed ghosting

    The above sample works fine on XP. This issue is observed on an app that runs on everything from Win95 to 11 and has existed for 20+ years and has looked correct on XP, Vista, 7, 8, 8.1, 10, but now...
  10. Re: Windows 11 Combo Box on frame themed ghosting

    Ok, I spent a little time investigating and producing sample project with attached screenshots. By moving the mouse over the combo boxes (and over other text and checkboxes and then onto the combo...
  11. Windows 11 Combo Box on frame themed ghosting

    Wanted to see if anyone else has seen this or can verify. On Windows 11, with my longtime app that has combo boxes and check boxes on a frame (all standard MS controls), where the app is also using...
  12. Re: CommonControls (Replacement of the MS common controls)

    Hmm, maybe, tho I wonder why anyone would want to do that.
  13. Re: CommonControls (Replacement of the MS common controls)

    I understand and certainly MS is certainly the ones to generally follow for guidance, but I've seen that code before and I'm almost certain it is wrong. Adding the physical width offset to the...
  14. Re: CommonControls (Replacement of the MS common controls)

    Hi Krool,

    Thanks! I am sorry for late response and I see you issued an update. Okay, first things first. In testing again today, I see that I made a stupid mistake when I was previously...
  15. Replies
    24
    Views
    7,620

    Re: LoadIconWithScaleDown vs. 32x32 images

    Thanks for the reply! :) The strange thing is that it's only happening on one of my forms. And yet I've gone through property by property in comparison with other similar forms and there's no...
  16. Replies
    24
    Views
    7,620

    Re: LoadIconWithScaleDown vs. 32x32 images

    Hi Dilettante, did you ever figure this out? I just ran into this where my icon with LoadResPicture is displaying on my form's title bar with a black background when DPI is at 120 instead of 96.
  17. Re: CommonControls (Replacement of the MS common controls)

    Hi Krool,

    Sorry for the late reply.

    1) Tes, I can confirm that the Aug 10th update fixes the amount of text allowed issues (including where changing scrollbars would reset).

    2) Regarding...
  18. Re: CommonControls (Replacement of the MS common controls)

    Yeah, I've seen notepad buckle under large docs too, but not usually till you get to many MB's. 65K is a small amount. But I agree with your overall point.

    Anyway, it's fine. In line with what...
  19. Re: CommonControls (Replacement of the MS common controls)

    I appreciate that, but 65kb isn't all that large at all (I have several text documents over that), and yes, many programs including Notepad do try to load it all at once. In any event with my...
  20. Re: CommonControls (Replacement of the MS common controls)

    Thanks for the reply! :)
    1) Ok, so I set MaxLength to a really high number and it works for the initial load of text (I can now type beyond 65k), however, as soon as I change scrollbars (to...
  21. Re: CommonControls (Replacement of the MS common controls)

    First, thank you so much for your work with these controls - much appreciated!

    A few major bugs with the RichTextBox control:

    1) It it is limited to 65k text! It can load more than this but...
  22. Re: [VB6] Use IFileOperation to replace SHFileOperation for modern Copy/Move box/prom

    Thanks so much fafalone!! :) :)
  23. Re: [VB6] Use IFileOperation to replace SHFileOperation for modern Copy/Move box/prom

    Thank you so much for the explanation! :) I don't have VC6 installed anymore so am not easily set up to create a TLB and I don't really need the callback function so I'll just wait for your version...
  24. Re: [VB6] Use IFileOperation to replace SHFileOperation for modern Copy/Move box/prom

    Hi fafalone, First - THANK YOU for this! :)

    I am not actually using the class, but took out the necessary parts I needed to do a basic move operation and it works fine. However, both my code and...
  25. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    Well, .NET has a lot going for it and in many respects is a great choice. But VB6, even 18 years later, still has some significant pros compared to .NET and sometimes is arguably the better choice...
  26. Re: Classic VB - Does Visual Basic 6 support Unicode?

    Just a note that the code Elroy posted does seem to work and obviously is a real easy way to get Unicode to display. :) But the catch is that as soon as you theme your compiled EXE to Common...
  27. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    Thanks fafalone! Yes, I'm a bad, bad coder - I frequently don't declare my variables when I use them for simple things like For loops. I know lots of people frown on that, but I don't care - they...
  28. Re: [VB6] Modern Shell Interface Type Library - oleexp.tlb

    First, thanks for this.

    However, there's a rather quirky problem:

    Brand new project. Add the reference to the TLB.

    Now in your Form Load add the following:


    For z = 1 to 2
  29. Re: Help with this API declaration/call please?

    You know what?

    You were absolutely right and that was exactly the problem! I saw your VarPtr(0) and put that in code even though I knew that wasn't going to do anything since 0 wasn't a variable....
  30. Re: Help with this API declaration/call please?

    Thanks for the thought on that. I noticed that about the pdwIndex too, but the notes on the msdn page say that it is a reserved value and MUST be 0. Though just for kicks I tried it with VARPTR(0)...
  31. Help with this API declaration/call please?

    Hi,

    I'm trying to implement a simple Win32 API call. I've done lots of API stuff before but this one for some reason is causing me trouble (I've recently been working in C# and actually was...
  32. Replies
    30
    Views
    10,682

    Re: [RESOLVED] Check if tasks exist

    No, it came out of my own task scheduler module. But Sam posted a worthwhile link showing how you could access the task information via the same scripting object - I hadn't really even read the...
  33. Replies
    30
    Views
    10,682

    Re: Check if tasks exist

    Actually, it already had it. I posted that exact same piece of code about 2 weeks ago to someone asking this same question. :) See http://www.vbforums.com/showthread.php?779867-scheduled-task
    ...
  34. Replies
    30
    Views
    10,682

    Re: Check if tasks exist

    This function below is direct from one of my major projects that I happen to already have open right now that heavily uses the task scheduler 2.0 service (Vista+), It's terrible code, but it works...
  35. Re: CCRP FolderTreeview Unicode replacement?

    Thank you Olaf for the suggestion - appreciated. However, that control is extremely complex, requires C++ runtime, has dependencies on several other of his controls in order to get the shell...
  36. CCRP FolderTreeview Unicode replacement?

    Hi all,

    Been using the CCRP FolderTreeview control for several years which works well for browsing folders. But it doesn't support Unicode. I am aware of SHBrowseForFolderW but that forces it's...
  37. Replies
    1
    Views
    1,077

    Re: scheduled task

    Assuming you are referring to Task Scheduler 2.0 (the one in Vista and later), just try to get the task object of the task name in question. If it errors, you know it likely doesn't exist. I...
  38. Re: CLSID in registry for 32 bit dlls are not getting created in WIN 2008 R2

    dilettante is right on here. The issue is one of deployment. As he mentions, just trying to put them in same path and hope for the auto-registering always was very iffy and is much more so now. ...
  39. Re: V6: Abort Program During Form Load

    That means what it says - you can't name your .bas file Main. Name it something else like modStartup.bas
    Then in that .bas is where you put the Main sub as discussed earlier. From that main sub...
  40. Re: same OS, same regional settings, different boolean value localization

    Another thought: MS made changes in the behavior in this area with msvbvm60.dll (the main VB6 runtime) circa SP3. So I would suggest you compare the versions of msvbvm60.dll on the servers. ...
Results 1 to 40 of 52
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width