Bar chart get "Object required" error

I create a bar char which group by Data Time filed, I uncheck "Continuous time Series", select "Use time groups" and select Hour(Quantity=2).
Count another filed as chart values.
View the report. If I insert a time which in an un-existed series, it will get "Object required" error.
e.g: if there are time : 6:00, 4:00, when i insert a time 6:00, it works well, but if i insert a time 2:00, it get error

Jeffrey,
Did you manage to find a workaround for this? Or has it been confirmed as bug?
Reason I ask is because I am facing the same problem, but with a line graph (also using time series). I am also using 11.1.12. I only get the error when the chart is receiving its first value i.e. the chart is in 'No Values' state, but then data is inserted into the Data Object, which will then update the View Object for the first time.
After I click 'reprompt', everything is back to normal and the view object displays the correct output following the insertion of the data into the data object. Subsequent data in the data object is then correctly picked up and displayed. The problem seems to be the initial data values.
Regards

Similar Messages

  • Inexplicable Object Required error in status bar?  Crazy.

    Hope someone can help.  Firstly, I'm developing in Classic ASP, DW8.0.2.
    I am receiving an inexplicable "Object Required" error in my status bar on the following page of a website I am developing:
    http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    When the page initially loads, there is no error.  But click a link, or hit Refresh and the error appears!  And there are loads of errors too!  What gives?
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Fri, 12 Feb 2010 16:04:45 UTC
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Line 53 of my code is:
    rsMOVIE_cmd.CommandText = "SELECT movieID, movie, cinedvd, moviecert, movierelease, moviecast, movietrailerID, livemovie FROM dbo.movies WHERE movieID = ?"
    However, I know this isn't the problem because I've completely rewritten the code and it always flags line 53, char 3 no matter what code is on that line.
    Hope someone can shed some light on the matter.  Thanks.
    Regards
    Nath.

    Thank you, again, for your response Bregent.
    The line in the client code, that's being reported as being an error is:
    <div class="reviewlayout">
    Can I just confirm with you though, when the page initially loads I don't receive the error.  It's only when I either select another link, from that page, or refresh the page.  Is that also happening for you?  It sounds like you're not seeing the error initially either, but I am wondering if, like me, you receive the error when you choose a link, or refresh?  I'm getting that in IE8 and Firefox 3.6:
    http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Why would an innocuous bit of CSS code be causing this error?
    Appreciate the input, thanks.
    Nath.

  • "Object required" error when browing "Portal Content"

    Hi, all
       I installed latest "dwi_701_dev_core11_as_java_epc.v2" in my local server, but when I browse NetWeaver Portal homepage remotely , I got an "Object required" error in my IE. But if I logon with "Remote desktop connection" to the server and access the portal locally, it works ok. I don't know the reason, did anyone here meet this issue before?

    Hi Ray,
    As per your posting in forum, you have said that when you give the URL as  http://localhost:59000/*** then you are not facing any problem and when you are accessing the portal from remote system using the IP Address  as http://127.0.0.1:59000/***"  then you are getting error...
    There is nothing strange issue with it.. all you need to do is to configure your IP Adress with a specific server name in HOST File.
    For that :
    1) First, go to  the following path :
             C:\WINDOWS\system32\drivers\etc
    2) In the ...\etc  folder you can see  a file "HOSTS". Open the HOSTS file using Text editor like Notepad or Editplus.
    3) Add the IP Address and give some Server name to that IP address.
    For Example :
    127.0.0.1      Yangserver
    4) Save and Exit.
    Now you can access the portal by giving the url as :
    http://Yangserver:59000/**  *
    Make sure that the IP Address of you Portal server i.e 127.0.0.1 should be static i.e it  should not change regularly.
    Hope this is useful...
    Thanks,
    Ratan

  • Reg Javascript Error Object required Error

    Hi all,
      I have configured ITS 6.20 and implemented ESS in EP 6.0 SR1. I am getting Javascript Error Object required Error in some browsers when i try to access the ITS pages . What should i do in browser settings in order to resolve this error.
    Thanks
    Vasudevan Gopalan

    Hi all
    Resolved the issue as mentioned in note# 852690 . Thanks
    Regards
    Vasu

  • RIACCESS prograsm is giving 'OBJECT REQUIRED' error

    hi masters,
    i want to download the data of EKKO table to MS-ACCESS for this i created the RFC connection and its getting connected well. now i
    m executing the RIACCESS program to download the EKKO table data but it is given the 'Object Required' error. pl can u help where i m going wrong. in PC Database i have given the test.mdb file which i have created on my system, RFC destination PS_ACCESS_1, table name EKKO and clicked on 'BOTH'. pl help me to solve this problem..
    regards,
    vicky.

    You will also likely get this error if you are trying to call an instance member without first creating the class.  You need to configure a constructor if your method is not static.  You can then store the object reference in a variable and then use it in subsequent steps.
    If you are already doing this, or your methods are static, then the exception must be coming from inside your code module as Doug has suggested.
    -Jeff

  • "Object Required" error when using the script block from the code behind

    I try to use the following script block on the code behind page
    <script defer='true' id='NavID' type='text/javascript'>Nav();</script>
    and the function Nav() is on the .aspx page. It gives me the "Object Required" error message. BUT if I add an alert("hello!!!") line inside of the Nav() function, it works fine after the user closes the alert box. Has anyone experienced a similar problem? Please help. Thanks.

    There is no way to troubleshoot this by looking at a picture of the diagram. LabVIEW 6 is almost prehistory and many things have changed, especially the file IO all looks different so it is impossible to tell what you are doing.
    Error 7 is file not found, so most likely your string operations are not correct. What are the full strings? What is the final file name (maybe you are missing a "\" or maybe you are on a different OS type). Put an indicator at the path wire to see what's happening!
    Is this a datalog file?
    (Overall, the code is a bit suspect. Nobody needs a seven frame flat sequence. ) Why do a control and an indicator have the same label?)
    LabVIEW Champion . Do more with less code and in less time .

  • I am getting object expected error in javascript for autocomplete function

    Hi,
    I want to search list items like autocomplete function using jquery.
    I added code in CEWP, but i am getting "Object expected" error. I have checked using alert
     $().SPServices({
        operation: "GetListItems",
        async: false,
    I think SPservices is not working.
    Please help me!!

    Hi,
    According to your post, my understanding is that you wanted to search list items like autocomplete function using jquery.
    You can use the below code to get the Titles of the Announcements list as the values of the autocomplete function.
    <script type="text/javascript" src="/SiteAssets/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="/SiteAssets/jquery.SPServices-2014.01.min.js"></script>
    <script type="text/javascript" src="/SiteAssets/jquery-ui-1.10.4.min.js"></script>
    <script type="text/javascript">
    window.onload = function() {
    window.setTimeout(readyCall, 1000);
    function readyCall(){
    var externalParties = [];
    $().SPServices({
    operation: "GetListItems",
    async: false,
    listName: "Announcements",
    CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
    completefunc: function (xData, Status) {
    $(xData.responseXML).SPFilterNode("z:row").each(function() {
    externalParties.push($(this).attr("ows_Title"));
    $("input[id$='FormControl0_V1_I1_T1']").autocomplete({
    source: externalParties,
    minLength: 1
    </script>
    More information:
    jQuery Library for SharePoint Web Services
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • EP IAC iview javascript object required error

    Hi,
      We have installed EP 6.0 SR1 and ITS 6.20 with service pack 19(with hotfix) in one domain. We have created IAC iviews in Enterprise portal. We are accessing the enterprise portal from different domain and we are getting javascript error <i>object required</i> sometimes. This error comes while loading the IAC iview and it comes randomly. But when we access the portal from the domain where we installed the portal & ITS we are not getting this javascript error.
    Did anyone encountered this type of error before???.
    Please help..
    Regards
    Vasu

    I am assuming this is happening after you have deployed your app and that the app works as expected on your development computer(?). Please confirm...
    I need you to tell me the following:
    1) how was the app compiled; any cpu, 32 bit, 64 bit?
    2) how was the CR runtime deployed (what MSI / MSM did you use?)?
    3) if this app is installed under custom app pool see the following:
    Deploy the CrystalReportViewers13 virtual directory as a sub-directory of your application.
    Copy the Crystalreportviewers13 folder to be a sub-folder at the root of your application. You can configure where your application looks for this folder by using the following Help file [SAP Crystal Reports .NET SDK Developer Guide
    |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip] and search the document for ("web.config";). In the section "Configuring your web.config file" follow the instructions specified for setting the resourceURI attribute. This way you can control updates to the viewers when deploying your application.
    Note the resourceURI value is the name of the viewers directory and should be preceded with a Tilde
    ie value="~/crystalreportviewers13"
    Also, have a look at the following two articles. Both are pre CRVS2010, however the ideas re. deploying to a custom app pool still apply. All that changes is the folder name.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Javascript - Object required error for visual studio 2010

    Hi - I have downloaded the crystal report RTM for visual studio 2010.
    My App server is windows 2008.
    We are using crystal reports as part of CRM application
    I am getting  javascript error 'Object Required'  at the following line:
    The debugger after the error message refers to this:
    bobj.crv.stateManager.setComponentState('ctl00_ContentPlaceHolder2_CrystalReportViewer1__UI',eval('('document.getElementById('__CRYSTALSTATEctl00$ContentPlaceHolder2$CrystalReportViewer1').value')'));
    The website has all the required aspnet_client files and have made sure the application is able to load them.
    When tried with a new sample solution the reports work.
    Please help. I need to make the crystal reports work with the CRM solution...

    I am assuming this is happening after you have deployed your app and that the app works as expected on your development computer(?). Please confirm...
    I need you to tell me the following:
    1) how was the app compiled; any cpu, 32 bit, 64 bit?
    2) how was the CR runtime deployed (what MSI / MSM did you use?)?
    3) if this app is installed under custom app pool see the following:
    Deploy the CrystalReportViewers13 virtual directory as a sub-directory of your application.
    Copy the Crystalreportviewers13 folder to be a sub-folder at the root of your application. You can configure where your application looks for this folder by using the following Help file [SAP Crystal Reports .NET SDK Developer Guide
    |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip] and search the document for ("web.config";). In the section "Configuring your web.config file" follow the instructions specified for setting the resourceURI attribute. This way you can control updates to the viewers when deploying your application.
    Note the resourceURI value is the name of the viewers directory and should be preceded with a Tilde
    ie value="~/crystalreportviewers13"
    Also, have a look at the following two articles. Both are pre CRVS2010, however the ideas re. deploying to a custom app pool still apply. All that changes is the folder name.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Please Help-Object Required Error

    I have a page where images are displayed one at a time, with hrefs to move from one picture to the next-each of these pictures has text that I am using in a java tooltip function. When I am at the start or the end of the set of images, I get an error 'Object Expected', and 'onMouseover="popup ('Tuesday','lightyellow')" ' is highlighted in the debugger, but no other information. This only happens either at the start or the end of the set, depending on where in the set you start viewing (near the start-the first image gives the error, but not the last, or if you start near the end the last image gives the error but not the first.) The error seems to be coming out of the popup function, but I can't seem to isolate it. The relevent code is below, any input would be great.
    Thanks
    Mike
    HTML CODE
    <table height=200 width=250>
    <tr>
    <td bgColor=white colspan=2 border=1 align=center>
    <img border=0 src=i\1Hot.jpg>
    </td>
    </tr>
    <tr>
    <td align=center>
    PREVIOUS
    </td>
    <td align=center>
    NEXT
    </td>
    </tr>
    </table>
    JAVA CODE
    Xoffset=-60;
    Yoffset= 20;
    var nav,old,iex=(document.all),yyy=-1000;
    if(navigator.appName=="Netscape")
    (document.layers)?nav=true:old=true;
    if(!old)
    var skn=(nav)?document.dek:dek.style;
    if(nav)document.captureEvents(Event.MOUSEMOVE);
    document.onmousemove=get_mouse;
    function popup(msg,bak)
    var content="<TABLE WIDTH=130 BORDER=1 BORDERCOLOR=black CELLPADDING=4 CELLSPACING=0 "+
    "BGCOLOR="+bak+"><TD ALIGN=left><FONT COLOR=black SIZE=1>"+msg+"</FONT></TD></TABLE>";
    if(old)
    alert(msg);
    return;
    else
    yyy=Yoffset;
    if(nav)
    skn.document.write(content);
    skn.document.close();
    skn.visibility="visible"
    if(iex)
    document.all("dek").innerHTML=content;
    skn.visibility="visible"
    function get_mouse(e)
    var x=(nav)?e.pageX:event.x+document.body.scrollLeft;
    skn.left=x+Xoffset;
    if(nav)var y=e.pageY;
    if(iex)
    y=event.y;
    if(navigator.appVersion.indexOf("MSIE 4"))y+=document.body.scrollTop
    skn.top=y+yyy;
    }

    This is JavaScript code. JavaScript is not Java.

  • Error "424 Object Required" when opening journal report using HFM 11.1.2.1

    Hi experts,
    I've installed EPM 11.1.2.1 along with Hyperion Financial Management and Financial Reporting on an virtual machine (OS is windows server 2008),
    when I logon to workspace and tried to open an journal report in HFM-Format, appears error message as follows:
    An error has occurred. Please contact your administrator
    Error Number:424
    Error Description: Object required
    Error Source: Microsoft VBScript runtime error
    Page On which Error Occurred:../reports/CheckStatus.asp
    I've checked oracle support and found article ID 967025.1 describing almost the same issue of mine,
    but the suggested solution was to add workspace and HFM web server to trusted site. (I'm using IE9)
    I did so as well as other recommended browser settings but still the error remains.
    The article said the solution was applied to Version 9.2.0.0 to 11.1.1.3, so I'm not sure if version 11.1.2.1 has other causes or solutions.
    Could experts provide any ideas?

    I believe you might have already done with the below steps, but please reconfirm:
    1) Ensure, that both the Hyperion Workspace URL AND the HFM webservername i.e(Http://<hfmwebservername>/hfm) is added in the sites button in the Trusted sites option. under Security tab.
    2) Here is a list of Internet Explorer settings which are recommended to be set on the client machine:
    1. Configure browser to check for new version every time user visits a page
    * Open Internet Explorer
    * Go to Tools > Internet options > General
    In 'Browsing history' section select 'Every time I visit the webpage'
    * Click Ok, then Apply.
    2. Disable default pop-up blocking
    * Open Internet Explorer
    * Go to Tools > Internet options > Privacy tab
    Uncheck 'Turn on Pop-up Blocker'
    3. Add workspace URL to trusted sites
    * Open Internet Explorer
    * Go to Tools > Internet options > Security tab
    * Select Trusted sites from Select a zone to view or change security settings.
    * Type your workspace URL in form http://workspaceserver:portnumber in 'Add this website to the zone'
    * Uncheck 'Require server verification (https:) for all sites in this zone'
    * Click Add, then Close.
    * Click Ok and Apply.
    4. Minimize security setting for trusted sites
    * Open Internet Explorer
    * Go to Tools > Internet options > Security tab
    * Select Trusted Sites from select a zone to view or change security settings
    * Select custom level
    * From Reset to list select Low
    * Click Ok
    * Click Apply, then Ok
    5. Customize security settings
    * Open Internet Explorer
    * Go to Tools > Internet options > Security Tab > Custom Level
    * In 'Miscellaneous' section enable the option "Allow script-initiated windows without size or position constraints"
    * In 'ActiveX controls and plug-ins' section enable “Run ActiveX controls and plug-ins” and “Script ActiveX controls marked safe for scripting.”
    6. Enable option "Always allow session cookies".
    * Open Internet Explorer
    * Go to Tools > Internet options > Privacy Tab > Advanced > Check the "Override automatic cookie handling" and accept the first and third party cookies and check the "Always allow session cookies" option.
    7. Disable option "Enable Native XMLHTTP".
    * Open Internet Explorer
    * Go to Tools > Internet options > Advanced Tab > Uncheck the option "Enable Native XMLHTTP"
    If still facing the same issue, perform the below action plan:
    1) Give full permission to Filetransferfolder and try generating the reports.
    2) Add the Everyone user and dcom user to BIPubSystemReports.
    DCOM Config-> BIPubSystemReports-> Security tab-> add the users in Launch and Activation Permission, Access permissions and Configuration Permissions.
    Best regards.

  • Object Required

    I did this page so family and friends can see our trip
    http://www.michaelsondesign.com/camp/camp.html
    - I am getting an Object Required error message - says line 59
    I can't seem to find what its looking for
    the script came from this page:
    http://www.dhtmlgoodies.com/scripts/image-slideshow-vertical/image-slideshow-vertical.html
    Thanks
    Rob

    There's no such error on that page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "BOC_RUSH" <[email protected]> wrote in
    message
    news:g4ri1v$djs$[email protected]..
    >I did this page so family and friends can see our trip
    >
    http://www.michaelsondesign.com/camp/camp.html
    - I am getting an Object
    > Required error message - says line 59
    >
    > I can't seem to find what its looking for
    >
    > the script came from this page:
    >
    http://www.dhtmlgoodies.com/scripts/image-slideshow-vertical/image-slideshow-ver
    > tical.html
    >
    > Thanks
    > Rob
    >
    >

  • Object expected error in java script...

    Dear All,
    we have Java Struts 1.1...
    I am getting "Object Expected" error while processing jsp page.
    I want to modify the text field so that only number and one dot(.) should be entered.
    I have one function and i am calling it as "onkeypress" event.
    Below is the function....
    function isNumberKey(evt)
    alert("here");
    var charCode;
    clearerror();
    charCode = (evt.which) ? evt.which : event.keyCode
    alert("here");
    if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
    return false;
    return true;
    and below are html tags...
    <td>Total No Of Customers  *</td>
    <td><html:text property="noOfCustomersUnit" onkeypress="return isNumberKey(event)" style="width:160px"/></td> Please suggest how to solve the issue....

    Why? This is not a javascript forum.
    In any case, run it in firefox which has decent Javascript error handling functionality, then do some Google searches on Javascript event handling to try and figure out what you're doing wrong. It might be something browser specific and I suggest you look into using something like JQuery for standardized and proven ways to do things like event handling logic in stead of rolling your own Javascript stuff.

  • Object Referenced Error When calling the Windows Form during Runtime

    Hi,
    I am getting  Object reference errors when running windows form during runtime. In debugging mode in MS Visual studio 2005, I am not getting this error. I'm calling the window form from menu and called the window in a thread as suggested in one of forums . I don't see anyone in the forum mentioned this problem I have. Any help would be deeply appreciated. Below are the error and code samples.
    ERROR Message
    Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Project1.Loadxml.Loadxml_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Edited by: Albert Tio on Feb 16, 2011 9:55 AM

    Here is the code.
    Option Strict Off
    Option Explicit On
    Friend Class GetEvents
        Public WithEvents SBO_Application As SAPbouiCOM.Application
        Public SboGuiApi As SAPbouiCOM.SboGuiApi
        Public oForm As SAPbouiCOM.Form
        Public oDBDataSource As SAPbouiCOM.DBDataSource
        Public oCompany As SAPbobsCOM.Company
        Public RS As SAPbobsCOM.Recordset
        Public oPrev_Bank As String, oPrev_AcctType As String
        Public oLoadXml As Loadxml
        Public Sub SetApplication()
                 'Dim SboGuiApi As SAPbouiCOM.SboGuiApi
            Dim sConnectionString As String
            SboGuiApi = New SAPbouiCOM.SboGuiApi
            ' by following the steps specified above, the following
            ' statment should be suficient for either development or run mode
            sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
            ' connect to a running SBO Application
            SboGuiApi.Connect(sConnectionString)
            ' get an initialized application object
            SBO_Application = SboGuiApi.GetApplication()
        End Sub
        Public Sub SetCompany()
            Dim ret As Long
            Dim MsgStr As String
            Dim Cookie As String
            Dim ConnStr As String
            Try
                oCompany = New SAPbobsCOM.Company
                Cookie = oCompany.GetContextCookie
                ConnStr = SBO_Application.Company.GetConnectionContext(Cookie)
                '//before setting the SBO login context make sure the company is not connected
                If oCompany.Connected = True Then
                    oCompany.Disconnect()
                End If
                ret = oCompany.SetSboLoginContext(ConnStr)
                If Not ret = 0 Then
                    Exit Sub
                End If
                ret = oCompany.Connect
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
            MsgStr = ""
            If Not ret = 0 Then
                oCompany.GetLastError(ret, MsgStr)
                SBO_Application.MessageBox(MsgStr)
            Else
            End If
        End Sub
        Public Sub New()
            MyBase.New()
            ' set SBO_Application with an initialized application object
            SetApplication()
            SetCompany()
            AddMenuItems()
        End Sub
        Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
            Dim myThread As New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf LoadXmlMainThread))
            Try
                If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
                    'SBO_Application.MessageBox("My sub menu item was clicked")
                    '// Create a form to be launched in response to a click on the
                    '// new sub menu item
                    myThread.SetApartmentState(System.Threading.ApartmentState.STA)
                    myThread.Start()
                    'Loadxml.ShowDialog()
                                End If
            Catch ex As Exception
                SBO_Application.MessageBox("1." & ex.Message)
            End Try
            'If (pVal.MenuUID = "MyGoToMenu") And (pVal.BeforeAction = False) Then
            '    SBO_Application.MessageBox("My GoTo Menu was clicked")
            'End If
            'If (pVal.MenuUID = "MySecondGoToMenu") And (pVal.BeforeAction = False) Then
            '    SBO_Application.MessageBox("My Second GoTo Menu was clicked")
            'End If
        End Sub
        Private Sub LoadXmlMainThread()
            'Dim lLoadxml As New Loadxml
            Try
                oLoadXml = New Loadxml
                oLoadXml.WindowState = FormWindowState.Maximized
                oLoadXml.ShowInTaskbar = True
                oLoadXml.TopMost = True
                oLoadXml.Activate()
                Application.Run(oLoadXml)
            Catch ex As Exception
                SBO_Application.MessageBox("2." & ex.Message)
            End Try
        End Sub
        Private Sub AddMenuItems()
            '// Let's add a separator, a pop-up menu item and a string menu item
            Dim oMenus As SAPbouiCOM.Menus
            Dim oMenuItem As SAPbouiCOM.MenuItem
            Dim i As Integer '// to be used as counter
            Dim lAddAfter As Integer
            Dim sXML As String
            '// Get the menus collection from the application
            oMenus = SBO_Application.Menus
            'Save an XML file containing the menus...
            'sXML = SBO_Application.Menus.GetAsXML
            'Dim xmlD As System.Xml.XmlDocument
            'xmlD = New System.Xml.XmlDocument
            'xmlD.LoadXml(sXML)
            'xmlD.Save("c:
    mnu.xml")
            Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
            oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
            oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
            Dim sPath As String
            sPath = Application.StartupPath
            'sPath = sPath.Remove(sPath.Length - 3, 3)
            If sPath.EndsWith("\") = False Then
                sPath = sPath & "\"
            End If
            '// find the place in wich you want to add your menu item
            '// in this example I chose to add my menu item under
            '// SAP Business One.
            oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
            oCreationPackage.UniqueID = "MyMenu01"
            oCreationPackage.String = "Unbridle Menu"
            oCreationPackage.Enabled = True
            oCreationPackage.Image = sPath & "unbridle.bmp"
            oCreationPackage.Position = 15
            oMenus = oMenuItem.SubMenus
            Try ' If the manu already exists this code will fail
                oMenus.AddEx(oCreationPackage)
                '// Get the menu collection of the newly added pop-up item
                oMenuItem = SBO_Application.Menus.Item("MyMenu01")
                oMenus = oMenuItem.SubMenus
                '// Create s sub menu
                oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
                oCreationPackage.UniqueID = "MySubMenu"
                oCreationPackage.String = "Unbridle Monitoring"
                oMenus.AddEx(oCreationPackage)
            Catch er As Exception ' Menu already exists
                'SBO_Application.MessageBox("Menu Already Exists")
            End Try
        End Sub
    End Class
    Public Class Loadxml
        'Inherits System.Windows.Forms.Form
        Public sBPpath As String
        Public sGLpath As String
        Public sBillpath As String
        Public bRun As Boolean
        Private Sub Loadxml_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Me.TextGL.Text = System.Configuration.ConfigurationSettings.AppSettings("GLAcctDownloadPath").ToString()
            Me.TextBP.Text = System.Configuration.ConfigurationSettings.AppSettings("BPAcctUPloadPath").ToString()
            Me.TextBill.Text = System.Configuration.ConfigurationSettings.AppSettings("BillUPloadPath").ToString()
            Me.NotifyIcon1.Visible = False
        End Sub
    End Class

  • Stacked bar chart to show vertically

    I want to show stacked bar chart vertically.
    Requirement is
    Mat1 - WIP Qty 14, Inv 20, Finished 22 
    Mat2 - WIP Qty 16, Inv 10, Finished 18  
    We want to display chart where Material will be displayed on Y-axis and diffrent Qty will be shown as one bar for each material stacked like stacked bar starting from left to right.
    We did this using stacked bar but in that case the material will be displayed on X-axis and bar is showing from bottom to top. Is there any way we can rotate this chart by 90 degree?
    Nilesh Modi

    Hi Nilesh,
    I do not believe that there is an out-of-the-box feature that would suffice your needs.
    However, the work-around is relatively simple, although it needs a bit of coding.
    If you are sourcing the image directly, the image could be refreshed using Javascript settimeout function.  If you are sourcing the location of the image from an iCommand, you could use the update event of the applet.
    Besides ... if everything was too easy, there would be no need for you and I
    Cheers,
    Jai.

Maybe you are looking for

  • Modules

    I have 2 modules ("meniu_desfacere" and "planificare"). I want to have in may second module("planificare") the same values from the text_items that i have in may first module. For example: i have in the module "meniu_desfacere" a text_item that have

  • Downloads never finalized, stuck in downloads folder

    To fully diagnose this problem, I will start from the beginning I noticed something a bit 'off' about iTunes. i was browsing the iTunes Store, looking for a good mix of music to buy, adding to the Wish List, blah blah blah. I left the computer runnin

  • I NEED HELP WITH THE MINI VGA TO TV CONNECTOR!! HELP PLEASE

    When I plug the Mini VGA into my TV the picture shows up but it is very small and blurry. What can I do to fix this? Thanks for an Help! 12 inch iBook   Mac OS X (10.4)  

  • How connect old Cinema Display

    I have one of the first Apple cinema displays. I have been using it with an old G-4 computer. It has a 30 pin plug. Can I connect if to a new Macbook Pro? How do I do it?

  • Depriciation for asset with limit on maximum value

    Hello, We have a requirement in which we have a limit on maximum value of the asset on which depreciation is allowed. For example is asset value is more than 100000 then depreciation should be allowed only for value 100000 and the depreciation should