This is a migrated thread and some comments may be shown as answers.

VB6 Integration with Analytics

3 Answers 92 Views
Monitor integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Guest
Top achievements
Rank 1
Guest asked on 07 Oct 2011, 01:10 PM
Hi, I've been a long time user of your Profiler and Tracer products and found them to have been helpful beyond measure! I was looking into the possibility of using your Analytics product with our Legacy VB6 application to help improve supportability and performance. I was wondering if Analytics can support VB6 applications? If it can, are there any examples or documentation which show this in practice? Thanks TK

3 Answers, 1 is accepted

Sort by
0
Guest
Top achievements
Rank 1
answered on 07 Oct 2011, 01:10 PM
Hi Tom Sorry for the late reply and thanks for the praises for both the Profiler and Tracer, we're glad you find them useful. We do not have a native VB6 implementation of our monitor library but we do have a COM-enabled monitor (which is basically our .NET monitor exposed to COM with a few quirks) which you should be able to interface with without much trouble. I personally have no experience in VB6 and the interoperability with COM but from a quick googling it seems to be pretty standard as far as I can gather. We do not have any VB6 sample code to show this I'm afraid and since I have no experience in VB6 I don't think you'll benefit from me trying to hack something together. That being said I would really like to help you move forward with an integration into your legacy app. I'll go digging around for some "standard" COM integration and sample code in the begining of next week that you may be able to port somewhat one-to-one and I'll throw you question around the room to see if something sticks. I'll also encourage you to just try stuff out in some sample VB6 app and let us know what obstacles you encounter and we'll try to help you out as best we can. I know you may not have a lot of time for such experimenting but I hope you won't be offended with me asking. Hope this helps in some way. I'll return and update your ticket with anything that comes up over the next week and you should feel free to post back on with any questions or comments that you may have. Best regards Soren EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 07 Oct 2011, 01:10 PM
Hi Tom I just wanted to add that we have recently released a c++ version of our monitor. You should also be able to use this in your VB6 application. I hope this helps best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 07 Oct 2011, 01:10 PM
Hi Tom As promised I'll get back to you regarding you potential integration into a legacy VB6 application. My colleague posted on our new c++ monitor which is another way to integrate, but for this reply I'll stick with the COM integration. You'll be able to download our latest COM enabled monitor here: http://app.eqatec.com/download.ashx?id=965a59c2-48ac-428d-8d53-b32029f504a2 Inside the zip file you download is a ReadMe.txt file that explains how to registered the monitor for VB script and I think that you need to do some of the same from VB6. You should read through the entire file but I've pasted in some of the file below to give you a quick idea of registration and sample use: --- From readme --- In order for the COM intergration to work you should perform open a command prompt with admin privileges in the folder where you unpacked the files: %WINDIR%\Microsoft.NET\Framework\v2.0.50727\regasm.exe EQATEC.Analytics.MonitorCOMFacade.dll /codebase /verbose .... You can access the COM interface using either the registered name (EQATEC.Analytics.Monitor.Interop.AnalyticsMonitorCOM) or the UUID (6FDF6E13-CE1D-4ae5-B198-ED58E28AD87A) to access the interface .... ---------------------------- -- vb script start ---------------------------- Dim object set object = CreateObject("EQATEC.Analytics.Monitor.Interop.AnalyticsMonitorCOM") MsgBox("Created the object.") defaultText = object.GetMonitorInfo() MsgBox("Monitor status : " & defaultText) object.InitializeMonitor "YOUR_PRODUCTID_HERE", "4.3.2.1", "" MsgBox("Initialized.") object.Start() MsgBox("Started.") object.TrackFeature("Hello.World") MsgBox("Tracked Feature.") object.Stop() MsgBox("Stopped. Sample done") -- vb script end --------- From readme --------------- I hope this I'll give you some idea of how the integration would work. You should be able to perform the registration, run the vb script sample with your product id (which you'll be able to generate once you have signed up for the free trial) and see data appear in our client application in your browser. As mentioned before we have no fullfledged example of VB6 integration, but the API of the monitor is about as simple as shown above so the difficulty in integrating into an existing application is almost non-existing. By adding the CreateObject, InitializeMonitor and Start when your application starts and the Stop when the application stops is enough to give you a lot of useful information on platforms, architectures, worldmap, languages, frameworks. By adding additional tracking like the TrackFeature method call above will let you customize even more what to extract. I'll be happy to do a screen-sharing session or something similar if you feel you need some additional guidance in getting things up and running. You should feel free to ask any and all questions that may pop up as you investigate further, I'll be happy to help you as best I can. Best regards Soren EQATEC Team
Tags
Monitor integration
Asked by
Guest
Top achievements
Rank 1
Answers by
Guest
Top achievements
Rank 1
Share this question
or