How to press key through code in B1

Hi All,
How to press key through code in B1 ?
Is there any event?

Hi Anuj
This is one solution
If pVal.CharPressed = 35 Then
                                            Else
                                                If pVal.CharPressed = 8 Or pVal.CharPressed = 36 Then
                                                    oForm.Items.Item("txtpass").Specific.Value = ""
                                                    oForm.Items.Item("txtvpass").Specific.Value = ""
                                                    txtPass1.Value = ""
                                                Else
                                                    Try
                                                        If pVal.CharPressed Then
                                                                       ls = ""
                                                            For i = 1 To Len(oForm.Items.Item("txtvpass").Specific.value)
                                                                ls = ls + "*"
                                                            Next                                                                               
oForm.Items.Item("txtpass").Specific.Value = oForm.Items.Item("txtpass").Specific.Value + Chr(pVal.CharPressed)
                                                            txtPass1.Value = oForm.Items.Item("txtvpass").Specific.Value
                                                                                oForm.Items.Item("txtvpass").Specific.Value = ls
                                                            oForm.Items.Item("txtvpass").Click()
                                                            SBO_Application.SendKeys("")
                                                        End If
                                                    Catch ex As Exception
                                                        SBO_Application.MessageBox("Password :" & ex.Message)
                                                    End Try
                                                End If
                                            End If                                                                               
Catch ex As Exception
                                            SBO_Application.MessageBox("txtvpass Key Down:" & ex.Message)
                                        End Try
-Anto

