Alaska Software Inc. - Net Framework Objects not available with ActiveXObject()
Username: Password:
AuthorTopic: Net Framework Objects not available with ActiveXObject()
JUAN GONZALEZNet Framework Objects not available with ActiveXObject()
on Sun, 12 Jul 2015 18:21:19 -0300
Hello Friends.
I'm developing a new app that needs to deal with XML, authentication and 
authorization in transactions with government agencies. Agencies give an 
example in VB that I'm translating to Alaska, but I have a problem. I 
use ActiveXObject():create() to get objects such as 
'System.Security.Cryptography.X509Certificates.X509Certificate' and 
'System.Text.UTF8Encoding' but I can't get 'System.Xml.XmlDocument' (NIL 
is the return value). I have 'System.Xml.dll' as an assembly of Net 
Framework, but it doesn't appear at the registry. I tried to register 
with regasm.exe and also with Olaf's DotNetInstall.exe mentioned by 
Jimmy in several posts, with no luck. The example in VB seems to be so 
simple that I hope to only translate it to test, but I'm stucked.
Any idea would be appreciated.
Thanks in advance.
Juampa
Boris BorzicRe: Net Framework Objects not available with ActiveXObject()
on Mon, 13 Jul 2015 05:14:39 +0200
JUAN GONZALEZ wrote in news:16623886$6c30080c$f88aa@news.alaska-
software.com:

> I'm developing a new app that needs to deal with XML, authentication and 
> authorization in transactions with government agencies. Agencies give an 
> example in VB that I'm translating to Alaska, but I have a problem. I 
> use ActiveXObject():create() to get objects such as 
> 'System.Security.Cryptography.X509Certificates.X509Certificate' and 
> 'System.Text.UTF8Encoding' but I can't get 'System.Xml.XmlDocument' (NIL 
> is the return value). I have 'System.Xml.dll' as an assembly of Net 
> Framework, but it doesn't appear at the registry. I tried to register 
> with regasm.exe and also with Olaf's DotNetInstall.exe mentioned by 
> Jimmy in several posts, with no luck. The example in VB seems to be so 
> simple that I hope to only translate it to test, but I'm stucked.
> Any idea would be appreciated.

You may wish to consider using the Xb2.NET library instead of ActiveX. It 
should have all the basic components needed to accomplish your task. 
SSL/TLS encryption, X509 certificate, XML parser, HTTP client. You can 
download the trial version and experiment for free: 
https://xb2.net/xb2net/index.htm

Best regards,
Boris Borzic

http://xb2.net
http://sqlexpress.net
industrial strength Xbase++ development tools
CESAR CALVORe: Net Framework Objects not available with ActiveXObject()
on Mon, 13 Jul 2015 10:45:16 +0200
Hello Juan.
I use Xb2.net of Boris Borzic together with of SqlExpress of him and all are 
very good tools for that.
Regards.
César.

"JUAN GONZALEZ" escribió en el mensaje de 
noticias:16623886$6c30080c$f88aa@news.alaska-software.com...

Hello Friends.
I'm developing a new app that needs to deal with XML, authentication and
authorization in transactions with government agencies. Agencies give an
example in VB that I'm translating to Alaska, but I have a problem. I
use ActiveXObject():create() to get objects such as
'System.Security.Cryptography.X509Certificates.X509Certificate' and
'System.Text.UTF8Encoding' but I can't get 'System.Xml.XmlDocument' (NIL
is the return value). I have 'System.Xml.dll' as an assembly of Net
Framework, but it doesn't appear at the registry. I tried to register
with regasm.exe and also with Olaf's DotNetInstall.exe mentioned by
Jimmy in several posts, with no luck. The example in VB seems to be so
simple that I hope to only translate it to test, but I'm stucked.
Any idea would be appreciated.
Thanks in advance.
Juampa
JUAN GONZALEZRe: Net Framework Objects not available with ActiveXObject()
on Mon, 13 Jul 2015 12:51:48 -0300
Thank you both for your answers Boris and César. If I don´t get 
XmlDocument object to work, I'll go the way you mention. I would prefer 
to just translate the government agency example, with exactly same 
objects, because I'm afraid (I feel like walking through an "unknown 
land" since it's my first approach to this technologies).
Thank you again.
With kind regards,
Juampa


El 13/07/2015 05:45 a.m., CESAR CALVO escribió:
> Hello Juan.
> I use Xb2.net of Boris Borzic together with of SqlExpress of him and all
> are very good tools for that.
> Regards.
> César.
>
> "JUAN GONZALEZ" escribió en el mensaje de
> noticias:16623886$6c30080c$f88aa@news.alaska-software.com...
>
> Hello Friends.
> I'm developing a new app that needs to deal with XML, authentication and
> authorization in transactions with government agencies. Agencies give an
> example in VB that I'm translating to Alaska, but I have a problem. I
> use ActiveXObject():create() to get objects such as
> 'System.Security.Cryptography.X509Certificates.X509Certificate' and
> 'System.Text.UTF8Encoding' but I can't get 'System.Xml.XmlDocument' (NIL
> is the return value). I have 'System.Xml.dll' as an assembly of Net
> Framework, but it doesn't appear at the registry. I tried to register
> with regasm.exe and also with Olaf's DotNetInstall.exe mentioned by
> Jimmy in several posts, with no luck. The example in VB seems to be so
> simple that I hope to only translate it to test, but I'm stucked.
> Any idea would be appreciated.
> Thanks in advance.
> Juampa