User Profile

Collapse

Profile Sidebar

Collapse
GazMathias
GazMathias
Last Activity: Sep 14 '22, 08:42 AM
Joined: Oct 8 '08
Location: Bristol, United Kingdom
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • GazMathias
    replied to My hovers disappeared
    Hi,

    In the future you might want to consider implementing a version control system, so that when the unexpected happens you can compare the files to see what's changed (called diffing) and recover files to earlier states.

    The diffing operation in particular would reveal any non manifesting syntax errors you did not know you accidentally created by highlighting the lines purely because they are not the same, which is...
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to Keeping Track of New Records
    Hi markld68,

    I understand what you're saying and what you want but I do not understand the reasons behind the requirement or its real world use case.

    I have questions about the following:

    Why is there a numberOfPeople count and not a collection of records that represent those people?

    What does the NumberOfPeople count represent? Patients, Counsellors? The number of times the record was 'viewed'?...
    See more | Go to post

    Leave a comment:


  • mod_rewrite

    Hi,

    I think you are referring to URL rewriting. In PHP it is common to make use of Apache's mod_rewrite for this functionality.

    I won't go into detail here as there are a great many tutorials that can explain it better than I can but a basic explanation of the simple implementation in your question would see a user visiting https://mywebsite.com/article1, but would be translated by the rewrite...
    See more | Go to post
    Last edited by GazMathias; Feb 14 '22, 11:10 AM. Reason: typo

    Leave a comment:


  • Hi NeoPa,

    This is TypeScript (which 'compiles' to Javascript).

    To the OP - only tips I can give you are to inspect your values to ensure they are correct and verify your code is sound when compared to the requirements of the API documentation. If they have a testing server and API with examples then try them first and adapt your strategy,

    Gaz
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to Many many to many headscratchers
    Hi NeoPa,

    Granted! I suppose I didn't read it the same way you did.

    Gaz
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to Many many to many headscratchers
    Hi all,

    I'd like to pipe in to this and any future discussions with my experience dealing with items that must be connected loosely to multiple other items.

    I have tackled this problem many times before by using key pair tables.

    Example:

    T1
    T1ID, Interesting columns....

    T2
    T2ID, Interesting columns....

    T1_T2
    [Key], T1ID, T2ID...
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to write a program
    in C
    Hi,

    I find it hard to believe that you would be given the tasks of iterating over and manipulating arrays like this without covering them in some way first in your coursework / training material.

    Iterating over and working with arrays and other multi-valued data structures are a core aspect that you must grasp if you are going to proceed with any kind of programming so I suggest you take a look at the wealth of array...
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to mysqli prepared update
    Hi,

    What error messages are you seeing?

    From what you have posted I can see that amtpaid, hudpay and datepaid are not declared and you have set duedate to 'duedate'.

    Gaz
    See more | Go to post

    Leave a comment:


  • Hi Andrew,

    Great!

    You can probably forget about the system file check now, since its solved.

    Gaz
    See more | Go to post

    Leave a comment:


  • Hi Andrew,

    Try 'sfc /scannow' as admin (again hit Start, type CMD, right click "Command Prompt" and click Run as Administrator).

    Gaz
    See more | Go to post

    Leave a comment:


  • Hi Andrew,

    No. My setup is different to yours - pretty sure 2007 didn't have ClickToRun.

    What I showed here is how calling the black box that is SendObject gets to Thunderbird in my config, but there should be common steps in yours.

    If I had to resolve such a problem personally I could verify that the resolution is happening by comparing a known bad stack trace either to a known good one on another computer...
    See more | Go to post

    Leave a comment:


  • Hi,

    I ran a trace on my VM anyway to work out what's going in the call stack. Here's the interesting parts:

    MAPI32.DLL (C:\WINDOWS\SYS TEM32\MAPI32.DL L) v1.0.2536.0 @ MAPISendMail
    MAPI32.DLL (C:\WINDOWS\SYS TEM32\MAPI32.DL L) v1.0.2536.0 @ FGetComponentPa th
    RegQueryValue HKCU\SOFTWARE\C lients\Mail\(De fault) -> REG_SZ Mozilla Thunderbird

    bizarrely:

    RegQueryValue HKLM\SOFTWARE\M icrosoft\Office \ClickToRun\REG ISTRY\MACHINE\S oftware\Clients \Mail(Default)...
    See more | Go to post
    Last edited by GazMathias; Oct 28 '21, 08:02 PM. Reason: Typos

    Leave a comment:


  • From memory the issue was with TLS 1.2 via On-Premesis Exchange 2010. We no longer maintain any systems that need to send email via COM objects now.
    See more | Go to post

    Leave a comment:


  • We used CDO a while back but TLS over 587 became a deal breaker. We ended up COM wrapping System.Net.Mail .MailMessage instead since we used it in .Net anyway.

    Now everything seems to be going the o365 route we either have to talk to Outlook or send out though the o365 Exchange direct on 587 smtp.office365. com, but the Mail Flow settings have to have the IP definded as a send connector.

    Email continuity is a big factor...
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to Is MS Access Worth Learning in 2021?
    I guess Access is low down in their wishlist priorities - just take a look at the what's new in 2019 post!

    Otherwise we would already have designer zoom, native sqlserver functionality, a better IDE, MDI, proper ways to package and deploy, etc...

    I don't want to put the OP off, it is still a fantastic piece of software.

    Gaz
    See more | Go to post

    Leave a comment:


  • Hi.

    What is your expectation from this answer? Do you want high level guidance or someone to write the program for you?

    Have you written any code so far?

    If not already, you may want to look at System.Drawing. Graphics and System.Drawing. Bitmap.

    What label printer are you using and are you familiar with its API?

    Gaz
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to Is MS Access Worth Learning in 2021?
    Yep - I use it often for such tasks. Seriously though, the designer should have this functionality built in so the property sheet and the rest of the controls remain the same.

    Up to probably Office 2013 It wouldn't have been difficult to render everything to a surface first, scale that, and swap it though I admit complexity comes when a user interacts with controls but its not so different to what they already did in almost every...
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to Is MS Access Worth Learning in 2021?
    That's pretty cool, but as I'm sure you're aware I was specifically referring to the report designer.

    Gaz
    See more | Go to post

    Leave a comment:


  • Hi Andrew,

    I don't know what to tell you.

    A quick n dirty SendObject test worked for me using the 365 version of Outlook O2K16 on Windows 10 21H1 and I had to set no additional references to do so.

    Admittedly, I do not use SendObject (or MAPI in general) as our projects usually dictate Outlook automation or SMTP connections to Microsoft Exchange servers over SSL in .NET land.

    If I were confronted...
    See more | Go to post

    Leave a comment:


  • GazMathias
    replied to Disable Print Button
    Hi Darius9023,

    Unfortunately, you have not painted a very clear picture. I can guess what you are trying to achieve though.

    Do your records have a printed flag?

    If they do then whatever routine is actually responsible printing should be amended to respond to that flag:

    This is kinda how I would do it:

    >>PrintButton.C lick
    For rows
    Store ID in array...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...