Running VBS from a web page

Hi,
I am working on a project and I already have the reports created and populated from a Mysql Db using a VBS.
The question(s)  are:
1. How to start the DIAdem VBS  script form an HTML page.?
2. also how to pass a parameter to this script.?
The scripts  opens a  dialog window with  dropdown boxes.
When the script is loaded, the passed parameter will be used in a SQL query, which filters the items in the DDown box
thx

Hello Mikey!
Assuming you DIAdem is already running I would recommend to use an OLE interface. The only problem might be the security restrictions of your web page. Try this HTML page (the Query parameter will be in the DIAdem variable T1):
<html>
<head>
<title>Start DIAdem</title>
<script TYPE="text/vbscript" LANGUAGE="vbscript">
Sub DoDIAdem
Dim oDIAdem
Set oDIAdem = CreateObject("DIAdem.ToCommand" )
Call oDIAdem.TextvarSet("T1","MyQuery" )
Call oDIAdem.CmdExecuteASync("ScriptStart('MyQuery.vbs')" )
End Sub
</script>
</head>
<body>
<h1><a href="javascript&colon;DoDIAdem()">Start DIAdem Script...</a></h1>
</body>
</html>
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  

Similar Messages

  • How to Run scenario from the web using HTTP web page?

    Hi guys
    Please let me know How to Run scenario from the web using HTTP web page?
    Regards
    Janakiram

    Hi Janakiram,
    ODI provides web based UI for running the scenarios using Metadata Navigator (read only of ur ODI components) and Lighweight designer (u can edit the mapping here).
    Please explore how to install metadata navigator in ODI and have a look at ODI Setup document for more information.
    Thanks,
    Guru

  • Why does Acrobat suddenly not work on my Mac (won't open pdf files from a web page), yet I can open them from my iPhone? Everything worked fine yesteray.

    Hello:
    I have a Mac running OS 10.8.5 and I use Acrobat Pro and Acrobat Reader. Today for some reason, any time I try and access a pdf file from a web page, it won't open. I get a blank window. PDF files already on my computer open fine and I can create PDF files from Word docs, but I can't download or view any pdf file from any web page. Strangely, PDF files on web pages open just fine on my iPhone.
    I checked that both my copy of Acrobat Pro and Acrobat Reader are up-to-date. They are.
    I checked that my copy of Firefox is up-to-date. It is. And nothing changed with Firefox within the last 24 hours.
    I am a humble computer end-user. I am baffled as to why this would suddenly not work. I have not changed any settings, etc. Any help or suggestions would be greatly appreciated.

    Thank you.
    I checked your instructions you sent and as far as I can tell all of my settings, etc for Firefox (plugin updates and preferences) are correct but I am having the same problem.
    However, everything works in Safari. I don't have time to attempt to diagnose why Firefox no longer works. I will just switch to Safari.
    Many thanks.
    Charles
    Charles Deister
    (503) 949-5762
    [email protected]<applewebdata://81CB4171-226F-49DF-BD59-A38A7360B3FB/[email protected]>
            PO Box 5032
         Salem, OR 97304
    http://www.pilotstrat.com<http://www.pilotstrat.com/>
    This transmission (including any attachments) may contain confidential information, privileged material, or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

  • Mac running slow - Not loading web pages

    Something is wrong with my Mac. Out of the blue, over the last few days, it is running extremely slow.  Web pages won't load or if they finally do it takes forever.  The little spin wheel just keeps going. Sometimes a page will load after a very long time but as I scroll down, only part of the page is there and the rest never loads.  I'm on a wireless connection.  My husbands PC and my iPad are working just fine so it's not the connection.  Any thoughts on what is wrong and how to fix it?  Have not made any changes to my computer.  No new software, updates, etc.

    You are using Safari to surf the web?
    If so, try emptying the cache more often ..
    Command + Option + E
    Then quit and relaunch Safari to test.
    If that doesn't help, try troubleshooting extensions and third party plug-ins.
    From your Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that off if there are any installed. Quit and relaunch Safari to test. If that helped, turn extensions back on then uninstall one a time to test.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow all other plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.

  • How do I add dates from a web page into iCal?

    Hello. I would love to find a way to input dates from a web page, into iCal as an event. Right now, if there is a conference or whatever that is on such and such a date, I have to keep the web page open that has the dates and time, and then open iCal, and create a new event on that date, etc. Is there a way to highlight said dates on a web page, run some automation, and voila, it is a new event in iCal?

    Don't double tap. Just try pressing on the text. That should highlight it.

  • How to gather a set of floating point numbers from a web page form?

    I am pretty new to Java and I am working on a project to apply Benfords law to find the probability of digits submitted by the user. My first step is to gather set of floating point numbers from a web page. How do I go about doing this? Any suggestion or a proper site where I can learn this stuff will be highly appreciated.

    I am using NetBeans IDE 5.5.1 and for this project. I have realized that the first question was not well phrased.
    I created a web project with 2 jsp files and a class file in it. When my jsp file runs I ask the user to enter a number for finding the probablility based on Benfords law.
    This is what I got so far:
    This is input.jsp
    <h1></h1>
    Please enter a number to be checked
    <form action="result.jsp" method="post">
    <input type="number" name="number" >
    <input type="submit" value="Check number">
    </form>
    </body>
    </html>
    This is result.jsp
    String number=request.getParameter("number");

  • Why can I not download something from a web page?

    This is probably a stupid question, but I am totally new to this.
    This probably is not the appropriate place to ask, but is there a way to download a .exe that I need for a clients laptop (in the field) onto my iphone and then USB it to the laptop? I'm pretty sure about the USB part, but I was told by AT&T today that the iphone will not download programs like that from a web page. I do not want to run them on the iphone, just transfer them to a PC.
    Maybe I should return the phone.
    Thanks, your help is very much appreciated.
    David.

    The iPhone doesn't allow downloading of stuff (except saving of Pictures). It also doesn't allow you to take stuff off via the USB...there is no disk access to the phone, it is not a thumb drive. It is a closed and protected file system that requires iTunes to sync stuff to or remove...sorry.

  • Posting an XML Variable to a BLS Transaction from a web page

    I am working in xMII 11.5 with all the latest service packs. I know this is probably a really basic question but I am stumped.
    I am trying to pass a multi row and multi column XML data set from a web page into a BLS transaction (actually, two of them) in order to populate the parameter. I want to use the Web Service interface to the transaction. I have tried using parameters on an Xacute Query in an Applet as well with an equal lack of success. I cannot persuade the transaction to see the incoming variable as an XML data type. I have tried encoding and decoding and string to xml conversions and nothing seems to successfully allow the data set to be seen withing the BLS as anything but a string. The String to XML action will not handle the number of columns in the dataset though it seems to work if the data set has only one column. The data set is formatted in the proper "Rowsets/Rowset/Row" format. I have considered writing the data to an XML file on the server (I know I can deal with that) but that is not acceptable in this application.
    Can someone share the secret with me?
    ...Sparks

    Parameter value:
    r1d1,r1d2,r1d3;r2d1,r2d2,r2d3;r3d1,r3d2,r3d2
    Pass thru String List to Xml Parser with delim ";"
    <Row>
    <Item>r1d1,r1d2,r1d3</Item>
    </Row>
    <Row>
    <Item>r2d1,r2d2,r2d3</Item>
    </Row>
    <Row>
    <Item>r3d1,r3d2,r3d2</Item>
    </Row>
    Repeat on each row/item and pass thru String List to Xml Parser with delim ","
    <Row>
    <Item>r1d1</Item>
    </Row>
    <Row>
    <Item>r1d2</Item>
    </Row>
    <Row>
    <Item>r1d3</Item>
    </Row>
    Of course, your columns aren't flat but they are easy to ref, to get "column 2" for example:
    StringListToXml_1.Output{/Rowsets/Rowset/Row[2]/Item}
    So now you have rows and columns. Assign your data to your BAPI structured as needed.
    We have passed complex XML via the SOAP interface in 11.5, but it involved some "hacks". Basically we passed the sterilized XML via a String Type Parameter, and then unserialized it inside the BLT.  
    I have been told on this board that there is a solution to passing XML data vie the SOAP interface using ref docs, but i have never personally seen a working example.

  • How to read text from a web page

    I want to read text from a web page. Can any body tell me how to do it.

    Ok i tell you detail. visit the site " http://seriouswheels.com/" you will a index from A to Z which are basically car name index i want to read each page get car name and its model and store it in data base. I you can provide me the code i will be very thankful.

  • How to get the return values from a web page

    Hi all :
       how to get the return values from a web page ?  I mean how pass values betwen webflow and web page ?
    thank you very much
    Edited by: jingying Sony on Apr 15, 2010 6:15 AM
    Edited by: jingying Sony on Apr 15, 2010 6:18 AM

    Hi,
    What kind of web page do you have? Do you have possibility to for example make RFCs? Then you could trigger events (with parameters that could "return" the values) and the workflow could react to those events. For example your task can have terminating events.
    Regards,
    Karri

  • How to download an animated .gif from a web page

    how do i download to my mac an animated gif that is on a web page....when i want a picture or text or something like that i just ...apple shift 4 and "take a picture of it" ...but i want the animation..i have never had to do that on this mac.....a windoze person from the site(chat site) said just right click but my wireless mac mouse doesnt do that....i would appreciate any help.....i do know how to down load from a site that has downloadable .gifs...you just click the download sign they have and no problem....but this is just a random animated .gif from a web page ....i hope my ques is clear....thank you

    Drag and drop it from the webpage onto your desktop. Note that it won't remain "animated" while you're looking at the file's icon, but it should work if you build it into a new website.
    And you can right-click with a Mac mouse - you just have to set it up to do so in System Preferences. (Set the right side of the mouse to be a "secondary click".)
    Matt

  • New Mac, fresh install of Mountain Lion When I click to open a .Pdf from a web page,while in Safar, I get a black window Nothing opens in Preview or in Acrobat No option to download

    New Mac, fresh install of Mountain Lion
    When I click to open a .Pdf from a web page,while in Safar, I get a black window
    Nothing opens in Preview or in Acrobat
    No option to download

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    /Library/Internet Plug-Ins
    Click Go. If you see this file:  AdobePDFViewer.plugin
    Drag it to the Trash, empty the Trash.
    Quit and relaunch Safari.

  • How to Open an Oracle Apps Screen from a web page

    Hi,
    We have requirement for Opening an Oracle Application screen (say sales order form) directly from a web page.
    I could get the URL of the required screen, but the URL contains an ICX_TICKET number, which is generated dynamically by Oracle Apps. So I can't use a static URL for this.
    Do you know how I can use or generate an ICX_TICKET in runtime? My user will have an active Oracle Application screen opened along with web page. He want to navigate to Oracle Apps screen from Web page. Hopes this makes the requirement more clear.
    Thanks for your time,
    Aneesh

    Hi Helios,
    I have identified a function to generate ICX_ticket. By appending this ticket, I am able to open the Oracle Apps screen. Now, is there in implication on the security side, if I go ahead this way?
    Function
    fnd_gfm.one_time_use_store(icx_sec.GetSessionCookie(CZ_CF_API.ICX_SESSION_TICKET),300,'FORMS_APPLET')
    Anyways, I am raising an SR as u suggested.
    Thank you,
    Aneesh

  • Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed

    We are planning to Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed. I have tried using the AIR appliaction and it worked, But our requirement is NO INSTALL to the user machine for the silent printing. It is just from web page and silent printing to the default printer to the desktop/Laptop. Can anyone share your thoughts and experience with us. It will be very helpful..
    For AIR : I tried the thread Re: AIR and PDF showing/silent printing

    Hey CodeMonkey & Ross,
    Did you either of you ever find a solution? I'm stuck too, it seems I can get remote printing on all these PDFs to work but it just prints a blank page since I've been using Javascript in the browser, not Adobe's (they are Engineering drawings that I do not have permission to edit so I can't just insert code into them but I need to make work instructions). I've been scouring the internet for hours now, it seems that this thread is the only relevant/useful one at this point. No one else was trying to achieve this for similar reasons to mine.
    Thanks guys,
    Lox

  • How can I use Automator or AppleScript to get text from a web page and paste it in execl?

    I don't know how to make scripts or complexed automator workflows... that's why I'm asking.
    I'm trying to make a simple app or script to ask me what text to extract from a web page, like name, address and phone number of a web page and paste each one of these data in the righ cell of excel.
    I was thinking to promt a request from automator or an applescript to ask me which text to extract from the page or to look throught the HTML of the page to search for specific html tags, from which extracting text and then importing it, or paste it to the specified execl cell. Name in the name cell, address in the address cell and so on.
    Can somebody help me to make this script?
    If you know an alternative, like a software that already do this or another language to use, please tell.

    Try holding down the alt key as you mark the text to be copied. You can then copy columns to table text.

