ActiveX error - treeview control
Has anyone solved the problem with WIN XP SP2?
The error ("Server exception") happens in the second line
AcXTree.ClassID = "MScomctllib.TreeCtrl.2"
oTreeView = AcXTree.Object
It works well with any other WIN OS
Thanks in advance,
Dario
Hi,
I think this is a PROG ID issue. you please check the PROG ID of activeX control in your OS and try with that.
With Regards
B.Ravi Shankar
Similar Messages
-
429 ActiveX error on Control Tables
Hi,
We just migrated on application into a different FDQM enviromnet. In the workbench, when we open control tables, we get a 429 ActiveX error. Any help will be appreciated..This error normally pops up if the target client (HFM/Enterprise) is not installed on the WorkBench server or PC.
Also it could be that you don't have a machine profile for the pc/server you're running WorkBench on. -
Building a TreeView control without ActiveX
It's interesting, how to build TreeView control in LabVIEW without using of ActiveX technology? For example, LabVIEW Menu Editor (see attachment) has such control. This control seems to be developed in LabVIEW. Are anyone know, how to program such control? I have only idea to use multicolumn ListBox with hidden grid lines. But I can not insert picture (or color text) in it. The developers of LabVIEW can do it (see attachment)!
Attachments:
TreeView.zip 11 KBAh yes, another LabVIEW "Holy Grail".
I think you may be making a huge assumption that this wizard was created in LabVIEW. NI doesn't always use LabVIEW for these things.
To see an example of what I believe is the best you can do with LabVIEW's standard tools to create a "tree view" check out the File Manager, located in the "Tools" menu under "VI Library Manager". This is a shining example of the best that most people can do using a List Control and the available symbols.
Don't get me wrong, LabVIEW is capable of creating a true list view; however; you don't have the patience to write the code, as I would never try that.
Perhaps someone will (or already has) created one, and has made this available. If you find one, let us all know, because we a
re all seeking this Holy Grail too...
PS: If I had to make a bet, I would guess that this wizard was either created using Visual C++, or perhaps even Visual Basic. Just don't tell anyone at NI I said the VB word... -
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,
RahulI 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 -
Since installing Flash 9 I am having a problem that seems to
be ActiveX related. In Firefox, whenever I go to a page with Flash
I get an ActiveX error box telling me: "Could not create control
{00000000-0000-0000-0000-000000000000}. Check that it has been
installed on your computer and that this page correctly references
it." When I click on OK in the message box, the page finishes
loading and seems to run fine. In IE, I usually just get a crash
and the browser is forced to close. I really doubt that any control
would have a name containing all zeros!!! What in the world
happened here? Any ideas?Hey the cleanup method didn't work.
However, i could get the latest flash installed without the package, for some reason it keeps failing with the package. Version 11.8 and under installs with the package.
I know the package works because we've used the same package for thousands of other machines and they've worked.
This is an interestin issue -
Add New Node - Adobe Director Microsoft Treeview Control 6.0 xtra?
Can some one help me on how to add new node to TreeView Control provided as xtra with Adobe Director. Tried using sprite(1).Nodes.Add but not working. Please assist
Right, I am accessing the control via Insert ->Controls -> ActiveX -> Microsoft Treeview. (unable to find any documentation)
I am actually trying to make a treeview and on selection do some stuff.
I have tried using CxtraPopup to create the same but when publishing it says unregistered version.
Can you please suggest any xtra that supports Menu.
Thanks -
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 -
Hi,
what is the recommended way to include a TreeView Control in applications built with LabVIEW 7.1?
I think there are at least two ways possible:
1. Use of the build in "Tree" control of LabVIEW
2. Use of ActiveX Technology with the Microsoft Control
What are the advantages and disadvantages of these two solutions?
Please provide some examples!
Kind regards,
SunnyI agree with Jim. Try to keep using one language without any external tools unless they are written in the same language.
Using LV8.0
Don't be afraid to rate a good answer... -
I have a problem while installing 9iAS R2 on RH LInux 8.
When database configuration assistant starts during the installation of 9iAS infrastructure, it gives an error "Error creating CONTROL FILE" followed by many other errors.
Please help me out.
ZulqarnainI had the same problem, but with RH9
To fix, I ran orapwd from the $ORACLE_HOME/bin directory to create a password file called orapw. Then I moved this file to the directory where the configuration assistant complains it cannot find the file. Fixed. Obviously, just ignore the errors from the configuration assistant about the CONTROL FILE until it tells you the location of the file it is looking for. -
Error in Control Framework: Background job failed
Hi Experts,
One background job failed with job log: Error in Control Framework in ECC 6.0 system; the job is supposed to produce a XML report. Can anyone please give some idea on this why it could happen? One SAP note 893534 has described same kind of issue but in CRM system. That note even cant be implemeneted in ECC 6.0. Any workaround? Is it a BASIS issue here?
Thanks & Regards,
SKBHello,
please check the variant. We had this problem, and when checking the variant I got a shortdump because the variant did not fit to the program (there were problems with subscreens in the selection screen). After adjusting the variant with program RSVARDOC_610 the variant was ok.
I can not check if this solved the problem because the job runs weekly, and the next job is on Monday. But give it a try...
HTH,
Jens Hoetger -
Error in Control Framework with GUI_DOWNLOAD FM
Dear All,
I am using GUI_DOWNLOAD FM to download a file in PDF format to presentation server.
The code has been written in an enhancement spot in a class "/SCA/CL_SVORDER", method "Print" on an SNC server.
On execution I get the error "Error in Control Framework".
First I tht that this has something to do with the data table. But when I tried to pass a simple table of Integers in ASC format, it gave the same error.
Please assist.
*----Begin of Code Snippet
data: fullpath type STRING value 'D:\temp\PO.pdf',
bin_filesize type I,
filetype type char10 value 'BIN'.
bin_filesize = numbytes.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = bin_filesize
filename = fullpath
FILETYPE = filetype
IMPORTING
FILELENGTH =
tables
data_tab = t_data
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*----End of Code SnippetHi!
I have the same error, but i need to use CSV Format.
in another program, i used this with XML format.
lv_xml = lr_element->to_xml( ).
Converts the string to xstring
lv_xxml = wd_this->convert_file( lv_xml ).
Shows it in a new browser window
*cl_wd_runtime_services=>attach_file_to_response(*
*i_filename = lco_filename*
*i_content = lv_xxml*
*i_mime_type = lco_mime_type*
*i_in_new_window = abap_FALSE*
*i_inplace = abap_false ).*
Regards! -
Issue in treeview control along with page viewer web part showing the sub sites from MMS
hi,
Am having a treeview control populates with values from MMS - Managed Metadata Service.
[ Products ]
----->ms office
----->word
----->excel
---->powerpoint
-------->Collaboration
----> sharepoint 2003
----> moss 2007
----> sp 2010
-----> lync
all these values excel, word, powerpoint are sub sites created under ms-office site collection.
and sharepoint 2003, mos 2007, sp 2010, sp 2013 are sub sites created under collaboration.
now, on the page load, end user clicks on word and he should navigate to the sub site "wordsite" and it should show the home page of word sub site.
we have created a page viewer web part and assigned the url property of the page viewer to the sub site url.
but the issue is, when end user clicked on the child node "powerpoint", the page did a Post Back and treeview control immediately collpased and it shows the Products [top level - parent node] only.
Am unable to set the current selected value- ie here its excel and show the excel node in the trewview.
how can i get this child tree node as the selected node.
help is highly appreciated!Check if below can help
http://thechriskent.com/2012/05/09/changing-the-default-expansion-of-metadata-navigation-on-initial-page-load/ -
Error in Control Framework in smart forms programms use GUI_DOWNLOAD
IN VF02 smartforms ENTRY form , I add a function about save PDF at local PC. When I print the smartfomrs,There is ERROR message in update modules.
IN SM13 can see the ERROR message.
Function Module: RV_MESSAGE_UPDATE
Status :Update was terminated
Error details: FES 022: Error in Control Framework
I USE GUI_DOWNLOAD FUNCTION at my code. WHEN I mark it,no error message. I must use the Similar function.
How do I solve this problem???Hello,
Check the thread:
Re: Error in Control Framework in smart forms programms
Regards,
David -
Hey,
I recorded a test script which involved recording of some values in GridView Control. I was using SAPGUI(record). The recording went fine but as i executed the test case it resulted in an error saying ..
Error in eCATT function SAPGUI
Error in Control
The error is pointing to the screen where it has to start entering values in the grid. The execution stops there and gives me the error as stated above.
I am Using Solution Manager 3.2 with Web AS 6.20 to run eCATT. My SAP GUI is 6.40 with Patch level 8. Is there any limitations as such on Grid Control or some setting which might be missing. Please help me out ASAP.
Regards,
Bilal NazirHey Sasmita,
Well I did a lot of research on it on my own and created quite a number of test cases and was finally able to deduce what actually the problem is.
This problem occured to me when the visibility of the controls especially Grids was dependent on the input data. Usually what happened was that upon recording the follow of screens that actually occured was not happening upon Replay. It was basically because of the state the screen is in when we leave a transaction. I changed the setting to "Do not Close Session upon Completion" so that i had the replay session available to me at the end or Replay. And i saw that the screen was not at the state that it should be. So what I did was changed the screen state on to which it should be at that time and then left the transaction. Now when i Replayed the test case next time it executed perfectly without any errors.
So basically the problem lies within just the dynamic controls and what we have to ensure is that before we replay the script we exit that transaction from a state which we want it to be in upon replay.
Regards,
Bilal Nazir -
Hello,
Can someone please explain what this error means "Error in Control"? I am using SAPGUI command to record and execute. I create a custom document and once created that doc appears in the grid on the upper half of the screen. I click on the created document to check/change values of different columns. Now while recording the click operation opens the document i created however while executing it does not open the document created. It opens some other document which is there in the grid.
command editor contains following information
Userchanged State
GuiElement Shell GuiShell GridView
Name Shell
Type GUI Shell
SubType Grid View
State
currentCellRow
Name CurrentCellRow
value[1]5
clickCurrentCell.
And I get the Error In Control message while executing.
Thanks,
GS>
Rajeev Chavan wrote:
> Hello,
>
> Can someone please explain what this error means "Error in Control"? I am using SAPGUI command to record and execute. I create a custom document and once created that doc appears in the grid on the upper half of the screen. I click on the created document to check/change values of different columns. Now while recording the click operation opens the document i created however while executing it does not open the document created. It opens some other document which is there in the grid.
>
> command editor contains following information
> Userchanged State
> GuiElement Shell GuiShell GridView
> Name Shell
> Type GUI Shell
> SubType Grid View
> State
> currentCellRow
> Name CurrentCellRow
> value[1]5
> clickCurrentCell.
>
> And I get the Error In Control message while executing.
>
> Thanks,
> GS
Hi,
The issue is only due to some unexpected screen sequence.
What can be done to solve this?
1)Check the flow and you can activate the highlighting feature while executing and you can identify the error where it goes wrong?
2)You may need to re-record with maximum options.You have to make few screens optional.
This will solve your issue.
Regards,
Senthil
Maybe you are looking for
-
Allow the external access to the query massage for WEBI in BO 4.0 ,
Hi , I created the BEX query and in query properties I checked " Allow External access to this query" and saved the query but this check box option " Allow External access to this query" is not saving . is there any note need to be implimented for
-
I am trying to sort photos in an album in a random fashion, like an iPod would shuffle songs. Except here's the small difference, every twenty photos or so I need to insert a specific photo. Playing the slideshow allows for a shuffle, but I want to s
-
Non-wireless or Bluetooth keyboard?
I am thinking of using an external keyboard. Does a Bluetooth keyboard work well? My particular concern is about iPhone's battery. Does using a Bluetooth keyboard need a lot of iPhone's battery? I might also consider using a non-wireless (non-Blue
-
I built a system that applies motion control to two axes and also takes data from a third axis encoder. The program structure is parallel timed loops (one motion control loop, one data collection loop, one host communication loop) with front panel.
-
I updated Photoshop yesterday and now it will not launch.