I have some legacy script in VBA, which is running in ArcMap document. It starts after pressing a button in a blank map document and saves results in a gdb. I am scripting in C# and I am not very familiar with VB, so I rather do not change much there. I am building now a web mapping application on ArcGIS Server Workgroup and I need to connect this VBA script to a button on the web page. I assume that the way to do this is to turn this script into feature service and consume this service inside my web application. Any ideas how exactly to do it?