RE: ActiveX control and Active Server Pages?

Martin, if it works in standalone VB program but not in an .asp page
through VBScript, I guess the reason may be the type mismatch on the
parameters of the ActiveX automation methods. VBScript is a subset of VB
and only supports the OLE data type VARIANT for calling the OLE
interface. The Conductor ActiveX control probably requires the actual
data types, such as long, BSTR, and so on, to be used on the parameters.
As a result, VBScript cannot call the methods on the control. One
workaround you can try is to create your own ActiveX control which is
simply a wrapper for calling the Conductor control. Its parameter types
use VARIANT and you do the data conversion in your wrapper code. Hope
this helps.
Lenny Hon
Descartes Systems Group
-----Original Message-----
From: Martin Peters [SMTP:[email protected]]
Sent: Monday, July 27, 1998 10:50 AM
To:
Subject: ActiveX control and Active Server Pages?
Hello Forte users,
Did anyone try to use the ActiveX control that ships with Conductor
1.0G in an Active Server Page?
I tried to use the ActiveX control without luck, so a sample would be
appreciated. The code
works fine in Visual Basic.
Below the code:
<HTML>
<BODY>
<%
Set thisDirectory =
Server.CreateObject("CONDUCTORCLIENT.WFDirectoryServiceCtl.1")
Set thisEngine = thisDirectory.WFFindEngine("ceengine", "centrale")
Set thisUser =
Server.CreateObject("CONDUCTORCLIENT.WFUserProfileDescCtrl.1")
thisUser.New
thisUser.ProfileName = "MiniUP"
thisUser.userName = "martin"
' The following call fails: Invalid procedure call or argument:
'thisEngine.OpenSession'
Set thisSession = thisEngine.OpenSession("CREATE", thisUser, "martin",
0)
Set thisProcess = thisSession.CreateProcess("MiniPD", Empty)
thisSession.CloseSession (WFSESSION_TERMINATED)
%>
</BODY>
</HTML>
Martin Peters
COMPAQ
NSIS - AD&I - Application Connect
email <[email protected]>
phone: +31 (30) 2834902
fax: +31 (30) 2834980
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

I don't have 6.1 in front of me now. I came up with a workaround for my application when I encounted this problem. I created an attribute node for the container and the tab control. Whenever the tab control was not on the page with the control, I made the container invisible. This then hid the activeX control.

