I am developing an application in ASP.Net and Javascript with GdPicture Ver. 10
You we support can with sample of ADR in Javascript?
I tried with this first lines and I am presented the following error...
Code: Select all
//-- Inicializa GdPicture
var oGdImaging
var oGdViewer
var oGdThumbnailEx
var nMultipageTiffImage
var m_NativeImage = 0;
var m_LicenseManager;
function InitGdPicture() {
var gdPictureLoaded = true;
var gdPictureVersionOK = true;
try {
m_LicenseManager = new ActiveXObject('GdPicture10.LicenseManager');
oGdImaging = new ActiveXObject('GdPicture10.GdPictureImaging');
if (m_LicenseManager.GetVersion() < 10.0) {
gdPictureVersionOK = false;
}
gdPictureLoaded = true;
//-- desbloquea
unlockGdPicture();
}
catch (err) {
gdPictureLoaded = false;
}
}
function unlockGdPicture() {
m_LicenseManager.RegisterKey('MyKey');
}
//-- Carga configuración ADR desde archivo
function LoadADRConfig() {
try {
var ruta = 'C:\\Users\\Public\\Compartida\\rcsTemplateADR.dat'
oGdImaging.ADRLoadTemplateConfig(ruta);
...
...
} catch (err) {
msj = "Se produjo un error en la funcion: LoadADRConfig().\n\n";
msj += "Descripción: " + err.message + "\n\n";
alert(msj);
}
}