Using Microsoft communications control in forms 5

I have created a OLE container and added
a MSCOMM ommunications control to the OLE
container. But i am unable to set any properties of the comm object. I used the
same syntax given in the help pages of OLE
in forms. But it gives error.
All the examples given are on attaching an
OLE document such as Excel worksheet or word documnet and editing these.
I did a similar one in visual basic and it works fine.
I am converting an sales cum inventory application written in foxbase to Developer
2000 / oracle8.
The application dials the branches from headoffice every morning and transfers data
to and fro record by record.
If foxbase i did it by writing a memory
resident program and creating my own protocol
for the transfer. that was all in dos and
how easy it was to write that!.
Can any one suggest me how to communicate
through serial port from oracle forms.
I searched the words - serial , communication, commport etc in OTN . I didnt
get even a single match !!!!.
Noor M Kamaludeen
null

when u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
im also check the same it is working
sorry i saw it on design time
kansih
Edited by: Kanish on Apr 28, 2009 2:54 AM

Similar Messages

  • How to use MS TreeView Control in Forms 5.0 ?

    I want to Use Microsoft TreeView Control in forms as my user demands a hierachical view of data . he also wants to update data same as we see in windows explorer left side pane, (drag - drop - copy -paste). Can any one tell me hw to do that. i have added the ocx file to forms but i want to know what to write to accomplish that ??
    Please help ???

    MS Treeview is an activeX control. You may have to go through the MSDN to find out how to import images.
    Jeremy

  • Use Microsoft Communicator For Mobile for Google T...

    Hello Everyone!
    Does anybody know how to integrate Google Talk into Microsoft Commuicator??? So that we can chat right from the "Contacts" Menu. 
    --Giri--

    @esr86:
    OviChat is simple i agree.. But the problem is that, when using external chat clients like ovichat fring,or anything others, please be aware that it won't sign out when we exit that program.. I had experienced that problem several days ago.. We will be "Online" at all the time 24Hrs throughout. Thats why i asked about Communicator. Similarly, I m trying to get the details to fetch FB account to Communicator!!
    And about your English, you sounds like an Oxford-ian!! far better than me!!
    Regards,
    --Giri--
    --Giri--

  • Can I use Swing controls with Forms 9i?

    Is there a way to use Java Swing controls with Forms 9i via a PJC or something? If so, is there a white paper on it? Thanks.

    Yes you can. There is a quick start about PJC here:
    http://otn-stage.us.oracle.com/products/forms/htdocs/upgrade/pjc/content.html
    And there is also a paper about Forms in the Java World that you should read.
    http://otn.oracle.com/products/forms/pdf/forms_in_java_world.pdf
    You might want to have a look at the Oracle9i Forms Demos for some code samples as well.

  • Error using Microsoft CommonDialog OCX

    Guys ..
    I have problem about using Microsoft CommonDialog (OCX) in Form (Open File). Herewith i enclose my code below:
    ----- When Button Pressed ----
    DECLARE
         CDialog     oleObj;
    BEGIN          
         CDialog := :ITEM('BLOCK3.ACTIVEX_CONTROL99').Interface;
         MSComDlg_ICommonDialog.ShowOpen(CDialog);     
    END;
    ----- End Of When Button Pressed ----
    It success when i compile, but when i running there's an error message:
    "FRM 41344 - OLE Object not defined for ACTIVEX_CONTROL99 in current record"
    What should i do? :|

    Insert the ActiveX control into the field in the builder - if you have done this, but you still get the error at runtime, then it's probably licence issue with the control - see bug 59305.
    Mid you if you are just trying to get a file open dialog look at the get_file_name() built-in in Forms

  • ActiveX for Microsoft MAPI Control

    I want to use Microsoft MAPI Control to send mail.

    You need 2 controls :
    - MAPISession1
    - MAPIMessages1
    Call:
    - MAPISession1.SignOn
    - MAPIMessages1
    .MsgIndex = -1
    .RecipDisplayName = "SendTo"
    .MsgSubject = "Subject"
    .MsgNoteText = "Message"
    .SessionID = MAPISession1.SessionID
    .Send
    - MAPISession1.SignOff
    Hope this helps

  • Microsoft Script Control

    I am importing a json file to Excel using Microsoft Scripting Controls.
    I am trying to set up several sheets within the workbook, where only one piece of data is the variant between sheets. However I can't get the Script Engine to reset from sheet to sheet. What do I need to do to have the script engine reset each time? Thanks
    Public Sub InitScriptEngine()
    Set ScriptEngine = New ScriptControl
    With ScriptEngine
    .Language = "JScript"
    .AddCode "function getProperty(jsonObj, propertyName) { return jsonObj[propertyName]; } "
    .AddCode "function getSubProperty(jsonObj, podId, propertyName) { return jsonObj.gallery.podCache[podId][propertyName]; } "
    .AddCode "function getKeys(jsonObj) { var keys = new Array(); for (var i in jsonObj.gallery.podCache) { keys.push(i); } return keys; } "
    End With
    End Sub

    I am trying to load different json from a web page into Excel. I want to use a different sheet for each zip code in one workbook. When I change the URL for the next webpage, example change
    http://www.coupons.com/ajax/init?zipcode=77477" to
    http://www.coupons.com/ajax/init?zipcode=33317"
    The data remains the same in the new Excel sheet.
    This is the complete code.
    Option Explicit
    Private ScriptEngine As ScriptControl
    Public Sub InitScriptEngine()
    Set ScriptEngine = CreateObject("MSScriptControl.ScriptControl")
    ScriptEngine.Language = "JScript"
    ScriptEngine.Reset
    With ScriptEngine
    .AddCode "function getProperty(jsonObj, propertyName) { return jsonObj[propertyName]; } "
    .AddCode "function getSubProperty(jsonObj, podId, propertyName) { return jsonObj.gallery.podCache[podId][propertyName]; } "
    .AddCode "function getKeys(jsonObj) { var keys = new Array(); for (var i in jsonObj.gallery.podCache) { keys.push(i); } return keys; } "
    End With
    End Sub
    Public Function DecodeJsonString(ByVal JsonString As String)
    Set DecodeJsonString = ScriptEngine.Eval("(" + JsonString + ")")
    End Function
    Public Function GetProperty(ByVal JsonObject As Object, ByVal PropertyName As String) As Variant
    GetProperty = ScriptEngine.Run("getProperty", JsonObject, PropertyName)
    End Function
    Public Function GetKeys(ByVal JsonObject As Object) As String()
    Dim Length As String
    Dim KeysArray() As String
    Dim KeysObject As Object
    Dim Index As String
    Dim Key As Variant
    Set KeysObject = ScriptEngine.Run("getKeys", JsonObject)
    Length = GetProperty(KeysObject, "length")
    ReDim KeysArray(Length - 1)
    Index = 0
    For Each Key In KeysObject
    KeysArray(Index) = Key
    Index = Index + 1
    Next
    GetKeys = KeysArray
    End Function
    Public Sub GetCoupons77477()
    Dim JsonString As String
    Dim JsonObject As Object
    Dim Keys() As String
    Dim Output() As Variant
    Dim lRow As Long
    Dim lCol As Long
    InitScriptEngine
    With CreateObject("MSXML2.XMLHTTP")
    .Open "GET", "http://www.coupons.com/ajax/init?zipcode=77477", False
    .send
    JsonString = .responseText
    End With
    Set JsonObject = DecodeJsonString(CStr(JsonString))
    Keys = GetKeys(JsonObject)
    ReDim Output(1 To UBound(Keys) + 1, 1 To 6)
    For lRow = 0 To UBound(Keys)
    Output(lRow + 1, 1) = ScriptEngine.Run("getSubProperty", JsonObject, Keys(lRow), "brand")
    Output(lRow + 1, 2) = ScriptEngine.Run("getSubProperty", JsonObject, Keys(lRow), "summary")
    Output(lRow + 1, 3) = ScriptEngine.Run("getSubProperty", JsonObject, Keys(lRow), "details")
    Output(lRow + 1, 4) = ScriptEngine.Run("getSubProperty", JsonObject, Keys(lRow), "expiration")
    Output(lRow + 1, 5) = ScriptEngine.Run("getSubProperty", JsonObject, Keys(lRow), "isuff")
    Output(lRow + 1, 6) = "77477"
    Next lRow
    ThisWorkbook.Sheets("Zip77477").Cells(1, 1).Resize(UBound(Output), UBound(Output, 2)).Value = Output
    End Sub

  • How to use Microsoft DateTime Picker ActiveX control in Forms 6i?

    Does anyone have idea on how to use Microsoft Date-Time Picker ActiveX component in Forms 6i? Please give me coding examples for using this control to retrieve & store date at the backend.
    Regards

    when u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
    im also check the same it is working
    sorry i saw it on design time
    kansih
    Edited by: Kanish on Apr 28, 2009 2:54 AM

  • Using Microsoft's TreeView Control in Forms 5.0

    I created the OCX item, assigned it the OLE class 'COMCTL.TreeCtrl.1', inserted Microsoft TreeView Control 5.0, imported the appropriate OLE packages and set the appropriate OCX specific properties. With all that done, I created a simple code to clear the nodes collection and then populate it with two dummy nodes. The following is that snippet of code:
    PROCEDURE DO$TREE_INIT(
    i_study_id IN VARCHAR2 DEFAULT NULL
    ) IS
    v_inodes COMCTLLIB_CONSTANTS.INODES;
    v_inode0 COMCTLLIB_CONSTANTS.INODE;
    v_inode1 COMCTLLIB_CONSTANTS.INODE;
    BEGIN
    -- Get pointer to the treeview control's nodes collection.
    v_inodes := COMCTL_ITREEVIEW.NODES(:item('CB_MAIN.OCX_TREE').interface);
    -- Clear nodes collection
    COMCTL_INODES.CLEAR(v_inodes);
    -- Create initial tree structure when provided with a study.
    IF (i_study_id IS NOT NULL) THEN
    v_inode0 := COMCTL_INODES.OLE_ADD(
    interface => v_inodes
    ,relative => OLEVAR_NULL
    ,relationship => OLEVAR_NULL -- TO_VARIANT(COMCTLLIB_CONSTANTS.TVWFIRST, vtype => VT_R8)
    ,key => TO_VARIANT('STUD|AA|123|BC|12', vtype => VT_BSTR)
    ,text => TO_VARIANT('Dursban MOR Study (12312123)', vtype => VT_BSTR)
    ,image => OLEVAR_NULL
    ,selectedimage => OLEVAR_NULL
    v_inode1 := COMCTL_INODES.OLE_ADD(
    interface => v_inodes
    ,relative => TO_VARIANT(COMCTL_INODE.OLE_INDEX(v_inode0), vtype => VT_R8)
    ,relationship => TO_VARIANT(COMCTLLIB_CONSTANTS.TVWCHILD, vtype => VT_R8)
    ,key => TO_VARIANT('FF+|AA|123|BC|12', vtype => VT_BSTR)
    ,text => TO_VARIANT('Facility Functions', vtype => VT_BSTR)
    ,image => OLEVAR_NULL
    ,selectedimage => OLEVAR_NULL
    END IF;
    END DO$TREE_INIT;
    My form complies properly but during runtime I get this error:
    FRM-40735: < ... > trigger raised unhandled exception ORA-100504.
    This form is very simple. It contains only one control block, the tree control, OLE packages, WHEN-NEW-FORM-INSTANCE trigger, and this package. I have tried everything within my understanding. Do you have any suggestions?
    Any help would be appreciated.
    Thanks,
    Rahul

    I have the same situation too. The only solution
    I could think of is to install "Additional ActiveX"
    from custom VB5 installation. Besides there is
    a problem when VB6 is installed, because the controls are
    called "Microsft TreeView ... (SP2)".
    If you find any progress , keep me in touch :) ...
    Iain Sutherst (guest) wrote:
    : I have spent sometime implementing ListView and TreeView
    : controls (provided by COMCTL32.OCX, under VB 5) in Oracle
    Forms
    : 5.0, believing that the only files I would need to distribute
    : when I came to implement on other machines were COMCTL32.DLL
    and
    : COMCTL32.OCX, followed by registering COMCTL32.OCX.
    : This does not seem to be the case, since the control (ListView
    : or TreeView) is not being activated during run-time, and when
    I
    : try to use 'Insert Object...' in the layout editor for the
    : control, nothing happens.
    : Unfortunately, I have loaded VB 5, and Oracle Objects for OLE
    on
    : to my original development environment, and so I cannot now be
    : sure whether I need just COMCTL32.* or whether I need
    something
    : else as well.
    : If anyone has had experience of using these controls and has
    had
    : to roll-out the developed applications to other machines, I'd
    be
    : grateful for any information.
    : Thanks.
    : Iain
    null

  • This form template is not currently browser-enabled. It must either be republished as a browser-enabled form, or opened using Microsoft Office InfoPath 2007

    Hi,
    When I try to open a Infopath related file from Sharepoint, I am receiving the below error. 
    This form template is not currently browser-enabled. It must either be republished as a browser-enabled form, or opened using Microsoft Office InfoPath 2007.
    Office Professional Plus 2010 and Infopath 2010 are installed in my Windows 7 Enterprise edition. Have executed ""C:\Program Files\Microsoft Office\Office14\InfoPath.exe" /cache ClearAll" the command. But still getting the same error.
    It works in different machine. Repaired Office 2010 and Infopath. 
    Please let me know if any solution available. 
    Regards,
    Boopathi S

    Hi,
    You can try Amit Bajaj's method in another thread which has fixed the same problem for several users:
    Check if the default “Form Templates” option in appearing under “View all site contents” page. If it is not enabled by
    default, then you can follow this following steps.
     If "Office SharePoint Server Enterprise Site Features" is enabled but we don't see the default "Form Templates" on the "View
    all site contents" page, then you should use the following steps.
    Make sure they have backup of everything.
    Opened the site http://<your site url> in SharePoint Designer.
    Select the root URL and click FILE >> NEW >> SharePoint Content
    Choose Document Library >> Form Library
    Under options type the name as “FormServerTemplates” and it will create the content.
    Now right click on “FormServerTemplate” and open “Properties”
    On settings Tab change the name to “Form Templates” and uncheck the option “Use a template for new documents”
    Click OK
    Now you should see “Form Templates” on the view all site content page.
    You should be able to publish the InfoPath form with "Enable this form to be filled out by using a browser."
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/c9617953-a54c-44ec-86cf-df215c750c18/this-form-template-is-browsercompatible-but-it-cannot-be-browserenabled-on-the-selected-site?forum=sharepointcustomizationlegacy
    Since this issue is more related to SharePoint, if above steps doesn't resolve the problem, I'd recommend you post your question in the following forum for further assistance:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=sharepointcustomizationlegacy
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected].

  • CRM 2011: Can you control which form is used based not security roles, but on a field value?

    I see that you can control which form is used based on security roles, but can you control it based on other field values?  I'd like a new record to use a different form until a given status is updated.  I have a status of draft and active. So
    it would be nice if I could use form1 for those in draft, form2 for those that are active.  But I only see where you can control that via the security roles.
    I can code all of this via JavaScript, but having the ability to use two separate forms would be nice.  Is that even possible.
    Best regards,
    Jon Gregory Rothlander

    Hello,
    Recheck following article - http://gonzaloruizcrm.blogspot.com/2014/11/avoiding-form-reload-when-switching-crm.html
    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

  • "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint 2010 and Publishing Approval workflow.

    I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
    2010 and  Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
    Versioning Settings.
    Error
    This is quiet urgent issue . Any help would be really helpful.. Thanks.. 

    Hi Marlene,
    Thank you very much for your suggestions.
    But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
    As it works in other environment, I tried figuring out the possible differences which can lead to this error.
    Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
    Regards,
    Vineeth

  • Using activex control in forms 6i

    hi all,
    I want to use activex control in my form. (e.g Spreadsheet.11) . how to set the cell property (value,colour,border etc..)
    i have created activex control in form and imported ole libraries, run time i am able to see the control .Ii want to set cell properties . any suggestion/help/code greatly appreciated

    when u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
    im also check the same it is working
    sorry i saw it on design time
    kansih
    Edited by: Kanish on Apr 28, 2009 2:54 AM

  • Use Microsoft Online Directory Services as a user authentication provider for our own SharePoint farm?

    Hi,
    I've managed to configure my farm so that  Microsoft Online Directory Services (Office 365 etc.) can be used for STS authentication, but what I'm actually trying to do is allow user authentication - that is, I'm hoping to be able to use the user's
    O365 credentials to authenticate them in my own farm so they can view certain parts of it. If I need to write my own login form or authentication provider or whatever that's fine, as long as the user doesn't need to enter anything when they access my farm
    (provided they already have cached O365 credentials in their browser session).
    FWIW I actually need to be able to support the possibility that users are coming from multiple O365 tenancies, whereby each site collection will be configured to allow users from a different O365 tenancy (more or less).
    If it's not possible to do with my own development farm on a PC, it is possible if the farm is hosted in Azure?
    Thanks
    Dylan

    Hi  Dylan,
    According to your description, my understanding is that you want to use Microsoft Online Directory Services as a user authentication provider for your SharePoint farm.
    For your demand, you can configure a hybrid topology for your SharePoint farm:
    http://technet.microsoft.com/en-us/library/jj838715(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/dn197168(v=office.15).aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • How to use the treeview control

    I tried to use the treeview in the form builder.
    But I failed.
    If anyone can give me the guideline or related data,
    I'll be grateful.
    Thanks.

    Hi,
    Based on your description, my understanding is that you want to use treeview control in InfoPath 2013.
    Per my knowledge, There is no treeview control in Infopath 2013. Have you used the solution from third party? if it is , I suggest that you seek the third party for help. 
    Besides, here is a similar post, you can take a look at:
    http://www.infopathdev.com/forums/p/8978/80652.aspx
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

Maybe you are looking for