Publishing a screen painter form with full code

Hi Dear;
could you publish a sample of screen painter form with the coding that you use in it please?
bets regards;

Hi,
Take a look at the following sample provided by SAP in the following path C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\04.WorkingWithXML\2003.
In the above sample a form designed in Screen painter (MySimpleForm.xml) is used with the code. U can open the MySimpleForm.xml in screen painter.
Vasu Natari.

Similar Messages

  • Screen painter form

    is possible to use a screen painter form in the wizard that create user defined object?
    and then replace the new form in the user menu?
    regards

    Vasco,
    If I understand what you are asking ... the answer is no.  The forms that is generated when registering a UDO is part of the UDO wizard as you have stated.  There is not a way to interject a form created by the Screen Painter.
    Sorry ...
    Eddy

  • How to activate form with full license

    I bought the .99 license for Adobe forms, created a form, tested it and it works. I thne bought the full license, but don't know how to activat emy form with it. When I test the form now, it just says that the form is not available and see my administrator. How do I activatethe form with mey new license
    Thanks
    Whit

    Thanks Josh. Pretty stupid of me. Once I know it all works, I’ll remove you
    from the share as suggested.
    Whit
    From: Josh_Corey [email protected]
    Sent: Monday, October 14, 2013 9:43 PM
    To: whit1950
    Subject: How to activate form with full license
    Re: How to activate form with full license
    created by Josh_Corey <http://forums.adobe.com/people/Josh_Corey> in *
    FormsCentral* - View the full
    discussion<http://forums.adobe.com/message/5760318#5760318

  • Loading screen painter form via a menu event.

    Hi,
    In my application, I am trying to get my screen painter form (.srf) to display through a menu event. The thing is when I click on the menu the first time it loads okay but when I close it and try to open it by clicking it again nothing happens. I am doing it as below.
    Anyone have any ideas?
    private void SBO_Application_MenuEvent(ref SAPbouiCOM.MenuEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;
                try
                    if ((pVal.MenuUID == "vdetails") & (pVal.BeforeAction == false))
                        Form_1();
                catch (Exception ex)
                    SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");
    private void Form_1()
                string strTmp = "vclMgt.srf";
                LoadFromXML(ref strTmp);
                oForm = SBO_Application.Forms.Item("frmVMGT");
    private void LoadFromXML(ref string FileName)
                System.Xml.XmlDocument oXmlDoc = null;
                oXmlDoc = new System.Xml.XmlDocument();
                string sPath = null;
                sPath =  System.IO.Directory.GetParent(System.IO.Directory.GetParent(Application.StartupPath).ToString()).ToString();
                oXmlDoc.Load(sPath + @"\" + FileName);
                string strXML = oXmlDoc.InnerXml.ToString();
                SBO_Application.LoadBatchActions(ref strXML);

    Hi Binita,
    Thank you for your suggestion but it hasnt worked, the form doesnt display and no errors appear.
    This is how i've done it in C#
    private void SBO_Application_MenuEvent(ref SAPbouiCOM.MenuEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;
                try
                    if ((pVal.MenuUID == "vdetails") & (pVal.BeforeAction == false))
                        foreach (SAPbouiCOM.Form oForm in SBO_Application.Forms)
                            if (oForm.UniqueID == "frmVMGT")
                                found = true;
                                MessageBox.Show("Found");
                        if (found == true)
                            SBO_Application.Forms.Item("frmVMGT").Select();
                        else
                            LoadFromXML("vclMgt.xml");
                catch (Exception ex)
                    SBO_Application.MessageBox(ex.Message, 1, "Ok", "", "");
    Where 'found' is global.
    I saw a similar issue someone else had but it wasnt resolved.
    Any more ideas?

  • Opening and populating a PDF form with VBA code in Access 2007

    I had posted this in Acrobat Windows.  It was suggested this (and the SDK forum) may be a better forum ...
    I'm trying to load and then populate a PDF form programmatically using Access/VBA.  I'm patterning this after code that worked fine in Acrobat 5.0 but is throwing errors in Acrobat 9.  We're using Access 2007 on Windows XP and Vista computers.
    The Access project has a reference to Adobe Acrobat 9.0 Type Library.  Attached is a jpg showing all the references in the Access project.
    The error "Object variable not set (Error 91)" is happening with this statement:
    Set PDDoc = AVDoc.GetPDDoc
    Here is the code I'm trying to use.  I've always been a little fuzzy exactly which objects need to be created and the sequence they need to be created in.  Once I got it working in Acrobat 5 I left it alone.
        Dim WshShell As Object
        Dim myApp As Acrobat.AcroApp
        Dim AVDoc As Acrobat.AcroAVDoc
        Dim PDDoc As Acrobat.AcroPDDoc
        Dim PauseTime, Start
        Set WshShell = CreateObject("Wscript.Shell")
        ' run the Acrobat application within that shell and pass it a document name
        WshShell.Run "Acrobat.exe C:\Users\Christian\Documents\data\dist5\dist05_face_only_nh.pdf"
        '// Set/Get Acrobat Objects
        ' create an automation object that references the active copy of Acrobat
        Set myApp = CreateObject("AcroExch.App")
        ' reference the acrobat document we loaded above
        'Set AVDoc = CreateObject("AcroExch.AVDoc")
        Set AVDoc = myApp.GetActiveDoc()
        ' this apparently runs some method available to AVDOC
        Set PDDoc = AVDoc.GetPDDoc      '<------------------ THIS IS THE LINE THROWING THE ERROR
        ' this is how you reference the JSObject
        Set jso = PDDoc.GetJSObject
        ' let's clear the form
        temp = jso.resetForm()
        Set x = jso.getField("txt1_name")
        x.Value = "Bing Crosby"
        Set x = jso.getField("txt2_sex")
        x.Value = "Male"
        Set WshShell = Nothing
        Set myApp = Nothing
        Set AVDoc = Nothing
        Set PDDoc = Nothing
    Thanks in advance for any help.
    Christian Bahnsen

    Using the "Developing Applications Using Interapplication Communication" reference, I've been filling in knowledge gaps and baby-stepping until I hit this major wall.  FYI:  from page 22 in the reference
    Example 2.6 Displaying “Hello, Acrobat!” in the JavaScript console will not work as shown in Access VBA.  I've tried the example in both Access 2003 and 2007.  The sample code as is throws error 91 (see attachment error91.jpg), "Object variable ... not set".
    I add Set to the following 3 lines:
        Set gApp = CreateObject("AcroExch.App")
        Set gPDDoc = CreateObject("AcroExch.PDDoc")
        Set jso = gPDDoc.GetJSObject
    Running the code after adding "Set" doesn't throw an error but it does crash Access every time.  (see attachment error_reporting.jpg)
    Any suggestions?
    Here's the entire code snippet:
    Private Sub cmdHelloAcrobat_Click()
        Dim gApp As Acrobat.CAcroApp
        Dim gPDDoc As Acrobat.CAcroPDDoc
        Dim jso As Object
        Set gApp = CreateObject("AcroExch.App")
        Set gPDDoc = CreateObject("AcroExch.PDDoc")
        If gPDDoc.Open("C:\chris\acrobat_test.pdf") Then
            Set jso = gPDDoc.GetJSObject
            jso.console.Show
            jso.console.Clear
            jso.console.println ("Hello, Acrobat!")
            gApp.Show
        End If
    End Sub

  • Test published web service experiment error with Status Code 400

    I have created an experiment in Azure ML Studio free version that works perfectly in Azure ML Studio when running. After the web service publication I am presented with the following error when I call a test for my web service.
    5: Error 0085: The following error occurred during script evaluation, please view the output log for more information: ---------- Start of error
    message from Python interpreter ---------- data:text/plain,Caught exception while executing function: Traceback (most recent call last): File "\server\InvokePy.py", line 98, in executeScript outframe = mod.azureml_main(*inframes) File "\temp\azuremod.py",
    line 55, in azureml_main File "C:\pyhome\lib\site-packages\pandas\core\indexing.py", line 119, in setitem self._setitem_with_indexer(indexer,
    value) File "C:\pyhome\lib\site-packages\pandas\core\indexing.py", line 438, in _setitem_with_indexer raise ValueError('Must have equal len keys and value ' ValueError: Must have equal len keys and value when setting with an iterable ---------- End
    of error message from Python interpreter ----------, Error code: ModuleExecutionError, Http status code: 400, Request id: 2c22cced-a109-4e12-856e-455a90644e68, Timestamp: Thu, 23 Apr 2015 10:28:12 GMT
    The input data for the test are:
    userID = "U5000"
    restaurant = "resA"
    rating=1
    These data are exactly the saame data that my experiment takes as input in Azure ML Studio running mode. My experiment is consisted of 2 python scripts and one meta data editor. The first python script reads the input data, calculates and feeds them into
    the metadata editor and the metadata editor feeds the result into the second python script. The second python script module code is very simply and just pivots the data fed:
    import pandas as pd
    def azureml_main(dataframe1):
       newtable = pd.pivot_table(dataframe1, index="restaurant", columns='userID', values="rating")
       return newtable,
    I cannot understand what is the error and why it is not raised during the running proccess but it is rised during the testing web service proccess. I should note here that when I use only one python script module the above error is not raised in the web
    service call.  Waiting for your response
    Thank you very much.

     Related to
    https://social.msdn.microsoft.com/Forums/azure/en-US/ff40b046-a7bb-4718-bedc-4260ef95d8d7/test-web-service-published-returns-error-code-internalerror-http-status-code-500?forum=MachineLearning
    Thanks for the feedback. This is a known issue. We are working on it. Sorry for the inconvenience.
    Luis Cabrera. Program Manager -- Azure Machine Learning @luisito_cabrera Disclaimer: This post is provided &amp;quot;AS IS&amp;quot; with no warranties, and confer no rights.

  • Iphone 3GS Screen goes blank with full battery and ipod has no sound

    Since 10th Feb my Iphone 3GS has had no sound on the ipod, although I can see the track is playing, and more importantly the battery just goes every few mintues regardless of the amount of battery left.
    I'm assuming this has been caused by the 6.1 update. However,  the 6.1.1 fix seems aimed at iphone 4S and it does not show up on my itunes.
    Prior to 10th Feb phone worked perfectly.
    Any advice?

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
    What about free space? Do you have enough free space on your iPad? With iOS 7 it is recommended that you have 15-20% of the storage space on the device free.  For a 16 GB device that is 2.4-3.2 GB free. For a 32 GB device that is 4.8-6.4 GB free. For a 64 GB device that is 9.6-12.8 GB free.

  • Load form created by screen painter

    hello every one,
    i've a problem. What are the steps to be followed to load a form created by screen painter?  might i have any  sample code In order to understand the various phases? thank a lot

    hi
    lorenzo pelati
      first u   create  a  form in   screen painter , nd after save this form , when  u save this form than this fom  extation is  .srf file,   after that  convert this file  to  .xml
      file ,  and after call  this form to   our application ,
    follow this code.........................................
    in this code  newpa.xml     is a one form xml file.
    in this code   SBOFormEditor_13  is a screen painter  form id,
      private void LoadFromXML( ref string FileName ) {
            System.Xml.XmlDocument oXmlDoc = null;
            oXmlDoc = new System.Xml.XmlDocument();
            // load the content of the XML File
            string sPath = null;
            sPath = System.IO.Directory.GetParent( Application.StartupPath ).ToString();     
              sPath = System.IO.Directory.GetParent( sPath ).ToString();
              oXmlDoc.Load( sPath + "
    " + FileName );
            // load the form to the SBO application in one batch
              string sXML = oXmlDoc.InnerXml.ToString();
            SBO_Application.LoadBatchActions(ref sXML);
        private void SaveAsXML( ref SAPbouiCOM.Form Form ) {
            System.Xml.XmlDocument oXmlDoc = null;
            string sXmlString = null;
            oXmlDoc = new System.Xml.XmlDocument();
            // get the form as an XML string
            sXmlString = Form.GetAsXML();
            // load the form's XML string to the
            // XML document object
            oXmlDoc.LoadXml( sXmlString );
            string sPath = null;
            sPath = System.IO.Directory.GetParent( Application.StartupPath ).ToString();
            SBO_Application.MessageBox("sahe ha " + sPath, 1, "OK", "", "");
            // save the XML Document
            oXmlDoc.Save( ( sPath + @"\newpa.xml" ) );
      public   call form() {
            SetApplication();
            string transTemp0 = "newpa.xml";
            LoadFromXML( ref transTemp0 );
                    oForm = SBO_Application.Forms.Item("SBOFormEditor_13");
            // Show the loaded Form
            oForm.Visible = true;
            SaveAsXML( ref oForm );
       fallow this code .

  • ChooseFromList for Customers by Screen Painter

    Hi,
    I don't know how to start on just adding a ChooseFromList for customers on my Screen Painter form.
    Any tutorials, videos anything out there to show me how to compelte this task ?

    aruntb wrote:
    ...Make sure that your edittext control must be binded with either DBDatasource or user data source of alphanumeric type.
    >
    > hope this helps
    >
    > Regards
    > Arun
    I already did all this and once run it wasn't working at all so I don't know if your last sentence above is made in Screen Painter also but if not, this was probably the missing piece for the whole thing to work.  Never read this anywhere not even in Screen painter documentation which is so poor actually.
    Well after all, I did everything by code and it seems to work ok.  I will make myself a favor ad add a nice single method that do it all and save it in my library.  I will even come here and give to everyone this method so it's easier for other people having a hard time with that.
    Thank you for the information

  • About Screen painter

    my senior are compelled me to develop an add-on witout screen painter.
    is it wright ? pls send me rply as early as possible.
    if wrong then send me about some help on screen painter and how to detect screen painter control from vb.net

    Mithun,
    I am not sure exactly how to answer your question.  The Screen Painter is typically used to assist the developer with creating new SAP Business One forms in an easy graphical environment.  It is a tool provided to the developer to assist with rapidly creating new forms.  You do not have to use the Screen Painter.  You can code your forms from scratch as part of your add-on code using the IDE of your choice such as VB.Net.  You can also look at this article which talks about how to auto generate and XML representation of your forms ...
    SAP Business One Tools [original link is broken]
    As far as help on the Screen Painter, that is available when you install the screen painter.
    HTH,
    Eddy

  • Screen Painter.  How to...

    How to use the Matrix with a complex query and beeing able to make some columns with a LinkButton to the document.
    Which control should I use.  A Matrix, or a Grid
    Which one let me get Data from a complex query and by the same time beeing able to set some columns as Link to a document
    To date I've been able to use the DBDataSource.Add("BUT IT NEEDS A TABLE") not a query and I face the challenge
    of adding all the conditions with the dbDataSource.Query(CONDITIONS) which doesn't work since I have to get
    data from other tables....

    Awesome.  Thank you. 
    Just a last question.  When I set the Query in the Screen Painter. Why do I have to provide it again by code ?
    I did create the Data Table in Screen Painter and called it dtORDR but in code
    but I have to do a ExecuteQuery and provide the query again ?
    Since I get it the way you explained, why do I have to ExecuteQuery with the same query again ?
    I also get a Table not found when running
    MyDataTable is called dtORDR made in the ScreenPainter with a simple SELECT
    and by code I do like you said, and the binding are on dtORDR but I get "Table not found..."
    Here's my actual code :
    string Query = "SELECT ORDR.DocEntry AS OrderEntry, ORDR.DocNum AS OrderNum, ORDR.NumAtCard, ORDR.DocDueDate, ORDR.DocTotal, " +
                   "ORDR.CardCode AS CustomerCode, ORDR.CardName AS CustomerName, OCRD.FatherCard, OCRD.CreditLine " +
                   "FROM ORDR INNER JOIN " +
                   "OCRD ON ORDR.CardCode = OCRD.CardCode";
    oApprobationsMatrix = oForm.Items.Item("mOrders").Specific as SAPbouiCOM.Matrix;
    SAPbouiCOM.DataTable DBDataTable = oForm.DataSources.DataTables.Item("dtORDR");
    DBDataTable.ExecuteQuery(Query);
    // Settings the columns...
    oApprobationsMatrix.Columns.Item("Indicator").Width = 20;
    oApprobationsMatrix.Columns.Item("cDocNum").DataBind.SetBound(true, "dtORDR", "OrderNum");
    oApprobationsMatrix.Columns.Item("cDocNum").Editable = false;
    oApprobationsMatrix.Columns.Item("cDocNum").Width = 107;
    oApprobationsMatrix.Columns.Item("cDocEntry").DataBind.SetBound(true, "dtORDR", "OrderEntry");
    oApprobationsMatrix.Columns.Item("cDocEntry").Visible = false;
    I also tried to remove the table from the Screen Painter and use the code instead like this
    oApprobationsMatrix = oForm.Items.Item("mOrders").Specific as SAPbouiCOM.Matrix;
    SAPbouiCOM.DataTable DBDataTable = oForm.DataSources.DataTables.Add("dtORDR");
    DBDataTable.ExecuteQuery(Query);
    and I stiil get "Table Not Found"
    but the table seems to be there all right. 
    [See this image...|http://pages.videotron.com/gear/problem.jpg]

  • Connecting a Screen Painter From to a Menu

    I have created a form using the screen painter.
    I have created  a new menu entry for this form.
    I have added the screen painter form into my solution.
    I am catching the new menu item click.
    what i do not have is the code to activate the form.

    Try this code Dror
    If (pVal.MenuUID = "U_xxx") And (pVal.BeforeAction = True) Then
    Dim oXmlDoc As Xml.XmlDocument
            oXmlDoc = New Xml.XmlDocument
            Dim sPath As String
            sPath = IO.Directory.GetParent(System.Windows.Forms.Application.StartupPath).ToString
            Try ' If there's no file then the looding will fail
                oXmlDoc.Load(sPath & "\" & "FileName")
            Catch ' Loading  failed
                SBO_Application.MessageBox( " File not found")
                End
            End Try
            SBO_Application.LoadBatchActions(oXmlDoc.InnerXml)
                oForm = SBO_Application.Forms.Item("FileUid")
            oForm.Visible = True
      End If
    Selin

  • Related to screen painter

    hi,
      if i design screen painter form then how to connect that form to business one 2005B patch 36
    regards
      sandip adhav

    In that case u need to write the code behind ur form and should go for creation of ard file and must take ur form thro addon installation process. these are xplained in SDK Help file & Tutorial.
    Regards,
    Dhana.

  • Blank page with pasted code

    Using Dreamweaver 4. I have problems when I try to paste code
    that is generated by Google AdSense in to our web site index page
    code. The published viewed page is completely blank and removing
    the code brings the page back. I had a similar problem with code
    from Stat Counter and removing the stat code brought the page back.
    If I paste the AdSense code in the wrong place it will
    publishe the code on the published page, which also happens with
    Paypal code as well. Pasting in the correct location always fixes
    the Paypal button issue, but with AdSense I can not get it to work
    and I have tried multiple places. Google says it is due to the
    "what you see is what you get " Dreamweaver software and it is
    altering the code, but it appears to be identical as the code that
    is generated by Google.
    Any ideas would be greatly appreciated.
    Thanks!
    Text

    Here is part of the page with the Google code....the page is
    too large to post it all here. I hope this will help find the
    problem for the published blank page.
    Roy
    <!DOCTYPE HTML SYSTEM><html>
    <td align="center" valign="top" height="243"
    width="279">
    <div align="center">
    <p><img src="67%20sm.jpg" width="200" height="96"
    alt="Pro Mod R67 body" usemap="#Map" border="0"></p>
    <p><font size="2"><b><font
    color="#000000"><i>RAE Pro Mod R67
    Body</i></font><font color="#0000FF"><br>
    </font></b><font color="#000000">(paint by
    Green Light Graphix)</font><b><font
    color="#0000FF"><br>
    <br>
    <br>
    </font></b></font></p>
    <p><font size="2"
    color="#0000FF"><b><br>
    </b></font></p>
    <p><font color="#FF0000"><font size="2"
    color="#000000">Pro Mod body with
    molded hood scoop and extra fine details. Body has narrow
    front at 5.50
    inches and is 7.40 at rear wheels. 19.25 inches long and
    pulled in .030
    Lexan. </font><font color="#000000"
    size="2">Also includes clear covering<b>.<br>
    <font color="#0000FF"><a
    href="Bodies%20page.htm">Part # 603
    $30.00</a></font></b></font></font></p>
    </div>
    </td>
    <td align="center" valign="top" width="279">
    <div align="center"><img
    src="sixmagnet%20motorsm.jpg" width="188" height="208"
    usemap="#Map3" border="0" alt="6 mag motor"><br>
    <p align="center"><font face="Times New Roman,
    Times, serif" color="#000000" size="2"><b><i>6
    Magnet NEO Machined Can Motors:</i>
    </b></font><font face="Times New Roman, Times,
    serif" size="2" color="#000000">The
    installed six neodymium magnets in a <b>NEW
    </b>machnined low carbon
    steel can create a substantial increase in torque resulting
    in a very
    powerful motor.<br>
    <font color="#0000FF"><b><a
    href="Motor%20Battery.htm">Part # 520
    $239.00</a></b></font></font></p>
    </div>
    </td>
    </tr>
    <tr>
    <td align="center" valign="top" height="293"
    width="279">
    <div align="center">
    <p><img src="Monstang%20truck%20sm.jpg" width="200"
    height="147" alt="RAE Pro Body R05" usemap="#Map2"
    border="0"><br>
    <font color="#000000" size="2"><b><i>RAE
    Pro Body R05</i></b></font></p>
    <p><font size="2"><font color="#000000"
    face="Geneva, Arial, Helvetica, san-serif"><i>Lately
    our bodies have been considered for Monster Truck
    applications. </i></font><font
    color="#000000">This
    is our Pro Body R05 mounted on a Clodbuster / Thunder Tech
    chassis.</font></font>
    <br>
    <font color="#0000FF" size="2"><b><a
    href="Monster%20Trucks.htm">Part
    # 600 $30.00</a></b></font></p>
    </div>
    </td>
    <td align="center" valign="top" height="293"
    width="279">
    <p><img src="34%20Roadster%20sm.jpg" width="190"
    height="74" alt="RAE Super Comp R34 body" usemap="#Map4"
    border="0"><br>
    <b><font color="#0000FF" size="2"><br>
    <font color="#000000"><i>RAE Super Comp R34
    Body</i></font><br>
    </font></b><font size="2"
    color="#000000">(paint by Green Light
    Graphix)</font><b><font color="#0000FF"
    size="2"><br>
    <br>
    </font></b></p>
    <p><b><font color="#0000FF"
    size="2"><br>
    <br>
    </font></b><font color="#FF0000"><font
    size="2" color="#000000">Pro Comp
    body with molded hood scoop and extra fine details. Body has
    narrow front
    at 5.40 inches and is 6.90 at rear wheels. 17.25 inches long
    and pulled
    in .030 Lexan. </font><font color="#000000"
    size="2">Also includes clear
    covering, separate rear wing.<br>
    <a href="Bodies%20page.htm"><br>
    <font color="#0000FF"><b>Part #
    602</b></font></a></font></font><a
    href="Bodies%20page.htm"><font color="#0000FF"
    size="2"><b>
    $30.00 </b></font></a></p>
    </td>
    </tr>
    </table>
    <br>
    <table width="850" border="1">
    <tr>
    <td align="left" valign="top" height="74"
    bgcolor="#CCCCCC">
    <div align="center"><font size="3"
    color="#000000"><b>W</b></font><font
    color="#000000" size="3"><b>e
    started Grand Motorsports in 1993 as a business to help
    radio controlled
    car enthusiasts get more enjoyment out of their radio
    controlled cars
    by designing unique products and providing great service.
    Now we have
    transfered all those years of experience and knowledge into
    <i>R.A.E.</i>
    At <i>R.A.E</i> we will concentrate on electric
    motor development for
    the radio control car industry, producing our own line of
    radio control
    drag car bodies and truck bodies, as well as doing advanced
    design and
    engineering work in other areas of the hobby. Feel free to
    contact us
    if you would like us to help you with your radio control
    project. <br>
    Thank you for your interest in our products and we hope you
    continue to
    enjoy the radio controlled car
    hobby</b></font><b><font size="3"
    color="#000000">!</font></b></div>
    </td>
    </tr>
    </table>
    <p align="center"> </p><script
    type="text/javascript"><!--
    google_ad_client = "pub-5364387402318604";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text_image";
    //2007-05-03: RAE channel number one
    google_ad_channel = "0891715024";
    //-->
    </script>
    <script type="text/javascript"
    src="
    http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <p align="center">
    <map name="Map">
    <area shape="rect" coords="14,7,187,95"
    href="Bodies%20page.htm" target="_self" alt="PM R67" title="PM
    R67">
    </map>
    <map name="Map2">
    <area shape="rect" coords="14,12,186,134"
    href="Monster%20Trucks.htm" target="_self" alt="PB R05" title="PB
    R05">
    </map>
    <map name="Map4">
    <area shape="rect" coords="8,5,183,68"
    href="Bodies%20page.htm" target="_self" alt="SC R34" title="SC
    R34">
    </map>
    <map name="Map3">
    <area shape="rect" coords="12,15,181,200"
    href="Motor%20Battery.htm" target="_self" alt="6 magnet motor"
    title="6 magnet motor">
    </map>
    </p>
    </body>
    </html>

  • Urgent! form with webutil works with IAS but not with the 9iDS

    I'm configuring a standalone PC on which i can run forms as if they were running with an IAS. Now we have a form which uses webutil. This form runs fine in our IAS-environment, but fails on the standalone PC.
    On the standalone machine I'm using 9ids (9.0.2) to run this form. When the form is started I'm getting an error: FRM-40734 Internal error PL/SQL error occurred. This is caused by calls to the webutil-routines client_win_api_environment.get_windows_username and client_win_api_environment.get_computer_name
    (When I comment out these calls, the form doesn't return an error)
    Below I've included the messages on the Java Console. I can't see anything wrong:
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator\Oracle Jar Cache
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://min-ea47a8eabc66:8888/forms90/webutil/webutil.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    Loading http://min-ea47a8eabc66:8888/forms90/webutil/jacob.jar from JAR cache
    Loading http://min-ea47a8eabc66:8888/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://min-ea47a8eabc66:8888/forms90/hsd65java/hst65.jar from JAR cache
    connectMode=HTTP, native.
    Versie van Forms-applet is: 902110
    2004-jan-28 11:51:50.906 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.921 WUI[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.921 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.921 WUF[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.937 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.937 WUH[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.937 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.937 WUS[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.953 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.953 WUT[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.00 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.00 WUO[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.00 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.15 WUL[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.15 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.15 WUB[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.625 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2004-jan-28 11:51:51.640 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.640 WUT[loadSettings()] local properties file loaded
    2004-jan-28 11:51:51.640 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2004-jan-28 11:51:51.640 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2004-jan-28 11:51:51.656 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.656 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2004-jan-28 11:51:51.656 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2004-jan-28 11:51:51.656 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.656 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    I hope anyone can help me with this problem. I0m getting a bit desperate.....

    I've tried your suggestion and the newly created form works on both environments (the standalone PC with the iDS and the "normal" evironment with an IAS). Then I added another button to this newly created form with the code "message(client_win_api_environment.Get_Windows_username);"
    This also works in the new form. Then I added some debugging code to the webutil.pll and discovered that when I use the above code in the new form everything is ok, but when I use the call client_win_api_environment.Get_Windows_username the following exception is raised in the gew_windows_username-procedure: CLIENT_WIN_API.NOT_AVAILABLE
    I've compared the newly created form with the original from and can't discover major differences between the two forms. Do you have another idea where to look?
    I noticed I forgot to mention both forms are created with oracle designer.

Maybe you are looking for