![]() |
| Additional Lap Info Surf City Marathon 2014 |
26.43 @ 8:58 3:57:11 HR 138.1 CAD 91.1 6:34A 51.5F
I got tired of having to paste the summary information. Also, I wanted to include my Training Effect number as well as the calories burned in the summary.
I modified the plugin to include TE and Cal and to replace the string #SUMMARY# in the notes with the actual summary information.
![]() |
| Import Screen - Note the #SUMMARY# |
![]() |
| Zoomed in on Notes |
![]() |
| Confirmation of the change |
![]() |
| After the import |
| Zoom into Notes a little |
I was glad I was able to get the C# code working again. I wrote the plugin in Visual Studio 2010. I no longer use that particular development environment.
Here is how I got it set up.
Production Machine - I run my "sports" activities in a VMware virtual machine (VM). I installed SportTracks and Garmin Training Center on the machine. I have Garmin ANT Agent installed to get the data from my Garmin devices. I also installed Office 2010 on the machine because I plan on retiring a old physical machine that I pretty much use just for my emails. I have been using this VM setup since the middle of September 2013. The data for this VM is actually on the Host machine and is access via a mapped drive. This makes the data readily available even if the VM is not running.
Development Machine - I made a clone of the VM. I mapped the shared drive on the cloned VM to use a different location on the Host machine. This way I will not mess up any live data. I installed Visual Studio 2012 on the development VM. I copied the plugin Visual Studio 2010 project and opened it in Visual Studio 2012. It complained because it could not find the SportTrack references. My old physical machine has 32 bit Windows and the DLLs are down a path in "Program Files". My VM's are 64 bit so the DLLs are down a path in "Program Files (x86)". It was easy to fix. I had a similar issue with the build destination for the DLL. Once the references and paths were fixed everything compiled and worked just fine.
I have used SportTracks for many years. It is a really nice (Windows only) program.





No comments:
Post a Comment