Similar Messages

  • How to make keyframe through code ?

    do u have any idea to create keyframe througy code ?

    you can do that with actionscript.  you can do that with jsfl but that's not run-time code.

  • How to handle  Iviews and UWL through Code?

    Hi All,
    I want to know
    1)Is it possible to assign a iview to a user as a UWL task.
    2)If yes how to do it through code?
    Please reply  soon!
    Points will surely be given to helpful answers.
    Sumit

    Hi Sumit,
    Can you elaborate on this ? Do you mean that a user should be given access to an iview only through UWL ? Or is it that if he clicks on a UWL item, he sees the iview there ?
    You can surely open an iview on the click of an item in UWL. The configuration has to be made in SWF_VISU by selecting type as portal application, giving the pcd location of the iview (portal object).
    Regards,
    Sunil

  • Bought through HP, no code sent but was preinstalled. How can i get the code?

    Just over a year ago, my family bought a new pc through HP. We got Photoshop/Premiere Elements 10 with it. It came preinstalled and we didn't get a code for it. In both programs, I think I registered with my account, but they never showed up on my account on the adobe website. I just got a Desktop for myself this past week and I'm wondering if/how I would be able to get both programs on to the new one. Also, is there a way to get the serial number/key through the program itself?

    You probably need to contact HP to see about getting a serial number to reinstall the software.  I don't know that you can install it on any other machine than the one you originally have it on if it came with the computer.

  • How to get the source code of an HTML page in Text file Through J2EE

    How to get the source code of an HTML page in Text file Through J2EE?

    Huh? If you want something like your browser's "view source" command, simply use a URLConnection and read in the data from the URL in question. If the HTML page is instead locally on your machine, use a FileInputStream. There's no magic invovled either way.
    - Saish

  • How to get the source code of an HTML page in Text file Through java?

    How to get the source code of an HTML page in Text file Through java?
    I am coding an application.one module of that application is given below:
    The first part of the application is to connect our application to the existing HTML form.
    This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
    The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
    Could any body provide coding hint for that

    You're welcome. How about awarding them duke stars?
    edit: cheers!

  • How to create a Xfdf doc. in Acrobat Pro 10 through code?

    Hi All..!!!
    I wanted to know whether there is a way to create an XPdf document in Acrobat Pro 10. I know that we can create a pdf document through code using the SDK.. I wanted to know whether the same can be done for XPdf documents..
    Thanks!! 

    Writing an XFDF is not that difficult; all you need is a tool allowing you to assemble text strings.
    The preferred way to get a sample on how the XFDF should look like is to export one from the form concerned, and to repeat it using your code. In this case, the document knows best how the XFDF should look like.
    Hope this can help.
    Max Wyss.

  • How to give  acces  to app to use  the  images in device through code

    Hi,
    I am writting an Iphone app, in some part of my application there is a facility  to the users  to  upload their files , but the device is asking to give permission to the app to access files,   i have to do that  manually , my question   is there any way to acheive that through code,  In  am  using Xcode to  create my app
    Thanks.

    Hi Kasturi,
    > not accepting the points
    It worked on this and on one other thread, but this is still open: How to upload the image
    > want upload the images from the client side machine
    > to KM
    In the thread I just referred to, I already provided information about the HTMLB upload control. With this at hand, you'll get the file from the client to the server.
    At server side, get an ICollection instance where you want to store the file and create the corresponding resource. See https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/javadocs/nw04/sp12/knowledge management/com/sapportals/wcm/repository/icollection.html#createresource(java.lang.String,%20com.sapportals.wcm.repository.IPropertyMap,%20com.sapportals.wcm.util.content.IContent)
    Hope it helps
    Detlev

  • How to fill values in the system matrix through code

    hi
    All
    i want to fill the system matrix in the sales order in such a way that
    Items will be filled in system matrix in the lost focust event of the Customer Code selection in the Sales order Document
    how can i fill the system matrix through code
    one thing that first column(ItemCode)  of the system matrix column is a Icombbox type
    Now i need to fill out item code using code
    can any one suggest the answer
    thanks in advance

    madhu,
    You need to catch the Validate event, when pVal.BeforeAction = False for form items 4 (CardCode) and 54 (CardName) of the Sales Order form.
    Concerning the form's matrix, you can fill it but you cannot change it (you cannot change the ItemCode column into a ComboBox. Is is a EditText)
    Fill a System matrix's Cell with the following code:
        Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific
        oMatrix.Columns.Item("ItemCode").Cells.Item(Row_Num).Specific.Value = "Item_Code"
    Regards,
    Vítor Vieira

  • How to attach the T.CODE to a report created through REPORT PAINTER

    Hi all,
    Please tell me "<b>How to attach the T.CODE to a report created through REPORT PAINTER".</b>.
    Please show me the way how to do it as its getting too firing issue !!
    Awaiting for the early responses !!
    M.Soni

    Dear All,
    I got some good inputs from <b>Jessie</b> on this issue and observed that the reports which are created through report painter are standard one having entries in the TSTCP table .
    <b>But the reports(Through Report Painter) which are creaed by us has no entry in TSTCP table !!</b>
    Kindly show the way, how to attach the T.code to the reports which are created through report painter. as its getting so buggy now !!
    Please tell me if someone know about this.
    <b>Please note all my reports are created directly in the 500(Production</b>).
    Waiting for quick inputs !!
    Regards,
    M.soni

  • How to find references of a Property in the class through code? similar to 'Find All References' in Visual Studio Environment.

     Hello,
    I am trying to find a code to find all the references of the property defined in a class which is very similar to 'Find All References' function available in Visual Studio environment. But I want to have it in code during run time. How to do it?
    e.g 
    =>Property 1
    private int _Salary;
    public int Salary()
    get{return _Salary;}
    set{_Salary = value;}
    => Property 2
    private int _Bonus;
    public int Bonus()
    get{return Salary * 2;}
    Like in the above example I have two properties Salary & Bonus. Bonus is calculated from salary. As soon as I set a value to Salary, value of Bonus gets updated. 
    Similarly I want to get reference of all other properties or methods in the class or program which are affected when value of Salary is changed through code. 
    Conclusion - I want to have a method or function, so that whenever I set a value to some property in a class, I want to have a list of all the other properties(List<Property>) or methods which are affected and in which the changed property is referenced.
    Please help me to achieve this.
    Siddharth.Shinde

    This is not something possible, as requested, even with reflection.
    I can't find the reason for having that kind of implementation at runtime.. your compiled assembly is not going to change once it's compiled.
    The way references are listed from within visual studio is probably using metadata gathered from the background compiler. When you write code, the compiler run pre-compilation tests, this is the same feature that will display error in your code before you
    compile, or complete your intelisense for types that aren't even compiled in the assembly.
    So, the only way for you to analyze this kind of thing would be to use something like ILDASM to disasemble your compiled libraries and gather metadata from the resulting MSIL. That would not work if you are using code obfuscation by the way.

  • How to add invitees to an event through code?

    How to add invitees to an event through code? Attendees property in EKCalendarItem is readonly, is there any way to do it?

    Sorry by email only iCloud: Share a calendar with others

  • How to di-activate CR 'Enter Key' HTML Code?  How to increase the the font of DW Help Explanations

    Hi,
    1.  How to di-activate <CR> 'Enter Key' HTML Code?
    2. How to increase the the font of DW Help Explanations?

    1.  How to di-activate <CR> 'Enter Key' HTML Code?
    Enter = paragraph <p>
    Shift + Enter = line break <br>
    To adjust browser default line spacing between paragraphs and headings, use CSS.
    p {
         text-indent: 4em;
         margin-top: 0;
         margin-bottom: 0;
         line-height: 1.2em;
    Does this help?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    HTML Validator - http://validator.w3.org
    CSS Validator - http://jigsaw.w3.org/css-validator/
    Tutorials  - http://w3schools.com/

  • How to close infopath form through code?

    Hi All,
    How to close infopath form through code, thanks in advance!

    Hi Sam,
    Please check if the articles below can be help:
    http://www.bizsupportonline.net/browserforms/programmatically-submit-infopath-form-sharepoint-send-email-close-form.htm
    http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How do I browse through pictures (in open state) using arrow keys

    Hi all. I know this is a lame question. But I am new to Mac. How do we navigate through photos in open mode. I mean usually in Windows, we open one picture and use arrow keys to navigate between photos.What are the keys I can use to navigate between photos. As of now, I have to close the photo and then double tap on another to view it. Thanks.

    What application are you using? In iPhoto you can just use the right and left arrow keys to browse photos...
    Clinton

Maybe you are looking for