GdViewerPro3 via ASP.NET 2.0

Discussions about document viewing.
Post Reply
coeus
Posts: 5
Joined: Tue Oct 09, 2007 6:42 pm

GdViewerPro3 via ASP.NET 2.0

Post by coeus » Tue Oct 09, 2007 7:58 pm

how would I go displaying GdViewerPro from an ASP.NET page?

ps the language is VB

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Post by Loïc » Wed Oct 10, 2007 5:44 pm

Hi,

You have to declare a gdviewer object into <object> </object>

Ex:


Code: Select all

<object width="468" height="267" ID="oGdViewerPro" CLASSID="CLSID:2866C9F0-4559-491B-A7D2-C24F092EC5F6"></object>

<script language="JavaScript" type="text/JavaScript">
<!--
oGdViewerPro.DisplayFromURL("www.gdpicture.com", "/images/nature.jpg",80);
-->
</script>

Best regards,

Loïc Carrère

coeus
Posts: 5
Joined: Tue Oct 09, 2007 6:42 pm

thanks for the reply

Post by coeus » Fri Oct 12, 2007 12:19 am

I had tried that over and over again in Visual Web Developer and no luck. I finally took it over to Visual Studios and it works perfect. Not sure what the difference is but I thought I'd post to save someone else some time.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Post by Loïc » Tue Oct 16, 2007 9:39 am

Thank you !

Regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest