Re: Using SSH control in a webpage - WeOnlyDo Discussion board

Re: Using SSH control in a webpage (General questions)

by sha7001, Friday, November 02, 2007, 23:26 (6012 days ago) @ wodDamir

Hi,

What environment are you using? ASP or plain HTML?

I believe HTML should work. You can check for instructions how to implement it in a HTML page, like this:

http://www.weonlydo.com/TelnetDLX/Help/GettingStarted_HTML.html

This is a tutorial for one of our other components, but the same procedure should work for wodSSH activeX too.

Can you try those?

Regards,
Damba

Hello,

Using the GettingStarted guide created a test.php file. I still recive the error. This is what I did

1) created a file named wodSSH.inf

[version]
signature= $CHICAGO$
AdvancedINF=2.0

[Add.Code]
wodSSH.ocx=wodSSH.ocx

[wodSSH.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={09F5B964-C8BF-4E9B-A9DB-BCE93151FE1E}
DestDir=
FileVersion=2.4.6.68

** I change the class id to the one found in the sample html file for the wodSSH control. The sample on the web pages used commas to seperate the file version. I used . because that was how it was list in the properties.

2) I downloaded the cab creator and the License creator programs.

3) I copied everything into the same directory including the wodSSH.ocx control.

4) I created the cab file with the command
cabarc n wodSSH.cab wodSSH.inf wodSSH.ocx

5) created a lpk file (wodSSH.lpk) with just the wodSSH control.

6) Copied the files wodSSH.cab, wodSSH.lpk & wodSSH.inf to the directory where my test.php file resides and changed the permissions to 644.

Added this code to test.php

<object classid= clsid:5220cb21-c88d-11cf-b347-00aa00a28331 viewastext>
<param name= LPKPath value= wodSSH1.lpk >
</object>

<object name= wodSSH1
classid= clsid:09F5B964-C8BF-4E9B-A9DB-BCE93151FE1E codebase= wodSSH1.cab#version=2.4.6.68 >
</object>


Any thought on what I missed? I am not sure what classID should be used. . .

Shawn

Shawn



Complete thread: