Has anyone done this? (Object declaration in an ASP.Net page)


B

B. Chernick

I've taken a bare webforms page and added that code from the customization
guide, just after the <HTML> tag in the html editor.

<SCRIPT language="vbscript">
<OBJECT classid="clsid:44C4C3AC-D0F1-11D2-919D-006008C88FC3" height=0
id=qsBridge style="LEFT: 0px; TOP: 0px" width=0>
<PARAM NAME="_ExtentX" VALUE="26">
<PARAM NAME="_ExtentY" VALUE="26">
</OBJECT>
</SCRIPT>

I've also set the page attribute 'aspcompat=true'
I then call the page from a custom button using the string
'http://localhost/RMS1/WebForm1.aspx'. I've also set a reference to the
QSRules dll in the project, if that matters.

The result is an IE script error.

I'm hoping eventually to write ASP.Net pages that can make calls to QSRules
and run from within RMS. (Incidentally, if it's any help, any instance of an
RMS call will be to the localhost IIS on the same machine. No use of the
internet.)

Is there any way to make this work?
 
G

Glenn Adams

I have created a .aspx form that works with QSBridge. I used c# and
JavaScript. No problems at all - one thing - when you create the Custom
Button, make the style "HTML Window" NOT "Internal HTML Window"
 
B

B. Chernick

So you're saying I'm on the right track? Can I also assume you're calling
script functions directly from Dot Net? I couldn't get that to work either.

(Any chance of a Hello World outline just so I can check my coding? Perhaps
I was just having a bad day :)

As for the 'HTML Window', I found that out by trial and error.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top