Tracking button click in production environment (winforms)

Hi All,
We have released a new module in a winforms application and wanted to check how popular it is.
We have not coded to track the amount of time that module is used. Is there a way to check in production how many times a button is clicked ?
Is there a tool to track the usage of certain module / button ?
Is there an inbuilt technique in windows 7/8 where I can check the logs of controls being used ?
Thanks,
AJ

Hi All,
We have released a new module in a winforms application and wanted to check how popular it is.
We have not coded to track the amount of time that module is used. Is there a way to check in production how many times a button is clicked ?
Is there a tool to track the usage of certain module / button ?
Is there an inbuilt technique in windows 7/8 where I can check the logs of controls being used ?
Thanks,
AJ
I am afraid that there is no such bulit-in feature to track the usage of certain control or event.
But you could consider the logging framework http://stackoverflow.com/questions/11409264/winforms-logging-framework
Or log it to file or database inside the click event handler.
remember make the reply as answer and vote the reply as helpful if it helps.

Similar Messages

  • WPF report viewer throws exception when print button clicked when hosted on winform

    When hosted in a winform app the wpf report viewer control throws an exception when the print button is clicked.
    All the other buttons appear to work, any ideas on a work round?
    I have created a sample VS 2013 solution that shows this issue
    As I can't even attach a renamed zip file it can be downloaded directly from here: http://1drv.ms/QxUrZo
    The reason I am attempting to use this control is that the standard reportviewer causes occasional errors in citrix enviroments causing the citrix session to lock up.  This appears to be a relatively common issue and the usual issue of both sides (citrix & crystal) blaming the other for the cause and me the developer needs to find a work round.
    I've 'bodged' in an additional button on our app to export a loaded report to file as pdf then print it but this should not be the permanent resolution.
    BTW glad to see the x64 dynamic parameter issue has been fixed at last, think I reported this over two years ago and again ended up having to work round it.

    Hi Ludek
    A sample project that loads a simple report is available from here: http://1drv.ms/QxUrZo
    The project is called WPFReportHost
    This loads a simple report when run then you can test the basic functionality of the viewer and all will work until you press the print button and then you get the application crash.
    Have to improve my search technique when I googled for other people having this issue I didnt' find the link.
    We've noticed the WPF viewer loads considerably faster and has better functionality than the winform viewer and hope that it might solve the citrix preview issue (yet to be tested).
    So as a work round we've hidden the default print button added our own and call the report print directly as per below:
    using (PrintDialog dialog = new PrintDialog())           
         dialog.AllowCurrentPage = true;
         dialog.AllowSelection = true;    
         dialog.AllowSomePages = true;
         dialog.AllowPrintToFile = true;
         if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)                     {
              reportDocument.PrintToPrinter(                         
                   dialog.PrinterSettings,                         
                   new System.Drawing.Printing.PageSettings(dialog.PrinterSettings);
                    false);                   
    Would be nice to have a fix

  • Tracking button clicks viewable in google analytics?

    Hello! I'd like to be able to track how many people clicked the 'learn more' button within my animation, and then how far along they got in the animation. Ideally, I'd love for this information to appear in my google analytics, but any useful output would be a huge help!
    Any advice? Here's the animation: http://www.insightpd.com/what-we-do/
    I'm just using simple symbols that control the timeline, nothing fancy. The leanr more button on to get it started, and then the 'button' on the left to advance through the show are the ones i'd love to track.
    Thanks in advance for your time!
    Lee

    Check out sarah's blog here:
    Here's a guide on it. Would you like some statistics with that? « Adobe Edge Animate Team Blog

  • Need help placing tracking script on button click

    Howdy.
    We're trying to track the button clicks on a landing page we're producing. I've got the "landing page" script in the header via the page properties but now I need to put script on a button that fires when the person clicks the button. Any help would be greatly appreciated!
    website: maysweb.tamu.edu/open-enrollment
    script:
    <script type='text/javascript'>
    // Conversion Name: Finance & Accounting - Non-Finance Managers button
    var ebRand = Math.random()+'';
    ebRand = ebRand * 1000000;
    //<![CDATA[
    document.write('<scr'+'ipt src="HTTP://bs.serving-sys.com/Serving/ActivityServer.bs?cn=as&ActivityID=1&rnd=' + ebRand + '"></scr' + 'ipt>');
    //]]>
    </script>
    <noscript>
    <img width="1" height="1" style="border:0" src="HTTP://bs.serving-sys.com/Serving/ActivityServer.bs?cn=as&ActivityID=1&ns=1"/>
    </noscript>

    Anyone got any ideas on this?

  • Special caharcters in Production environment

    Hello Experts,
    I am facing a problem in the jobstream monitoring:
    Problem faced:
    Some one allowed the special cahracters in production environment. I know the resolution of the problem but I need to track the user who made these changes in the system. Is there any possibility to identify the user who has changes the settings ins the transaction RSKC
    Thanks and Regards,
    Suresh

    Hi suresh,
    You can try this way,
    go to metadata repository(under RSA1), go to the required object type (Transformation, update rule etc), find your required object and double click on this.
    This will give you the last changed by information.
    Regards,
    Srinath.

  • Export/Copy .rpt files from Production environment

    I'm new to Crystal Reports. I'm using Crystal Reports 10. I urgently need your help with the following:
    We inherited 140 reports from another department. The version control was not done well in that department. Now we canu2019t trust the versions on Visual Source Safe.
    We decide to pull, or export, the .rpt files from Production environment and put them in VSS.
    I understand that I can go to the CE Management Console, open each report, preview and save them in .rpt format. But I have to change the name later from a default name and save the .rpt without data. We have 140 reports. It would be very time consuming, and big risk of mistakes.
    The way we publish a report is: open the u2018Balance.rptu2019 from a local project folder, save as, click Enterprise button, and sign on the CE. From there I can see folders on Console to save the report.
    My question is: Where I can find these .rpt files in Production environment? How can I save/export all the reports together to my folder u2013 not one by one? If there is a tool to do it?
    For the example above, anybody knows where this u2018Balance.rptu2019 is saved? Once the report is published, the name seems changed in file strorage.
    Thank you very much for your help.
    Linda

    Post your question to the Business Objects Forum

  • Very Urgent! Print Report output to local printer on button click in form

    In Sales Order Form there is a print receipt button. In current situation On Clicking the 'Print Receipt Button' it submits a XML Publisher report(PDF output) to the concurrent manager. Currently to print that report i need to go view--> requests--> view output and then print. According to my new Requirement i need to print that report directly to local printer on one simple Print receipt button click in form.
    I am trying to call the printers on server using custom.pll. The report is running successfully but it is not printing output to the local printer. I need to print the report to the local printers based on responsibility. Local printers are available on apps server. Can anyone help me on this issue ASAP.
    Is it possible to print the document using custom.pll? Is there any other alternative to print the report on simple button click in form.
    Environment: Apps 11.5.10.2, Forms 6i
    Here is the code that i am using in my custom.pll.
    if (v_form_name = 'OEXOETEL' --and v_block_name = 'LINES_SUMMARY'
         and name_in('parameter.ACTIONS') = 'PAYMENT_RECEIPT' )THEN
    l_organization_id := Name_In('PARAMETER.OE_ORGANIZATION_ID');
    l_order_header_id := Name_In('ORDER.header_id');
    select to_number(oe_sys_parameters.value ('SET_OF_BOOKS_ID')) into l_sob_id from dual;
    xml_layout := FND_REQUEST.ADD_LAYOUT('XXAFP','XXAFPOEXPMTRCRTF','en','US','PDF');
    select a.profile_option_value
    into v_printer_name     
    from fnd_profile_option_values a
    , fnd_profile_options b
    , fnd_profile_options_tl c
    , fnd_user fu
    where a.profile_option_id = b.profile_option_id
    and c.profile_option_name = b.profile_option_name
    and fu.user_id (+) = a.level_value
    and c.language = 'US'
    and c.user_profile_option_name='Printer'
    and a.level_id = 10003 ;
    if (FND_SUBMIT.SET_PRINT_OPTIONS(v_printer_name, 'Portrait', 2, TRUE, 'N'))
         then
    l_new_request_id := FND_REQUEST.SUBMIT_REQUEST('XXAFP','XXAFPOEXPMTRC',
    null,null,FALSE,l_sob_id,l_organization_id,NULL,NULL,l_order_header_id,
    chr(0), '', '', '', '', '', '', '', '', '', '',
    end if;
    fnd_message.set_string('Request Submitted for Custom Payment Receipt. Request ID is '||l_new_request_id);
    fnd_message.show;
    copy('NULL','parameter.ACTIONS');
    IF (l_new_request_id = 0) THEN
    FND_MESSAGE.RETRIEVE;
    FND_MESSAGE.ERROR;
    else
    l_commit_result := APP_FORM.QuietCommit;
    END IF;
    I need to complete this requirement immediately. Can anyone suggest me better ways in doing this.
    Thanks,
    Srinivas

    I solved this problem myself using shell script through custom.pll. I wrote shellscript and called that shellscript through FND_REQUEST.SUBMIT_REQUEST.It printed 2 copies to local printer.

  • Pioneer 8400 DVD receiver player, as iPhone ios6 update now when connecting the new iPhone with ios6 via blutooth (firmware prob) to my car DVD 8400 unit, when playing music such as on my phone or Pandora the track button does not function or work at all

    pioneer 8400 DVD receiver player, as iPhone ios6 update now when connecting the new iPhone with ios6 to my car DVD 8400 unit, when playing music such as on my phone or Pandora the track button does not function or work at all not even if i press skip track forward or back on the unit it doesn't function everything works except that. on listening to radio or anything else related not pairing thru Bluetooth unit works fine, seems there to be Bluetooth update that is not making iPhone and unit not compatible at all. does pioneer need fix this problem with update firmware or thru apple need help. my iPhone was working fine before with previous ios 5 before.

    Dear Valued Pioneer Customer:
    We would like to inform you of the availability of an optional Bluetooth® firmware update (HW05-SW01.27.20) that enables Bluetooth AVRCP control and metadata display from a compatible Pioneer CD or DVD Receiver when used with an iPhone® 5 or iOS 6 device.  If you do not own an iPhone 5 or iOS 6 device, there is no need to install this update.
    This firmware update may be used only with the following 2012 Pioneer products:
    CD Receivers
    DVD Receivers
    DEH-P8400BH
    DEH-P9400BH
    DEH-80PRS
    AVH-P2400BT
    AVH-P3400BH
    AVH-P4400BH
    AVH-P8400BH
    In order to perform this update, the following items are needed:
    A Pioneer CD or DVD Receiver above with built-in Bluetooth
    Laptop with built-in Bluetooth running Windows® 7
    Bluetooth firmware update (HW05-SW01.27.20)
    How to Obtain the Free Firmware Update
    1. Download the INSTRUCTIONS for the optional Bluetooth firmware update (HW05_SW01.27.20).
    2. Download the UPDATE FILE to a computer and transfer the file to a compatible 2012 Pioneer CD or DVD Receiver via a Bluetooth-enabled Windows 7 laptop.
    You can also arrange for Pioneer to update your 2012 Pioneer CD or DVD Receiver by calling Pioneer Customer Service toll free at 800-421-1404 during regular business hours (M-F 10AM-7:30PM Eastern Time, except on holidays). If this firmware update is performed by Pioneer, there is a charge of $60.00 (this charge includes return shipping of the updated unit within the U.S.). Charges for removal/reinstallation of the unit and shipment to Pioneer are the customer’s responsibility.
    How to Determine if the Firware Update has Already been Installed
    CD Receivers:
    • With the unit turned off (press and hold the source button until the CD Receiver turns off), press and hold the center of the volume knob to bring up the Settings menu → rotate the volume knob until "BT Version Info" is displayed and then press the center of the volume knob → The firmware version should show HW05-SW01.27.20.
    DVD Receivers:
    • With the unit turned off (press the home button and select ‘OFF’ from the source icons), press the home button → Press the “System” icon at the bottom of the screen → Select the “Bluetooth Version Info” option → The firmware version should show HW05-SW01.27.20.
    If the Bluetooth firmware version shows HW05-SW01.27.20, no further action is necessary.
    Questions
    If you have any questions, please contact the Pioneer Customer Service Center toll free at 1-800-421-1404, Monday through Friday, 10:00 a.m. to 7:30 p.m. (Eastern Time), except on holidays.
    Sincerely,
    Pioneer Electronics (USA) Inc.

  • VB6 applications crashes when calling C# dll's in production environment

    Hi All,
    I'm basically .NET developer, not much aware of VB language or VB visual Basic 6.0.
    We are trying to work out with VB application running/ using C# dll's. The scenario is like VB exe applications using C# dll's and C# dll's are referenced to VB application using .tlb file.
    In development environment(debug mode) the application looks fine and working as expected. But when the same code is put into production environment VB applications are crashing when pointing to C# method calls. We trying to know the reason but application
    is getting killed. The issue seems to be sporadic and not able to catch in MsgView(debug tool).
    In one more scenario, the VB application is loading C# form and getting data back to VB but when we repeat the same workflow again application is crashing either in 2nd attempt or 3rd attempt.
    Has anybody seen such issue? Any input is welcomed.
    Thanks,
    Shesh

    Hi Shesh.ugare
    Welcome to MSDN.
    I am afraid that these forums donot support VB6, you could refer to this thread:
    Where to post your VB 6 questions
    If this issue regarding VB6 then you could consider posting this issue in these forums below:
    These forums do not support Visual Basic 6, however there are many third-party support sites that do. If you have a VB6-related question please visit these popular forums:
    VB Forums
    VB City
    If not, then you could share more detailed code with us.
    Thanks for your understanding.
    Regards.
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Assign User name and password to the login screen on button click without user type...

    Hi,
    My requirement is as follows,
    I have three inputs which is User name, Password and URL. URL may be like anything like for example gmail,yahoo,hotmail like that.
    No need to authenticate the URL. Just i want to place the credentials in User ID and Password controls.
    On button click the URL should open in browser and the credentials should place in the controls in log in page.
    How to achieve it. Ultimate thought is the user should know the "Password",only admin know the password.
    Thanks & Regards
    Poomani Sankaran

    Hello,
    If URL's are internal (not third party) then you can do this by modifying both applications. If you are trying to do this with third party then you have to contact product owner. I don't think there is any code or solution for third party application where
    you can set values of controls.
    For internal URL's you can create custom web service and call this web service in both the applications. One to get value from first app and then second to set value in another app.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Button Click Event WebPart Button Sys.Webforms.PageRequestManagerServerErrorException:

    Hi,
    I have a SharePoint 2010 visual WebPart, which has ASP.NET Multiview control. When deployed, this control works fine on my local server and it even works fine in the Development server; however, when deployed on to the production server, it stops working.
    I am not able to change Views on the production server, when I try to debug the WebPart in IE Developer Tool (Using IE 11), I get this error that says “Sys.WebForms.PageRequestManagerServerErrorException: An unexpected error has occurred.” in the ScriptResource.axd
    file.
    Even the Button click is not working, getting the same error in the Button Click.
    Can someone help me with this?
    Regards, Vikram

    Hi Hemendra,
    Thanks for your help, but the problem is solved now. turns out the issue was not with the control but the page itself.
    I had copy pasted the pages from my local server to the production server instead of exporting and importing it.
    Once i created pages in the production server, the issue was solved.
    Regards, Vikram

  • How to download run time ABAP dump in production environment

    Hello,
    I am getting run time ABAP dump in production environment. Please guide me onHow to download run time ABAP dump in production environment?
    Also, please tell me how best can analyze that dump. Like there are tools like gdb, purify etc. to analyze problems in other languages.
    Regards,
    Sameer.

    Hi,
    Go to ST22, and Double click on the error line, It will show you the detailed analysis.
    See the section How to correct the error for details on error correction and the instructions to download the log( you can download in the format you want - HTML would be a nice option).
    And there are no tools to analyze errors but ST22 has a large data regarding the location of the error, the reason and the source code which caused. So you need to use the debugger to reproduce the error and check the source code,
    Regards
    Karthik D

  • How to check transport in Production environment

    Hi,
    I did some standard configuration as OBYA (Intercompany automatic Posting clearing account) in development Box and get it transported to Production.
    I have to verify that the configuration I have done has been transported to Production Environment.
    Where should I check? I don't have access to SE16 in Production.
    Quick response will be appreciated.
    Thanks & Regards.

    hi Mehak,
    go to transaction SE01 (either in development/customizing or in production system), in the first tabstrip enter the transport number and click on Log (2nd Pushbutton). This will display the Transport Log, and you can see if there were no errors during import into Production System, then your changes are there.
    hope this helps
    ec

  • NullPointerException in JHSLov in Production Environment

    Hi,
    I am using Jdeveloper 11.1.1.2.0 and JHeadstart 11.1.1.2.29 and I am facing the following problem:
    A java.lang.NullPointerException is occured in a jhs lov only in the deployment in a production environment, despite the fact that locally the same lov works flawlessly.
    Specifically, I have an updatable VO (through an entity) that has reference in another entity. The VO has access in two attributes of the referential entity and the lov is based on one of them, while the other has its returned value.
    The lov is a single jhs lov based on a vo from a readonly query and is appeared in a table (being placed in a tab region). The specific lov is used and tested in the local wls without any malfunctions.
    The real problem starts when I deployed the application in another wls. Following the same case as locally, when I try to access this specific lov, I get the following exception on pressing the ok button in lov pop-up:
    oracle.jbo.JboException: java.lang.NullPointerException, message=null
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:405)
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:467)
    at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:202)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:739)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttribute(JUCtrlValueBinding.java:1314)
    at oracle.jheadstart.controller.jsf.bean.LovItemBean.getLovFieldValueInTable(LovItemBean.java:698)
    at sun.reflect.GeneratedMethodAccessor961.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    You should also take into consideration that almost the same jhs lov is used in another region in the jsf page without this problem, neither locally, nor on the deployment.
    Moreover, the version of the wls on which the application is deployed is *10.3.3.0* (different from the local wls of v.10.3.2.0)
    This matter is of high importance to me so I am really looking forward for a reply.
    Thank you in advance

    Zelda,
    To see what is going wrong, it is probably easiest to create a subclass of LovItemBean, override method getLovFieldValueInTable, and add some debugging statements.
    The method looks like this:
    public Object getLovFieldValueInTable()
    if (getLovFieldValueExpr() != null)
    return JsfUtils.getExpressionValue(getLovFieldValueExpr());
    JUCtrlValueBinding rowData =
    (JUCtrlValueBinding) getTableBean().getBindingCollectionModel().getRowData();
    String attribute = getLovFieldBinding().getAttributeDef().getName();
    Object value = rowData.getAttribute(attribute);
    return value;
    So, maybe the attribute variable is null, or has an invalid value.
    Steven Davelaar,
    Jheadstart team,

  • Datasource not replicated in Production Environment

    Hi all,
    I activate a datasource 2lis_04_p_comp in SAP R/3 development environment and replicate it in BW development environment. All works are OK.
    Then I transport this datasource in R/3 production environment a first time, then a second time after several modifications on my datasource. All transports and activation (first and second wave of transport on this datasource) are OK between development and production environment (on R/3).
    2LIS_04_P_COMP is same (on R/3) between development and production environment.
    But when I want replicate 2LIS_04_P_COMP in BW production environment, several fields are not replicated. Only fields wich are transported in first wave are replicated in BW production environment. Fields which are added (after datasource modifications) and transported in second wave of datasource transports, are not replicated (Datasource contains these fields on R/3 development and production environment). Whereas in development environment all fields are correctly replicated.
    I think, my problem stems from replication in BW production environment.
    How can I replicated all fields in my BW production environment ?
    Thanks,
    Rgds,
    Sébastien

    hi,
    Can u check the transport log for 2nd time transport from R/3 Dev to R/3 Prod...
    Did u see all the changes in R/3 prod for DS 2LIS_04_P_COMP ..
    try this again..
    R/3 prod
    RSA6--> Select 2LIS_04_P_COMP Click on Truck icon -->
    BW Prod
    RSA1--> Source Sys tab > Select ur SS> RightClk and Replicate Datasources
    If u still missing some fields .. come back to us
    Thanks

