Home | About us | Overview | Software - Download | Evaluate | Order | Support | Contact | F.A.Q. | Documentations | Blog | Newsletter
Loading...

Adding GDImageBox Component in VS2005

Support for GdImageBox OCX and GdImageBox Pro ActiveX/SDK.

Adding GDImageBox Component in VS2005

Postby revilorb » Tue Jul 28, 2009 11:23 pm

I cannot get the imagebox component to appear in the tool box so that I can add it to a webform in VS 2005. It seems that I have added the item to the toolbox properly, and removed it several times. But it never appears on the tool bar and I cannot place it on my webform.

Please help!

Brian Oliver
revilorb@gmail.com
revilorb
 
Posts: 1
Joined: Tue Jul 28, 2009 11:17 pm

Re: Adding GDImageBox Component in VS2005

Postby Loïc » Thu Jul 30, 2009 12:07 am

Hi,

The GdImageBox component is an ActiveX, not a WinForm control. Therefore, you can't simply draw it within a Web-page using visual Studio DotNet.
What you have to do is to add a reference to the control using HTML + JS syntax. In the sample folder of the installation directory you can find a useful html sample called image-viewer.html.

IE:


Code: Select all
    <OBJECT ID="MyGdImageBox" TYPE="application/x-oleobject" classid="CLSID:7FD025C0-A085-44EA-B411-40000E237918" width="800" height="600" codebase="http://www.gdpicture.com/pub/gdimagebox2.cab#Version=2,3,0,0">
      <param name="BackColor" value="255">
      <param name="BorderStyle" value="1">
      <param name="ZoomMode" value="2">
      <param name="LicenseKey" value="Your_License_KEY_Here">
    </OBJECT>



Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4230
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdImageBox [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest