Forms6i using WInsock

Hello guys
I am now develop a program using winsock to receive data sent on tcp/ip connection
but i have a difficulties in retrieving data from remote host, the data was not read .
below is my PL/SQL
PROCEDURE /* DataArrival */ EVENT0(interface OleObj, bytesTotal IN NUMBER)
IS
mydata varchar2(32767);
BEGIN
MSWinsock_IMSWinsockControl.GetData(:ITEM('block3.winsock').interface,TO_VAR
iant(mydata, VT_variant));
MSWinsock_IMSWinsockControl.Senddata(:ITEM('block3.winsock').interface,TO_VARIANT('masukan ' || mydata, VT_BSTR, true ));
:text_item5:=:text_item5 || '-' || mydata;
END;
any body help me please ..

any profressionals can help me urgently? many thanks.
the error code is:
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-100504

Similar Messages

  • How do I use WINSOCK with VB6 to communicat​e with a Fieldpoint FP-1600 module ?

    I have a Fieldpoint system connected via a FP-1600 ethernet module to our local network. I can use CWDataSocket with Visual Basic 6 (under WinNT 4) to communicate with the fieldpoint hardware via the fieldpoint explorer and OPC server. But if I try to read multiple channels from say an analog input module, only one reading is returned (i.e. a single float).
    It would appear that in order to read multiple channel simultaneously, I need to by-pass the OPC server and communicate directly with the FP-1600. The FP100x programmers manual explains what commands to use and what responses to expect etc. There are also exampls on the NI web site using the MSComm VB control to co
    mmunicate with fieldpoint RS232 comm modules. But can't find anything that specifies how to configure the WINSOCK conection in order to achieve communication with an FP-1600.
    If someone could post an example of a VB application that can do this, or explain how I should go about it, I would be very grateful.

    Ben,
    The FieldPoint OPC Server will publish only the first element of a multi-channel analog signal. What you should do is use multiple DataSocket connections (URL's), one to each channel to get all the data that you desire. There is no drawback to doing this method (other than needing to code additional connections using the same CWDS object). The information will not be any better or worse synchronized and all the data is independantly time-stamped.
    I would not recommend that you try to bypass the OPC Server. The FieldPoint Ethernet modules use a NI ethernet protocol that is proprietary so there is no information or examples on doing direct communcation using winsock.

  • Looking for istructions/examples for using winsock in Labview

    I'm looking for instructions or examples of using winsock in Labview. Looking in the NI examples I found an example using winsock UDP with Labwindows but nothing for Labview. Is the same function named different in Labview?

    Thanks for the links. Unfortunately, I am specifically looking for the ways to use WinSock (I want to collect data from a number of remote locations and the WinSock would provide me with an effective way to
    a) control the telephone number to be dialed (different for different remote stations)
    b) provide me with TCP/IP, so I could use the full power of LabVIEW seeing a remote computer as an IP address (and being able to use shared variables, web server, data socket etc. instead of me having to program all that myself)
    The other acceptable way would be to utilise a driver for a virtual network card (so I can programmically access it as TCP/IP on one side, and as a flow of bytes on the other, "virtual network cable", side). Any suggestions in this direction? By the way, it would be the best if the National Instuments would do such a virtualisation themselves. It would allow to utilise a number of solutions painlessly.

  • Call report from forms6i, use report server from 10gAS

    Hi there,
    I have been searching for any info I can get that will help me to do the following:
    I want to call an Oracle 6i report from Forms6i but I want to specify a Report Server running on an Oracle10gAS box. Can this be done in a client/server fashion, meaning the forms/reports are on a Citrix box, accessed by many users.
    Everything is working fine, using "RUN_PRODUCT" and the "Report Background Engine" to generate the report on the Citrix box. However, I want to use the report server from 10gAS runinng on another box, to generate these reports.
    Please reply with any help you give.
    Regards
    shak

    Hello,
    You can use the compatible element in the reports server configuration file :
    Description
    The compatible element is available for backward compatibility with Oracle Reports 6i clients (RWCLI60.EXE, RWCGI60.EXE, RWQMU60.EXE, RWRQM60.EXE, RWRQV60.EXE, 6i Forms). When compatible is set to 6i, Reports Server will make use of an executable file named rwproxy that listens for requests from a 6i client and forwards them to a 10g server.
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm#i1005999
    Regards

  • Insert/Update/Delete in forms6i using Objects table in Oracle9i server

    I am using Oracle 9i server and dev 6i (forms6i).
    i have a form based on Object tables (including REF's items). when i try to insert update, delete the reocrd in the form, it gives error.
    Insert/Update/Delete failed because of OCI_22132: hexadecimal string does not corresopond to a valid REF.
    when i remove REFs items from form (not from database) then it does all functions (insert,update,delete,query).
    Actually i haved used this form with Oracle 8i and it did all functions(insert,update,delete,query). i am using the same tables and types definations in Oracle 9i but it is not working.
    Note: Insert, Update, Delete, or Query is not being done through forms when using REFs items. Others tools like sql*plus are performing the same actions very well.
    Please help.
    I will be thankful to you.
    M. Faisal.

    user563114,
    As James (padders) told you in his reply to a similar question that you posted (Typed tables is treated in the same way as a relational table?) in the Typed tables is treated in the same way as a relational table? forum, the only way you can tell for sure is to try it out both ways, measure and compare the times.
    Of-course, there are many factors that effect the time, apart from whether you use a nested table or a regular table.
    Good Luck,
    Avi.

  • Problem with forms6i using Pre-Insert Trigger

    I created a block level pre-insert trigger to do some validations and when I save the first time with wrong data it is working fine and popping up alerts that I defined but if I press save the second time it is saving even though the data is wrong.
    This is in Applications 11.5.10 using all the property classes and running on the server.
    I created exact replica of the form(no applications, property classes
    just basic form but with same functionality) and ran it on my local machine it is working fine. It is giving error till the data is fixed.
    Anybody know why?
    Thanks in advance

    It did not work. It is still doing the samething. Actually it is popping up my alerts but saving the record first time itself. Is there any way I can tell it not to save if the data is wrong. My code is below it basically pops up the alerts but doesn't tell anywhere not to save it.
    Thanks
    VJ
    declare
         v_amount number;
         alert_id      ALERT := Find_Alert('amount_from');
         alert_id1 ALERT := Find_Alert('amount_to');
         dummy_var NUMBER;
    begin
         select max(ssibe_amount_to) into v_amount from ssibe_orderappr_tab where
              ssibe_account_number = :ssibe_orderappr.ssibe_account_number;
              if :ssibe_orderappr.ssibe_amount_from <= v_amount
              then
                   Set_Alert_Property(alert_id, ALERT_MESSAGE_TEXT, 'Amount_From should be greater than '|| v_amount);
                   dummy_var := Show_Alert(alert_id);
              else
                   IF (:SSIBE_ORDERAPPR.SSIBE_AMOUNT_TO <= :SSIBE_ORDERAPPR.SSIBE_AMOUNT_FROM)
                   THEN
                   dummy_var := Show_Alert(alert_id1);
                   end if;
              end if;
    end;

  • How to create block in forms6i using database stored procedure

    can anyone tell me how can i can create a database block based on procedure rather table ?

    Hi Asif,
    here is a little demo and source code :
    http://www.friedhold-matz.de/chk_plsqltab-9i.htm
    http://www.friedhold-matz.de/plsql-tab.zip
    Hope it helps.
    Friedhold

  • Can not connect from Forms6i to PO8i.

    Hi,
    My PC is a NT named 'oracle'. I have first installed Forms6i in DEFAULT_HOME, c:/orant.
    PO8i is installed as:
    Oracle Home: ora8i
    Full Path: c:\orant\ora8i
    Choose Typical Install
    Global Database Name: ora8i.oracle.master.com.au
    SID: ora8i
    Then I added an entry in c:\orant\net80\admin\tnsnames.ora as:
    test.world
    (DESCRIPTION
    (ADDRESS_LIST
    (ADDRESS
    (PROTOCOL = TCP)
    (Host = 127.0.0.1)
    (Port = 1521)
    (CONNECT_DATA = (SID = ora8i)
    I can connect to PO8i from SQL*Plus using scott/tiger or scott/tiger@ora8i.
    When I tried to connect to PO8i from Forms6i using scott/tiger@test or scott/tiger@ora8i. I got ORA-12154: TNS:could not resolve service name.
    If I use scott/tiger@test from SQL*Plus, I got the same error.
    If I use scott/tiger from Forms6i, I got ORA-12203: TNS:unable to connect to destination.
    Help please.
    Sue
    null

    Try taking off the .world in the NET80 tnsnames.ora file
    Jason Pepper
    Snr Product Manager
    Oracle Enterprise Internet Tools

  • Error 0x80090318 and lots of other errorsI live in Iran  Yesterday i wanted to use itunes store for windows ; when i have open itunes it gives me the error 0x80090318 .  I have search the wb alot and i have check lots of Iranian and English website but ha

    I live in Iran
    Yesterday I wanted to use iTunes store for windows ; when i have open iTunes it gives me the error 0x80090318 .
    I have search the web alot and i have check lots of Iranian and English website but have not find any solution for
    this problem . Today I have find a software called "Hide my IP" i have opened up that
    when this software was opened , itunes have said "iTunes can't verify the identify of the server "init.itunes.apple.com"".
    then i have click on "continue" then iTunes said "iTunes could not connect to the iTunes Store. An unknown error occurred (310)."
    And theres a matter that i think that have a connection with this topic and thats , that when i want to go to the lots
    of websites like Google Yahoo! Mail and lots of other website my both browser ( FireFox and IE ) will say" This connection is untrusted " .
    I think the solution of my second problem is the solution of my first problem too !

    Tried all the rest on this site did not work for me
    Follow the link below & this one sorted it for me, it was a conflict in programs using Winsock & I got rid of my old program,
    Sorted.
    http://support.apple.com/kb/TS4123
    Tom Ireland

  • Example VIs for winsock with LabVIEW 7.0

    Are there any example VIs for TCP communications with winsock using LabVIEW 7.0?

    I would like to join the request - I would like to know how to use WinSock from within LabVIEW to use a modem to dial a number and connect to another PC with a modem. An extra complicaiton is the fact that I need to be able to vary the number (to access numerous data acquisition stations).
    Message Edited by alysko on 03-08-2006 03:57 PM
    Message Edited by alysko on 03-08-2006 03:58 PM

  • Forms6i running on 9ias 9.0.2.01

    Hi All
    Is it possible to run forms6i using Oracle9ias Relase 2. (forms created using forms6i version 6.0.8.11.3 and running using Oracle9ias 9.0.2.1 (relase 2) Application server) If possible , what are the requirements.
    I have read some documents, which says about Patchset 10. But I could not find this patch set. From where i can find details about this patch set.
    Thanks
    Sreekumar

    6i Forms can only run on the 9i Application Server release 1
    9i Forms run on 9i Application Server Release 2
    which means you would have to upgrade the forms. Generally speaking this will be a case of just regenerating the fmx files on the 9i Release 2 platform.
    Regards
    Grant Ronald
    Forms Product Management

  • Forms6i

    Dear friends,
    please Answer my question as early as possible(immediately)
    1) How to debug in forms6i using tool debug menu.
    2) Is it possible to open worddocument in forms6i using editor
    object.Rather than opening an notepad (if it is system_editor)
    3) what is 6i(define)
    4) What are the Activex controls in Forms6i & how to use it?
    5) When we go for multiple forms(module) &windows?
    one module is sufficeint for the application?
    6) How to use javaBean in forms6i?
    My e-mail id is [email protected]
    thanks
    regards,
    kamala.

    Hi,
    i Think you are using Oracle 8i.
    Check if u have started the Listener. Go to Services and See if
    the Listener Service for Oracle is running.
    If Yes Then
    Did u create the Service name in tnsnames.ora Using the net8
    Configuration Utility.
    If Yes Then
    Did u Give that Service Name while connecting to the Database.
    I think the first one is your problem. Check it out and revert
    back if anything more is needed....
    Regards,
    Ganesh R

  • Help-Is 9ias a necessity even for client server deployment of forms6i

    Hi
    Is 9Ias a necessity even for client server deployment of forms6i using developerSuite. I have been told that Oracle no longer markets Forms Server?
    Ganesh.

    No for client server deployment you don't need iAS.
    On the second issue Forms server (the bit of forms used to web deploy) is no longer sold stand-alone - it is part of the iAS suite.

  • Create Hierarchy using listitems

    Hi all
    I need Some help From anyone
    I want to create Hierarchy for list items in Forms6i using add_list_element and Delete_List_element OR any other alternative
    .....Your Help will be appreciated
    HTH
    RangaReddy

    create a table and populate the table
    Create Table MyTreeData
    (INITIAL_LEVEL             NUMBER,
    NODE_DEPTH                NUMBER,
    NODE_LABEL                VARCHAR2(10),
    NODE_ICON                 VARCHAR2(30),
    NODE_DATA                 VARCHAR2(40),
    NODE_PARENT               VARCHAR2(10),
    NODE_EXPAND_FLAG          NUMBER);
    Insert Into MyTreeData Values (-1,2,'Car','','CAR','TRANSPORT',0);             
    Insert Into MyTreeData Values (-1,2,'Plane','','PLANE','TRANSPORT',0);         
    Insert Into MyTreeData Values (0,2,'Bike','','BIKE','TRANSPORT',0);            
    Insert Into MyTreeData Values (1,1,'Transport','','TRANSPORT','',1);           
    Insert Into MyTreeData Values (0,3,'Honda','','HONDA','CAR',0);                
    Insert Into MyTreeData Values (0,3,'Boeing 747','','747-400','PLANE',0);       
    Insert Into MyTreeData Values (0,3,'Mazda','','MAZDA','CAR',0);                
    Insert Into MyTreeData Values (1,1,'Food','','FOOD','',0);                     
    Insert Into MyTreeData Values (-1,2,'Fruit','','FRUIT','FOOD',0);              
    Insert Into MyTreeData Values (-1,2,'Vegetable','','VEGETABLE','FOOD',0);      
    Insert Into MyTreeData Values (0,3,'Spinach','','SPINACH','VEGETABLE',0);      
    Insert Into MyTreeData Values (0,3,'Carrot','','CARROT','VEGETABLE',0);create a form and a data block and named it as MYTREE
    create a base item with item type as hierarchical tree and named is as MYTREE
    on the base item property enter the code at the Data Query property
    SELECT initial_level, node_depth, node_label, node_icon, node_data
      FROM MyTreeData
    START WITH node_parent IS NULL CONNECT BY node_parent = prior node_datacreate a data block trigger WHEN-NEW-BLOCK-INSTANCE and create the code as follows:
    Declare
         vTree Item;
         Top_Node FTREE.NODE;
         Find_node FTREE.NODE;
    Begin
         vTree := FIND_ITEM('MyTreeBlock.MyTree');
         FTREE.POPULATE_TREE(vTree);
    End;     run the form. hope this helps.

  • Any succesfull install of Forms6i in HTTPS mode ?

    Has anybody succecfully installed Forms6i using OAS 4.0.8.0 on solaris in HTTPS mode.
    If yes can you please advice on any major issues that you have faced.
    We are trying to get this thing running, we have installed the certificates and everythinf runs fine on HTTP mode when using the secure socket the form is not displayed.
    Any ideas what might be going wrong ?
    Any help will be highly appreciated
    Sunil

    I have tried calling Oracle support but they do not have a clue. All they could help with was follow the installation instructions as no one has hands on experience of Forms 6i in HTTPS mode.
    Cheers
    null

Maybe you are looking for

  • Delivery with reference to project

    Hai experts Can we do delivery from project........... document type :  LP i read In which senario it will used......... Thank u regards anjan

  • Intra-Company Stock Transfer PO is requiring vendor inv to bill customer

    I am trying to configure a process where a new item category on a sales order will trigger a purchase requisition (new req type) to create a UB purchase order.  When I deliver the PO from the supplying plant, then do the goods receipt in the receivin

  • Java sites don't always work

    seams that my other post has moved to Nirvana. Can anyone tell me why this site(http://planetcnc.com/temp/) doesn't work. I'm having the same problems with a internal site. Found this at http://outpostfirewall.com/forum/sho...pp=15&highligh t=java .

  • I NEED A LINK TO DOWNLOAD PCI DEVICE DRIVER

    Am using a hp dv6 notebook, and I lost some of my drivers. presently I need a link where I can download pci device drivers.

  • WRT54g router DHCP problems (I think)

    I just got a wrt54g wireless router for my organization hooked it up and started having problems. I set the router to use DHCP and *tried* to set the "Maximum Number of DHCP Users:" to 15 and clicked "Save Settings" but when I went back to that scree