Hehe, Chris
First, thank you for your comment.
No,no, let me explain a little bit more.
Microsoft Azure - Application Insights is used for collecting telemetry data from servers, webpages, .NET applications,...
Data like Page visits, Errors, Events, Custom Metrics.
I have created a utility that brings this features to VBA projects (like Excel Workbooks, Access projects, Word documents, Powerpoint presentations, ....) and if we could make it work, also we could use this in vb6.
So if a developer wants to track his application, for example:
1. Track a specific Event, for example Workbook Open event, he puts 1 line of code into Workbook_Open event:
Code:
Private Sub Workbook_Open()
TrackEvent "WorkbookOpen"
End Sub
Or if you want to track Workbook_BeforeClose event:
Code:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
TrackEvent "WorkbookBeforeClose"
Flush
End Sub
And if you have installed on your users computer the VBA Telemetry client (for example you include it with your installation package). This VBA Telemetry client sends this data to your Azure portal, and you can see it.
Attachment 149975
Attachment 149977
2. Track Errors. In your desktop appplication you have your Error Handling routines. If you want to see this errors in real time, exactly when they occur, in your Azure portal then you can insert 1 line of code into your error handler (TrackError) for example:
Code:
Error_Handler:
MsgBox Err.Description, vbCritical
TrackError Err.Description, Err.Number, "CommandButton1_Click"
If there is the VBA Telemetry client installed on this computer and you put this line of code into your error handler:
Code:
TrackError Err.Description, Err.Number, "CommandButton1_Click"
You will see this error in your Azure portal in real time, exactly when it occurs.
Attachment 149985
Attachment 149991
Attachment 149993