Has anyone tried this..need input

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
Guest

Has anyone tried this..need input

Post by Guest »

Okay here is the situation. We are introducing a new pilot program which includes office xp. We would like only registered people to have access to this package. They authenticate to a server and a web page pops up (within PWB) with the choices of either word powerpoit or excel. But when we click on the hyperlink it asks us to download the file or open form current location. Is there anyway to bypass this?? and just click on the link and it will open word excel etc..

Scott
Site Admin
Site Admin
Posts: 2535
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

You can use the PWB v2.05 Dynamic External Java Commands to open applications. See the following in the INI file.

[Java]
...
JavaExecute=
...

This is detailed in the PWBv2.rtf file, and the following links.
http://www.teamsoftwaresolutions.com/ph ... .php?t=278
http://www.teamsoftwaresolutions.com/ph ... .php?t=306

--Scott

Jon Ellis
Observer
Observer
Posts: 5
Joined: Thu Feb 20, 2003 8:32 am

Intralaunch

Post by Jon Ellis »

I use a program called Intralaunch, it is an ActiveX control that allows you to run an executable to run from a web page.

Thanks

Jon

Scott
Site Admin
Site Admin
Posts: 2535
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

But if you are already using PWB, you may as well use what PWB has built in.

If you have the following in your INI file.

[Java]
...
JavaExecute= RunApp
...

This line in a webpage will start Notepad.

function OnClickExecute()
{
window.external.RunApp( 'NotePad.exe' )
}

<form>
<input type='button' name='execute' value='Execute command( "window.external.PWBExecute(...)" )' onClick='OnClickExecute()'>
</form>

Check out this URL for examples.
http://www.teamsoftwaresolutions.com/beta/external.htm

--Scott

Post Reply