Maybe you are looking for

  • Hyper-V AD guest freezing

    Hello all! I hope someone can help us with our issue. We are running Windows 2012 Datacenter on a Host. The guest VM is running 2012 as well. Over the past couple weeks we have been having an issue where the guest that is the AD controller just freez

  • StarOffice 8 / Linux

    We work with StarOffice on Linux boxes since version 5. We upgraded from 5 to 6 to 7 and now to 8. Version 8 with and without patch creates us a lot of troubles : freezes with some worksheets, closes on printing (every time we sent a crash report)...

  • Who wants to try facetime?

    Hi everyone! I don't really know too many people with the new iphone. I want to try out face time with you other people who have the iphone 4! So if you want to make a new friend and try it out, e mail me first and then we can exchange phone numbers

  • Iphone 3G Whiteout

    I am an avid Apple fan. I have supported them for years, and now I have the new 3G. It took months of convincing my wife that the phone was worth signing a 2 year contract for, considering we have no AT@T or Apple stores in Myrtle Beach SC. I assured

  • Help my computer is acting up and I dont know quite why...

    Ok I bought this computer refurbished direct from apple in Oct of '06. Since then Ive put more memory in so its got 2gb in it, Ive also replaced the powercord that goes into the wall(the original melted). Ok the problem is sometimes I will close the