Skip to Content

Using windows active-x controls ?

Is it possible to use an active-x control (server side ocx file) in BSP pages. In a similar way that they are used in asp

i.e implement something like

<%

set Posi = Server.CreateObject("WINPOSX.WinPOSXCtrl.1")

Posi.ClearData()

%>

or make use of such components via ABAP code ?

I'm looking into porting as MS asp web into bsp and this particular control is used to authenticate credit card transactions.

Any feedback on this is much appreciated.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2004 at 02:19 PM

    In javascript yes (WAS is javascript friendly)

    per example :

    <script language="JavaScript">

    fExcel = function()

    {

    var xls = new ActiveXObject("Excel.Application");

    xls.visible = true;

    var newBook = xls.Workbooks.Add;

    newBook.Worksheets.Add;

    newBook.Worksheets(1).Activate;

    xls.ActiveWorkBook.ActiveSheet.PageSetup.Orientation = 2;

    xls.ActiveWorkBook.ActiveSheet.PageSetup.PaperSize = 5;

    newBook.Worksheets(1).Cells(1,1).value="<%=hildetext%>";

    newBook.Worksheets(1).Cells(2,1).value="First Column, Second Cell";

    newBook.Worksheets(1).Cells(1,2).value="Second Column, First Cell";

    newBook.Worksheets(1).Cells(2,2).value="Second Column, Second Cell";

    newBook.Worksheets(1).Name="My First WorkSheet";

    }

    </script>

    </head>

    <body>

    <form name="MyForm" id="MyForm">

    <button onClick="fExcel();">Excel</button>

    </form>

    </body>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 03, 2004 at 02:50 PM

    I thinks that run an Active-X server side is alway a bad solution... So investigate an other way 😉

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.