Search results

  1. C

    Integration of DLL with Dependencies

    Please read about crossposts and why to avoid them. Also add link from here to SO Question and vice versa. In c:\windows\syswow64 ? Error raised during regsrv cmd or when access runs? Files don't have the mark of web? User has full permissions on the "C:\Klax\WKNL" folder/files? Or is it...
  2. C

    Integration of DLL with Dependencies

    Show cmdline command! As you most likely use x64 OS, you need to use the SysWOW64 version of regsrv (c:\windows\syswow64\regsrv32). Elevated prompt? Full Paths (not only Filename) enclosed by dquotes? Office is x86? Maybe this helps: Unable to register dll using regsvr32 Windows Eventlogs may...
  3. C

    Solved VBA Function

    Try rubberduckvba, its Code Inspections will give you advice. Also read their blog (you may start with What’s Wrong With VBA? or OOP Battleship, but read them all)!
  4. C

    Solved Change report field value depending on table

    Please post only formated SQL (e.g. format with my link above), as not indendet Code is unreadable (what makes it unreasonable)!
  5. C

    Solved Change report field value depending on table

    @GaP42: Some typos and bad format. I used PoorSQL SELECT tblReservations.ID ,tblReservations.PropertyName ,tblReservations.GuestName ,tblReservations.CheckInDate ,tblReservations.CheckOutDate ,tblReservations.CleaningComments ,tblReservations.STATUS...
  6. C

    GetOpenFile not working in 64Bit Windows 11 under MSAccess 2021

    Found the "secret" Code for GetOpenFile_CLT. If you adapt it correct for x64 VBA (see How to convert Windows API declarations in VBA for 64-bit), it works, but what's wrong with Application.FileDialog (as moke had asked above)? Working x64 Code for GetOpenFile_CLT (only tested with standard...
  7. C

    Solved Export to PDF and Merge Another PDF

    Now retry your code (with same cmd) as it works for me (suprisingly the docs are not wrong ;) )
  8. C

    Solved Export to PDF and Merge Another PDF

    Ok, I beautified my original code (and didn't test it :( ) Try:wsh.Run cmd, 1, 1maybe waitOnReturn isn't a boolean, but an integer (then True is converted to -1) .
  9. C

    Solved Export to PDF and Merge Another PDF

    Use WScript.Shell and the .Run method with last parameter true and your code will pause till merge is finished. No need for user action or a timer!
  10. C

    Solved Export to PDF and Merge Another PDF

    I use PDFtk Server via commandline: Public Function MergePDFDocuments(ByVal pdfMaster As String, ByVal pdfChild As String, ByVal pdfMerged As String) As Long Dim wsh As Object Set wsh = VBA.CreateObject("WScript.Shell") Const pathToPDFtkExe As String = "path\to\pdftk.exe" Const...
  11. C

    Why is it so?

    As guessed button.enabled = false! Enable the buttons to use them.
  12. C

    Why is it so?

    Wrong DB attached? "greyed out" text indicates button not enabled.
  13. C

    Lets Kill the Me. vs Me! sticky or lets rewrite it

    Adding the demo from the-bang-exclamation-operator-in-vba can show what can get wrong, when using Bang. Also adding the explicit .item call, when referencing a collection member may be useful. Overall a hard task to explain this to non programmers, keep working on it (and then the same for...
  14. C

    problem import Access 2016 .accdb table to SQL Server 2019

    Did you read Connect to an Access Data Source (SQL Server Import and Export Wizard) ? If you use SSMS without having SQL Server installed on the same machine, it uses SSMS x86, where you don't see x64 Data Sources. Or try SQL Server Migration Assistant for Access and if Access ist still your...
  15. C

    PDF to Excel using Acrobat/Adobe Library within Access

    What about http://www.vbaexpress.com/forum/showthread.php?66081-PDF-Save-as-xlsx&p=395571 ? Both, Excel and Access, use VBA so code should work with minimal changes in Access too. Depending on Excel is installed too, you have to create an Excel instance and use the worksheetfunction with that...
  16. C

    Solved how to set thumb size for MS form2 scrollbar

    Size can be set by defining Scrollbar.Min, Scrollbar.Max Properties.
  17. C

    recordset movenext does not work.

    And declares rsGuruChants and tb as Variant, what may prevent the unkown property error message. @cheekybuddha: I think we shouldn't show the Bang Operator to beginners, as it can cause errors, if one doesn't know what it does.
  18. C

    Solved how to set thumb size for MS form2 scrollbar

    Why not use a timer with the build-in scrollbar and check if position changed, similar to https://isladogs.co.uk/subform-sync-scroll/index.html ? MS-Forms Scrollbar has a ProportionalThumb property.
  19. C

    Solved Exporting images from MSysResources

    The images are stored as attachments. To access them you need to know that they are stored as a recordset in the "Data" Field of MSysRecources. See Work with attachments in DAO. Sub ExportAttachmentsFromMSysRessources() Dim db As DAO.Database Set db = CurrentDb Dim mSysResources As DAO.Recordset...
  20. C

    Amazon SP-API to MS Accesse VBA

    So why not use them via VBA? E.g. you can run js, php and python code by using the command line via VBA. That should simplify signing/encoding as you can use their sdk. As you need webrequest, you should be aware of VBA-Web, what simplifies using request in VBA. If you open an issue there...
Back
Top Bottom