TBC Macros and Extensions

 View Only

 Referring to older .dll files - ChatGPT

Dave Olander's profile image
Dave Olander posted 03-17-2025 14:57

A searched for 'ChatGPT' here only turned up one post that I submitted a month ago in response to another person's questions, in another forum no less, so I suspect that this is something that has gone un-explored, or at least, nobody has asked for help with it. I'm experimenting with using ChatGPT 4.0 to write a basic TBC Macro to see how it will turn out. The hang-up is ChatGPT seems to want to use dll's that no longer exist. I end up chasing a rabbit down a hole. Two that it gets hung up on are expect to be in Program Files\Trimble\Trimble Business Center:

  • Trimble.Vce.Application.dll
  • Trimble.Vce.Core.dll

I tried to look into the various dll's using Visual Studio to find some objects (?) that it might be trying to use and call to them, to no avail. One problem is that I've never done object oriented coding before, and it has been decades since I did any independent coding at all, which was either in Basic or Visual Basic.

So the questions that I can come up with are:

  • Does anyone have any ideas of some prompts I can use to get ChatGPT to use the right dll's or apk's?
  • Has anyone tried this before?
  • Despite the predictable responses relating to this being a fools errand or too niche to expect an LLM to get right, does anyone have any thoughts on what might help lead to success for some basic tasks?

I've had success using ChatGPT to write applets for basic tasks before, but only in a command-line environment. It also excels (pun intended) at writing vba macros for MS Excel, Word and etc. I recognize that this will be more challenging, but I think I'm not getting hung up on the hard part, unfortunately. If I could just tell it where to call objects, it would probably take me much further. If there were some sort of index for basic objects, I could probably prompt it with that for starters.