Search:

Type: Posts; User: Brad.

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Windows 10 Component Registration Issues

    I reinstalled VB6 after re-updating to 22H2 and re-adding IE11 and Hyper-V. The re-install fixed the issue and I am once again able to open my projects. Thanks to all for the suggestions.
  2. Re: Windows 10 Component Registration Issues

    I'm not sure if it was. After removing 22H2 I noticed there are several quality updates that I am unable to uninstall which were installed on the same date. I'm thinking it has to do with one or...
  3. Re: Windows 10 Component Registration Issues

    I updated to 22H2 on 11/2 and installed Hyper-V shortly thereafter. I have now removed 22H2, removed Hyper-V, removed IE 11 and installed the updated common controls per dilletante's post. Issue...
  4. [RESOLVED] Windows 10 Component Registration Issues

    Hi,

    Running VB6 IDE on Windows 10 22H2. Up until a few days ago I was able to open projects without issue. However I now receive errors when doing so.

    The issue appears to be related to some...
  5. Replies
    14
    Views
    1,656

    Re: VB6 ADO GetChunk Method (Type Mismatch Error)

    We use a similar approach when saving a file to the BLOB column using AppendChunk. Wanting to keep our approach as consistent as we can between the two methods would the proper thing to do be to use...
  6. Replies
    14
    Views
    1,656

    Re: VB6 ADO GetChunk Method (Type Mismatch Error)

    This appears to have done the trick while adhering to our original methodology.
  7. Replies
    14
    Views
    1,656

    Re: VB6 ADO GetChunk Method (Type Mismatch Error)

    TypeName(x) = Null
    VarType(x) = 1

    Also just for additional detail nBlocksLeft = 5265.
  8. Replies
    14
    Views
    1,656

    Re: VB6 ADO GetChunk Method (Type Mismatch Error)

    Tried that also, still receiving the same error.
  9. Replies
    14
    Views
    1,656

    Re: VB6 ADO GetChunk Method (Type Mismatch Error)

    Thanks for the additional suggestion but I continue to receive the same error even with that change.
  10. Replies
    14
    Views
    1,656

    Re: VB6 ADO GetChunk Method (Type Mismatch Error)

    Tried your suggestion, still receiving the type mismatch error.
  11. Replies
    14
    Views
    1,656

    VB6 ADO GetChunk Method (Type Mismatch Error)

    Hi,

    Using ADO 2.7 with VB6 to save BLOB data stored in a SQL server table with a column data type of varbinary(MAX) to a file.

    We were using ADODB.Stream to achieve this previously however the...
  12. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    GDILoadPicture is the name of our function. Code below:



    Public Type GdiplusStartupInput
    GDIPlusVersion As Long
    DebugEventCallback As Long
    ...
  13. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    I took a closer look at the process we are using to load the report images. Here are the steps:

    1) Image is stored as file. Image format can be JPG, JPEG, GIF, BMP or PNG. PNG format is not an...
  14. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    Just added a new, blank ActiveReport. Only report-level setting applied was a PrintWidth of 10800. Added native AR image control, manually set Picture property to JPG image present on hard drive. ...
  15. Re: [RESOLVED] WinHTTP.WinHTTPRequest Issue with Send Method

    We haven't made any tweaks to registry ACLs, but we will use Process Monitor to figure out why this recommended approach isn't working in our particular case.

    In the meantime, using...
  16. Re: [RESOLVED] WinHTTP.WinHTTPRequest Issue with Send Method

    Wanted to provide another update. I moved the certificate (and private key) into the Local Machine Trusted Root Certification Authorities store and changed certificate path to...
  17. Re: [RESOLVED] WinHTTP.WinHTTPRequest Issue with Send Method

    The more I'm reading about this issue the more it's looking like non-administrators just are not able to access the local machine certificate store? I admit I'm confused by that because if we omit...
  18. Re: [RESOLVED] WinHTTP.WinHTTPRequest Issue with Send Method

    Just tried changing lStoreFlags to CERT_SYSTEM_STORE_LOCAL_MACHINE Or CERT_STORE_READONLY_FLAG and when I do so the CertOpenStore function returns 0 (for an administrator). If I leave the bitwise...
  19. Re: [RESOLVED] WinHTTP.WinHTTPRequest Issue with Send Method

    Spoke too soon on this. When we incorporated the certificate check into our code, non-admins are now receiving an error when attempting to open the LOCAL_MACHINE\MY store. We are attempting to open...
  20. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    The graphics not contained in the resource file are loaded using GDI+ (as some of them are PNG format), then assigned to a StdPicture variable to enable us to dynamically size the referenced image...
  21. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    I'm the sole developer.
  22. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    It messes everything up. VB6 IDE window scales similar to image problem, menu bar fonts are larger, images which previously didn't have scaling problem now do.
  23. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    Called in the Form_Load event on the form which contains the ActiveReports Viewer control?
  24. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    ActiveReports is an OCX within the program, there is no EXE that runs outside the main process when reports are invoked/shown.

    If a manifest file would go by the name <EXEName>.exe.manifest then...
  25. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    3840x2160 (100% Scaling): Images Appear Correctly
    1920x1080 (150% Scaling): Image Problem Returns
  26. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    1) The application doesn't have a manifest file. I tried creating one using your series of posts on high DPI awareness but I couldn't get it to work (nothing appeared to change application-wise).
    ...
  27. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    We do use GDI+ to load the graphics into the image controls on the reports. How can I find out whether I am using GDI scaling?
  28. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    Happy to do so. How would I go about that?
  29. Replies
    31
    Views
    2,523

    Re: High DPI & Scaling Causing Image Issues

    Yes, ActiveReports 2 is a third-party reporting tool integrated into our application. I only mentioned it because we don't seem to have image scaling issues with graphics in our application outside...
  30. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    Thanks very much to all for the assistance!
  31. Replies
    31
    Views
    2,523

    High DPI & Scaling Causing Image Issues

    Hi,

    In our VB6 application we use ActiveReports 2. When running our application on a screen with 3840x2160 resolution (and 150% scaling) the images on the reports appear smaller than they should...
  32. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    Thanks so much! How could I modify this to check the certificate's validity (meaning not past expiration date)?
  33. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    Parameter value used for SetClientCertificate method is "LOCAL_MACHINE\MY\CertificateName". Also, could you clarify your edit:

    Edit: Apparently CryptAcquireCertificatePrivateKey does *not* check...
  34. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    Figured it out. The certificate private key was missing relevant permissions for 'Everyone'.

    The curious thing is that the permissions were there previously and I don't know what caused them to...
  35. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    I was combing through the Event Logs this afternoon and found something:

    Keywords: Audit Failure
    Source: Microsoft Windows Security Auditing
    Task Category: System Integrity

    Cryptographic...
  36. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    I can confirm TLS 1.1 and TLS 1.2 are enabled and working on the server. I understand the facts are certainly odd, but after testing again I can confirm the Send call works for administrators, but...
  37. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    This certainly is odd. The feature worked, without issue, for administrators and non-administrators for years until a few weeks ago (as far as we can tell). The accounts do have network access...
  38. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    Thanks for the reply. I created a new user without administrative access and I'm still seeing the same error. As well, we don't use late binding for the WinHTTP object. We use it thus (abbreviated...
  39. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    Any advice on how to unravel? This is a foreign problem to me.
  40. Re: WinHTTP.WinHTTPRequest Issue with Send Method

    Yes our VB6 application is compiled on a machine running Windows 10.
Results 1 to 40 of 121
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width