Maybe you are looking for

  • Embed view dynamically

    hi all, i am embedding a view dynamically in view_container. that view is from other component, here is the code, TARGET_COMPONENT_NAME = 'ZCOMP_TEST'.   TARGET_VIEW_NAME = 'MAIN_VIEW_1'.   SOURCE_PLUG_NAME = 'PLUG_TO'.   DATA: COMP_USAGE TYPE REF TO

  • Blue Screen of Death after opening iTunes

    I recently opened up iTunes (I hadn't used it in a week or two) and after a bit of time, I got a BSoD. The screen said it was "Dumping Files" or something like that, and then my computer restarted. What can I do to fix this problem? Also, iTunes didn

  • Wiki directories not being created for groups

    I am trying to get the wiki service working for a few groups on my 10.5 server and not having much luck with it. I've enabled the wiki and blog services in Workgroup Manager for three of the groups on my server, but only one of them seems to have the

  • ATI Radeon X1800 as PCI-e, when?

    Hi, Does anybody know some details, when the ATI Radeon X1800 for Mac in PCI-e will be available? ATI showed it on MacWorld this year. JO

  • Switching between license servers

    Hello, We have two SBO 8.81 installations on two different servers in same network. Each server has own licence manager running.  SBO clients are installed on the client PCs. Client PC's are accessing these servers directly. No terminal service clien