Similar Messages

  • Error : OraOLEDB (0x80004005) & Active Server Pages error 'ASP 0115'

    I have developed a project and opened recordsets as mentioned below
    With Rs
    .Open "Query",Application("Cn")
    If not (.eof and .bof) then
    .Movefirst
    End If
    End with
    The error 'OraOLEDB' showing at .Open statement. When we refresh page multiple times then Active Server Pages ASP 0115 error occures. Which is get resolved only when I reboot the Web Server or restart the web services.
    OraOLEDB error raises frequently while application running. In between some time it skip the error and show the page perfectly.
    Co-operate me just by suggesting how to resolve this problem.

    Row-00001 occurs when a windows api call to allocate memory failed.
    This can occur due to a memory leak, or memory fragmentation.
    Have you monitored private bytes and virtual bytes?
    There was also an issue in old versions of the provider that caused this, so make sure your oledb provider and oracle client software are up to date.
    Hope it helps,
    Greg

  • Flash player 10.1 Help ( ActiveX control and Download manager)

    I've been trying for several hours to download the new flash player 10.1. I tried everything in the FAQ and still nothing. I tried un-installing the older version that I had (9.3.3),   and still nothing.Then when the download manager gets to the end of the download, it keeps saying Error: Installation failed but Adobe Air was still able to download so the problem is obviously flash 10.1. Then it tries to finish installing it and when its done it says that it couldn't register ActiveX control and that error 19166 occured. I already enabled ActiveX so I dont know what the problem could be.
    Help would be appreciated and could someone explain what error 19166 is and how to register or install activex
    ps. I had this problem a while back but somehow I was able to download flash version 9.3.3, so even if I can't download 10.1, can someone give me a link to download version 9 instead.
    System information: Windows 7
                                  Internet explorer 8
                                  32-bit
                                  Norton 360

    Thanks for your reply.I've tried/done everything on that page and I'm still having issues. And I've already disabled Norton and windows firewall and still nothing works.

  • Getting - Active Server Pages error 'ASP 0126'

    I get the following error when applying the upload function
    to my already made form.
    Active Server Pages error 'ASP 0126'
    Include file not found
    /sitename/sitepage.asp, line 2
    The include file 'dwzUpload/DefineVariable.asp' was not
    found.
    The top of my code on "Sitepage.asp" looks like this:
    <%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="dwzUpload/DefineVariable.asp" -->
    <!--#include file="Connections/connBest.asp" -->
    <%
    '* ONLY UPLOAD *
    http://www.DwZone-it.com *
    server.ScriptTimeout = 5400
    Dim RG_Connection, RG..........
    I can supply more information if need be. Your help is
    greatly appreciated!
    Thanks,
    Matt

    "dwzUpload/DefineVariable.asp" location is:
    C:\inetpub\wwwroot\sitename\dwzUpload.
    So it's located in the site root, inside the dwzUpload
    folder.
    I am currently running the site on my local machine with
    IIS7.
    I don't get an error if I remove the 'upload' function on the
    site, but the site needs to offer upload of image files. Not sure
    where to go to from here.
    Thanks,
    Matt

  • Does Forms are OK for Active Server Pages?

    Hello,
    I need to develop a brand new LC custom Adobe Interactive Form, say my_Form, well, but the customer is telling me they want to have it on Active Server Pages technology, pls. let us know
    1) Is it possible, I mean, my_Form on Active Server Pages technology?
    2) Pros
    3) Cons
    4) If possible, What settings / pre-requisites I need to take while developing the my_Form? or What I need to keep in mind while developing the my_Form? Any suggestions, tips?
    Thank you

    Thank you.
    On Wed, Sep 24, 2014 at 6:21 PM, jnicholas330 <[email protected]>

  • Help me with my activation password and activation server address

    hei.. yesterday i tried to wipe my blackberry.. and then all of my data lost.. when I open my setup wizard, then open my email set up, i need activation password and activation server address.. but i don't know what mine.. how is it?
    please help me..

    Hi hikarisora
    Welcome to BlackBerry Support Forums
     Before going to email setup , try registrating your device with your wireless sevice provider .For that  : 
    On the Home screen of the BlackBerry smartphone, click Options, or click Settings > Options
    For BlackBerry Device Software 4.1 to 5.0, Advanced Options > Host Routing Table > 
    Press the Menu key and click Register Now
    Wait till a Registration messages comes in your message box.
    KB00510 How to register a BlackBerry smartphone with the wireless network
    After getting the registration message on your device try setup wizard again.
    Good Luck.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Could WebLogic Server run/host Microsoft Active Server Page (asp)

    Hi Experts,
    I would like to know if webLogic Server could run/host Microsoft Active Server
    Page application by itself or not? Or is it required to buy any additional plug-in?
    Thanks in advance for your help.
    Carol

    This is what the "ChiliSoft" division of Sun is for. I've never used it, but that's
    what this does. The short answer is (I believe), that WLS can't host ASP pages,
    without adding some sort of plugin or component to run them.
    "Carol Chiu" <[email protected]> wrote:
    >
    Hi Experts,
    I would like to know if webLogic Server could run/host Microsoft Active
    Server
    Page application by itself or not? Or is it required to buy any additional
    plug-in?
    Thanks in advance for your help.
    Carol

  • Web browser and script activeX controls and HTML data

    Hello,
    I'm trying to use the Microsoft Web Browser (IWebBrowser2) and Script (IScriptControl) activeX controls in Labview to evaluate and execute HTML script.  If I wire the web browser control's document object to the object input of the Script control's AddObject method, I can then evaluate/execute script such as "document.f.btnI.focus();" and such (in this case corresponding to Google's home page).  However, there are other expressions that include the "window" object that are proving much more difficult to work with.  Although I can browse the document object's parentWindow object via the property browser, if I try to access that object programatically, I get the error "Error -2147467262 occurred at No such interface supported".  I'm wondering how to include the window object for scripting.
    I'm writing a content-oriented web crawler.  I've been writing it with pretty low level TCP functions, handling 301/302 "object moved" and "<META HTTP-EQUIV="refresh" CONTENT="0; url=http://millercountyliberal.com/">" redirections manually.  But there are other automatic script-based redirections like:
    <script language="JavaScript" type="text/javascript">
    <!-- window.location="http://www.jrnl.com" -->
    </script>
    that I'm still trying to figure out how to work with.  As you can see, to work with that one manually involves the window object.  The reason that I don't just let the Web Browser object handle the redirections is because that object often throws script errors, downloads embedded graphics and other unnecessary components, can't handle some non-standard redirections, and sometimes annoyingly crashes.  Any help would be appreciated.  A code sample is attached.  The Web Browser control should already exist on your machine if you have Internet Explorer installed.  The script control may need to be registered before it can be used as follows:
    regsvr32 "c:\MyDir\XHTTP.dll"
    Thanks.
    Attachments:
    HTML Script Testing.zip ‏773 KB

    Hi Ted,
    This seems to be a problem with the way you are referencing the ActiveX properties.  I would research a little more on the API for these objects.  See http://msdn.microsoft.com/workshop/browser/webbrow​ser/reference/ifaces/iwebbrowser2/document.asp for an explanation of the IWebBrowser2 Document property.  I am suspicious of where you are typecasting the Document variant into the IHTMLDocument2 object and this is where the error is being thrown.
    A search of this error code on Google shows that this is a generic error from the ActiveX object, and not a LabVIEW error, although it is confusing since LabVIEW uses error codes in this same range.
    Hope this helps!
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • Overlay an item over an activex control and/ or disabling the mouse scroll wheel

    There seems to be several references in the discussion forum to placing a picture control over an activex item to prevent the activex item being selected etc.
    The thing is, I can't seem to do it: the activex control is always on top, no matter what I do and no matter what control, or decoration I use.
    What am I doing wrong?
    Failing that, is there another way of stopping the user getting access to the activx control?
    Essentially what I want to do is stop them accidentally scrolling through the control's pages with the mouse scroll wheel. I've stopped them accessing the scroll bars, BUT it is still possible to use the scroll wheel unfortunately.
    Something else I tried was a tab control: placing the activex control on a page and then trying to make the page on top transparent. Needless to say that didn't work....
    Andy

    Important questions:
    What ActiveX control are you using?
    I'm using the PDF activex control to display a PDF on the front panel of my VI.
    What version of LabVIEW are you using?
     I'm using LabVIEW 7.1
    What "control pages" are you talking about?
    The pages of the PDF: it has several pages. If a mouse is held over it the user can scroll using the scroll wheel, or if they right click they can access the Adobe menu.
    It's these that I'd like to inhibit them doing.
    Thanks
    Andy
    Attachments:
    Display PDF 7.1.vi ‏98 KB

  • RELATION BETWEEN ACTIVEX CONTROL AND THE TRANSACTION.

    HI,
    I WANT THE RELATION BETWEEN TRANSACTION AND ACTIVE X CONTROL IN TERMS OF GUI AND TCD TEST CASES.
    ARUN REDDY I

    is your CAPS lock key locked? if not kindly do not use all upper case.
    Coming to your question.
    what do you mean by relation between activex & transaction? if you could clarify more we may be able to help.
    Raja

  • ActiveX controls and clear_form

    If you use ActiveX controls in forms and issue a clear all from
    the menu, or a clear_form built-in, it will kill any ActiveX
    controls in the Form. Once I set a key_clear trigger to clear my
    master data block and used clear_all_master_details to flush all
    the data blocks in my form, leaving control block alone, my
    ActiveX controls stopped crashing.
    I didn't find this mentioned in the documentation, and thought
    someone might be able to save themselves some aggravation.
    null

    Hi,
    to have pure html controls in jspx, I have one idea, for example for < br > tag this is:
    < br xmlns="" / >
    It works, but I think with activex it's not so simple. I tried :
    ' <object xmlns="" id="ThermalLib" height="0" width="0" classid="clsid:904511D2-5407-4033-8DAD-07B33EC7317E"> '
    But it doesn't work.
    Did you solve this problem?
    Mayby somebody know how to launch activex from jspx?
    regards,
    basementjack

  • Concurrent  ActiveX control and QTML library access limitations

    I have a .Net app that uses the QuickTime ActiveX control for read-only display of movie files. The app also uses the QTML SDK through an 'unmanaged' library for creating and editing movie files.
    I am finding that, when flattening a large movie through the SDK, the ActiveX control interface is blocked. On completion of the SDK operation, the control's behaviour returns to normal. Note that different movie files are in use for each interface. What are the constraints for using the two interfaces concurrently?
    Thanks,

    Technical Note TN2125 implies that this is expected behaviour:
    "Additionally, QuickTime is completely serialized on Windows only allowing a single thread to call into the QuickTime Library at any one time. If one thread is performing a QuickTime operation, any other thread making a QuickTime API call will block waiting for the previous operation to return."
    It would be useful to know how QuickTime Player does not also have this same restriction, as it is possible to manipulate multiple movies concurrently in Player.

  • Writing .asp Active Server Pages and calling Crystal XI in a COM+

    We have some old applications we are trying to update to Crystal XI.  We have done case 1219676 - How to run the RDC in a COM+ applicaiton package.  When we run the report the report generator comes us but no data or fields display.  We also do not receive an error.  We are trying one of the test reports below you can link on to see the result.  I am at a loss what to try next.
    http://www.flypets.com/orders/test_cr11/SimplePreviewReport.asp

    It's 404 on:
    http://www.flypets.com/crystalreportviewers11/ActiveXControls/ActiveXViewer.cab
    You either don't have the viewer deployed, or your pages are referencing the incorrect version.
    Your page is currently references XI Release 1 and not Release 2.
    Sincerely,
    Ted Ueda

  • Difference between ActiveX Controls and JavaBeans

    Hi,
    I have just started programming Java Beans. Being from Microsoft background my first feel is that Java Beans are to Java what ActiveX is to Microsoft. Is this true? I hope that some of the gurus out there will be better able to explain.
    Thankx in adavance...

    This is pretty much true. ActiveX and JavaBeans fulfil similar roles, they just do it in completely different ways.
    ActiveX relies on COM, a JavaBean is just another class using specific naming conventions.
    But you now need to forget all about the similarities! Bringing an ActiveX knowledge to JavaBeans will likely get you in trouble. Learn Beans for what they are - Beans.
    The online training page at develope.java.sun.com ha lots of resources for finding your way around.
    Cheers

  • Sun One Custom 404 doesn't display for Active Server Pages

    I am running Sun One Web Server v6.1 on Linux. I have a custom 404 error page set up with the admin console. It correctly displays when you try to go to an HTML page or folder that doesn't exist.
    Working Example:
    http://www.seminolecountyfl.gov/fake.htm
    But if you try to go to an ASP that doesn't exist, you get some other 404 message. How can I change THAT message? where is it coming from?
    Not Working Example:
    http://www.seminolecountyfl.gov/fake.asp
    Any help is really appreciated.
    Chris

    I had researched the casp.cnfg file and there aren't any settings for the 404 error. There is a setting to assign the 500 Server Error for runtime ASP errors, but nothing about 404.
    http://docs.sun.com/source/817-2514-10/AppCAdvanced3.html
    Chris

Maybe you are looking for

  • Suggestion for future release

    Where should I post suggestions for future releases of SQL Developer or/and Data Modeler? Please give me a link. Thanx, Chris One suggestion for Data Modeler: In the "Model Properties" of a relational model, there should be a "scripts" folder like in

  • Why does this extra REG EVENTS cause memory leak?

    LabVIEW 8.6.1f1, Win XP/Vista My client reported a memory leak in a particular section of my code - my own tests confirmed it. Although I have found it and eliminated it, I still don't understand what's really happening. The RTEC RECEIVER CONTROLLER

  • Mac Mail -Very Strange

    My inbox says I have 4294965754 messages. I know for a fact I have 134, I counted them. Why is it telling me I have so many????

  • TS4268 iMessage and FaceTime activation

    iMessage and FaceTime have always worked on my ipad until now. Now I keep trying to activate both and I keep getting the warning to check the network settings but everything is fine. I even did a reset. Is there anything else I can try to make it wor

  • Aperture 3 Upgrade:  Can't Keyword or Rate Multiple Images

    Select more than 1 image and apply a rating or a keyword. The rating/keyword only gets applied to only 1 of the images. This worked in Aperture 2. Is anyone else seeing this?