Help me to convert this???

Hi,
This is the VB6 statement I have.
m_conApp.Forms.ActiveForm.Items.Item("5").Specific.String = "Something"
So please help me to convert this into c#. becauses it causes some confusions for me and difficult to find a solution from SDK help center.
regards
Chamara

Hi Chamara,
i know its confusing when you move to c#
correct is
((SAPbouiCOM.EditText)(globals.SBO_Application.Forms.ActiveForm.Items.Item("5").Specific)).String
lg David

Similar Messages

  • My brand new MBP 13"got the error "there is not enough memory or disk space to convert this document". What gives? Help please!

    I am trying to use mail merge in Word for Mac on My brand new MBP 13". And I get the error "there is not enough memory or disk space to convert this document". What gives? Help please!

    Why do I get there is not enough memory...: Apple Support Communities
    Error message in MS Word opening a .docx file "There is not enough - Microsoft Community

  • Need help converting this html code into code that will work as a flash button

    I have some html code that is for a button in html that when
    pressed sends you to a certain url but also somehow adds an 'id
    value' and a 'website value'.
    How can I convert this code and or put it into a flash
    button?
    Disregard the gif info...that's just for the html graphic
    that goes for the button.
    [HTML]<form
    action="https://secure.verotel.com/cgi-bin/vtjp.pl"
    method="post">
    <input type=hidden name=verotel_id
    value="9804000000840231">
    <input type=hidden name=verotel_website value="55461">
    <center>
    <input type="image" src="
    http://buttons.verotel.com/join/button_00010155461.gif"
    alt="Signup NOW!">
    <img src="
    http://buttons.verotel.com/signup/tbutton_55461.gif"
    border="0" width="1" height="1" alt="">
    </center>
    </form>[/HTML]

    What you want to do might look something like this:

  • Need help to convert this format of string in a int value?

    public static int isNumber( String number, int defaultValue ) {
              int result;
              try {
                   result = Integer.parseInt(number);
              } catch( Exception e ) {
                   result = defaultValue;
              return result;
         }Hi, I have the above method that converts a string Number into a int value. It works fine if the string is a normal number 234 (without spaces) but I have a string in the following format:
    *(space)�23,000(space).*
    That is I have a "space" then a "Pound" sign then two numbers then a comma followed by three numbers and then a space again.
    Is there any way I can convert this format into a simple int value?
    Thanks for any guidance.
    Zub

    Hi, I tried the following code but it don't seem to work
         public static int isNumberTrimSpaces( String number, int defaultValue ) {
              number.trim();
              String parsed = "";
              for (int i = 0 ; i < number.length() && number.charAt(i) != ',' ; i++)
             if (Character.isDigit(number.charAt(i))) {
             parsed += number.charAt(i);}
              int result;
              try {
                   result = Integer.parseInt(number);
              } catch( Exception e ) {
                   result = defaultValue;
              return result;
         }Any Ideas? Also will the loop get rid of the pound sign?

  • Help needed in converting date to number

    Hi,
    I am trying to execute the below query, its failing with "invalid number" error.
    select * from process_status
    where time_process > to_char('&3','yyyymmdd')
    time_process is the "number" datatype.
    Details:
    SQL> select * from process_status
    2 where time_process > to_char('&3','yyyymmdd');
    Enter value for 3: 01-MAY-09
    old 2: where time_process > to_char('&3','yyyymmdd')
    new 2: where time_process > to_char('01-MAY-09','yyyymmdd')
    where time_process > to_char('01-MAY-09','yyyymmdd')
    ERROR at line 2:
    ORA-01722: invalid number
    If I execute the below query its working fine, I am facing problem only when I pass the date explicitly to the query. Please help me on converting the date to number format.
    select * from etl_process_status
    where time_process > '20090501'
    and rownum < 3;
    Thanks

    as others have said, it would be best to have your time_process column stored as a date in oracle, if it contains dates.
    The reason for this is because if you store your dates as a number, you have removed information from Oracle that says "This is a date", so when Oracle comes to try and estimate the number of rows greater than a specific value, it can no longer guess correctly, since it's basing its guess on that column being a number.
    There are lots more numbers between '20091201' and '20091101' than there are days between 1st November and 1st December.
    By hiding the fact that your data is a date, you could throw your execution plan off and end up with sub-optimal performance.
    In short, store your data in the correct column format!

  • Any java experts pls help me in converting attribute to XML formats

    Pls help me oh my god i am a newbie here and i am given this project.
    I had just written a XML doc. which looks like this
    <ConsumerTransfer>
    <TransactionId>
    123:123
    </TransactionId>
    <Billingoption>
    cash
    </Billingoption>
    </ConsumerTransfer>
    I need to make this to attributes like
    private String TransactionId()
    private String BillingOption()
    and so on.....
    I need to convert this attributes to XML format
    can any show me an example or the source codes for this
    Really, I appreciate it.
    JimmyKnot

    For such node level operations I think that DOM would be a good idea. So here you go. Look for some nice tutorial for DOM and you got it.
    salut

  • How can i convert this data(00000000) into date format(yyyy-MM-dd)

    Hi,
    i am using this method to convert date format from string.
    public static string FormatDate(string inputDate, string inputFormat)
                System.DateTime date = DateTime.ParseExact(inputDate, inputFormat, null);
                string datepresent = DateTime.Now.Date.ToString("yyyy-MM-dd");
                return datepresent;
    its working properly,
    but when input data is like 00000000 i am getting error this is not valid.
    how can i convert this into date format any help..!

    Have you tried the above code:
    I can see it is working with both Date and DateTime destination nodes.
    Map:
    Functoid Parameters:
    Functoid Script:
    public static string FormatDate(string inputDate, string inputFormat)
    string datepresent;
    if (inputDate == "00000000")
    datepresent = "0000-00-00";
    else
    System.DateTime date = DateTime.ParseExact(inputDate, inputFormat, null);
    datepresent = date.ToString("yyyy-MM-dd");
    return datepresent;
    Input:
    <ns0:InputDateString xmlns:ns0="http://DateFormat.SourceSchema">
    <DateString>00000000</DateString>
    </ns0:InputDateString>
    Output:
    <ns0:OutputDate xmlns:ns0="http://DateFormat.DestinationSchema">
    <Date>0000-00-00</Date>
    </ns0:OutputDate>
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful.

  • HELP!! convert selection to AAC wont work

    I NEED 2 KNOW HOW 2 DO THIS IT WONT WORK IT SAYS THAT THERE IS AN ERROR WHAT DO I NEED 2 DO?? I DOWNLOADED A VIDEO AND ITS ON I-TUNES BUT IT WONT PUT IT ON MY I-POD CAN ANY ONE HELP???!!??

    HELP!! convert selection to AAC wont work
    Why do you want to convert it to AAC?
    Why not convert it for iPod?
    IT SAYS THAT THERE IS AN ERROR
    What exactly is the error?
    I DOWNLOADED A VIDE
    From iTunes Music Store?
    What format is it now?

  • Help me in Converting textarea msg to single line string

    Please help me in converting the textarea message with line breaks in to single line string. because i shud pass that to the Javascript which doesnot accept line breaks.
    <%
    StringBuffer text = new StringBuffer(request.getParameter("textarea1"));
    int loc = (new String(text)).indexOf('\n');
    while(loc > 0){
    text.replace(loc, loc+1, "<BR>");
    loc = (new String(text)).indexOf('\n');
    out.println(text);
    %>

    Hi,
    i did not understood your problem. javascript supports \n character processing. so you should not get any error. Do one thing write a javascript function, that replaces all \n with "". this will solve your problem
    funciton replaceNewLine(StringValue) {
    StringValue.replace('\n','') (check replace() syntax once)
    have fun!!
    raj

  • Please help me with converting a PHP to Java Servlet

    Hi
    Can any one help me to convert a PHP file to Java Servlet
    <?php
    / yadl_spaceid - Skip Stamping /
    // Yahoo! proxy
    // Hard-code hostname and path:
    // search = http://api.search.yahoo.com/WebSearchService/V1/webSearch
    // api.local
    // api.travel
    define ('PATH', 'http://api.search.yahoo.com/WebSearchService/V1/webSearch');
    $type = "text/xml";
    // Get all query params
    $query = "?";
    foreach ($_GET as $key => $value) {
    if(($key == "output") && ($value == "json")) {
    $type = "application/json";
    $query .= urlencode($key)."=".urlencode($value)."&";
    foreach ($_POST as $key => $value) {
    if(($key == "output") && ($value == "json")) {
    $type = "application/json";
    $query .= $key."=".$value."&";
    $query .= "appid=jennyhan_ac";
    $url = PATH.$query;
    // Open the Curl session
    $session = curl_init($url);
    // Don't return HTTP headers. Do return the contents of the call
    curl_setopt($session, CURLOPT_HEADER, false);
    curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
    // Make the call
    $response = curl_exec($session);
    header("Content-Type: ".$type);
    echo $response;
    curl_close($session);
    ?>

    I'm locking this [double post|http://forums.sun.com/thread.jspa?threadID=5394158&messageID=10749368#10749368].

  • Is Flip4Mac out for Intel yet? If not would some1 please convert this .mov?

    Is the .mov to .wmv converting software from Flip4Mac out yet? If not could someone pleeease convert this .mov to .wmv for me?
    http://people.brandeis.edu/~rugby/videos/colby-sawyer06.mov
    I was able to do it a while ago using Adobe Premeir and Windows Movie Maker (WMM) but Premeir would always change the dimensions of the video waay too large and when I resized it in WMM quality was lost and it was either too small or too large, I couldn't keep the same dimensions of the original film.
    Any help is appreciated.

    The latest version (v2.1) is supposed to have universal binary support...
    I hope it helps!
    Dual 2.5 GHz PowerPC G5   Mac OS X (10.4.7)  

  • Can anyone convert this Oracle 11g (RAC?) into a usable Datasource in CF8.0.1 and CF9 Admin?

    Can someone help me convert this into the correct settings for an Oracle datasource in CF8.0.1 and CF9? I would prefer to not use the thin client if that is even possible. "With progress comes great change to connection settings!" -Nate, 2011
    ABCDEPRD = (DESCRIPTION=
       (LOAD_BALANCE=on)
       (FAILOVER=on)
       (ADDRESS_LIST=
          (SOURCE_ROUTE=yes)
          (ADDRESS = (PROTOCOL = TCP)(HOST = dom1.xyz.com)(PORT = 1521))
          (ADDRESS_LIST=
            (LOAD_BALANCE=yes)
            (ADDRESS=
              (PROTOCOL=TCP)
              (HOST=qrsx901.xyz.com)
              (PORT=3200)
            (ADDRESS=
              (PROTOCOL=TCP)
              (HOST=qrsx902.xyz.com)
              (PORT=3200)
        (ADDRESS_LIST=
          (SOURCE_ROUTE=yes)
          (ADDRESS = (PROTOCOL = TCP)(HOST = dom2.xyz.com)(PORT = 1521))
          (ADDRESS_LIST=
            (LOAD_BALANCE=yes)
            (ADDRESS=
              (PROTOCOL=TCP)
              (HOST=qrsx901.xyz.com)
              (PORT=3200)
            (ADDRESS=
              (PROTOCOL=TCP)
              (HOST=qrsx902.xyz.com)
              (PORT=3200)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=ABCDEPRD_TAF)

    user13016840 wrote:
    By any chacne you have the steps on your blog)?Currently its not there in blog..
    You can refer to :
    http://oraforecast.com/orawiki/index.php/How_to_enable_Dead_Connection_Detection
    http://www.dba-oracle.com/t_sqlnet_expire_time.htm
    How does Dead connection detection work?
    Hope it will help..
    Regards
    Rajesh

  • Can anyone convert this code to java......(urgent)

    hi everybody.....
    can anybody provide me a java code for the following problem......
    i want that if user enters input like this:
    sam,john,undertaker,rock
    the output should be:
    'sam','john','undertaker','rock'
    i.e , is converted to ',' and the string starts with ' and ends with '
    i have a javascript code for this and it is reproduced below to have full view of the problem.........
    <HTML>
    <BODY>
    <script type="text/javascript">
    function CONVERT(){
    var re=/[,]/g
    for (i=0; i<arguments.length; i++)
    arguments.value="'" + arguments[i].value.replace(re, function(m){return replacechar(m)}) + "'"
    function replacechar(match){
    if (match==",")
    return "','"
    </script>
    <form>
    <textarea name="data1" style="width: 400px; height: 100px" ></textarea>
    <input type="button" value="submit" name="button" onclick="CONVERT(this.form.data1)">
    </form>
    </BODY>
    </HTML>
    can anyone do it for me.
    thx in anticipation

    Sunish,
    On your problem, check in the String class documentation the method replaceAll(), you can solve your problem in just one line of code.
    As for why the serious poster(the ones that are here to help, for many year, instead of just disrupting the forum) do not give you code is that they are here to help people learning and not to give free code.
    You help a person to learn, when you provide this person with the tools to research and help the person to think out of his problem, so that in the future the learning person can repeat the process by herself instead of going after finnished solution everytime he needs it.
    May the code be with you.

  • Video "Convert This Selection For iPod" Problem. Advice?

    Hey guys. What's up?
    I have an 80g iPod and I use windows xp. Well, when I need to "convert this selection for iPod" for a video, it converts the video alright, but the converted version never plays the audio on the computer or the ipod... Just video.
    Any help is really appreciated!!!!
    Thanks!!

    This should help you.
    http://docs.info.apple.com/article.html?artnum=302892

  • Please convert this query to update.

    Hi Experts,
    Please convert this MERGE statment to UPDATE.
    MERGE INTO CUSTOMER_DTLS CDT
        USING
            SELECT CDT.CDT_ID, CDT.CDT_ITEMREQ_NO, CDT_UNIT_NO, CDT.CDT_UPDATE_DT, OST.SalesName, OST.Team, OST.Team_ID
            FROM CUSTOMER_DTLS CDT
            INNER JOIN REVEN_MAP RMP ON CDT.CDT_ID = RMP.ORG_ID
            INNER JOIN SALES_DTLS OST ON RMP.WB_IBU = OST.IBU AND OST.Rep_Code = CDT.CDT_SECSALESREP
            WHERE CDT.PRODUCT_SEC = 'M'
            AND CDT.CDT_ID = 600
        ) SALES_QUERY
        ON(
                CDT.CDT_ID = SALES_QUERY.CDT_ID
            AND CDT.CDT_ITEMREQ_NO = SALES_QUERY.CDT_ITEMREQ_NO
            AND CDT.CDT_UNIT_NO = SALES_QUERY.CDT_UNIT_NO
            AND CDT.CDT_UPDATE_DT = SALES_QUERY.CDT_UPDATE_DT
            AND CDT.PRODUCT_SEC = 'M'
        WHEN MATCHED THEN
        UPDATE SET CDT.CDT_SALES_REP  = SALES_QUERY.SalesName,
                CDT.CDT_OutSide_SALES_DTLS     = SALES_QUERY.Team,
                CDT.CDT_OutSide_Team_ID        = SALES_QUERY.Team_ID
        WHERE CDT.CDT_SALES_REP IS NULL
        AND CDT.PRODUCT_SEC = 'M'
        AND CDT.CDT_ID = 600;
    Please help me.
        Thanks.

    Hi All,
    The merge query first doing join and make it as a SALES_QUERY query.
            SELECT CDT.CDT_ID, CDT.CDT_ITEMREQ_NO, CDT_UNIT_NO, CDT.CDT_UPDATE_DT, OST.SalesName, OST.Team, OST.Team_ID
            FROM CUSTOMER_DTLS CDT
            INNER JOIN REVEN_MAP RMP ON CDT.CDT_ID = RMP.ORG_ID
            INNER JOIN SALES_DTLS OST ON RMP.WB_IBU = OST.IBU AND OST.Rep_Code = CDT.CDT_SECSALESREP
            WHERE CDT.PRODUCT_SEC = 'M'
            AND CDT.CDT_ID = 600
        ) SALES_QUERY
    On top of it using the result of SALES_QUERY checking the following matching.
    ON(
                CDT.CDT_ID = SALES_QUERY.CDT_ID
            AND CDT.CDT_ITEMREQ_NO = SALES_QUERY.CDT_ITEMREQ_NO
            AND CDT.CDT_UNIT_NO = SALES_QUERY.CDT_UNIT_NO
            AND CDT.CDT_UPDATE_DT = SALES_QUERY.CDT_UPDATE_DT
            AND CDT.PRODUCT_SEC = 'M'
    But in your update it's just joining and after that not used any of these values for comparison.
    CDT.CDT_ID, CDT.CDT_ITEMREQ_NO, CDT_UNIT_NO, CDT.CDT_UPDATE_DT, OST.SalesName, OST.Team, OST.Team_ID
    How this works.
    Please explain.
    Thanks.

Maybe you are looking for