Hi all!
I'm going very desperate with this problem i'm having when I try to call a .net webservice via VB6.
I have this form that does some things and then makes an instance of a class (named relatorio), fill some of its properties
and then call a method of it:
Dim Relat As Relatorio
Relat.NumOF = 2
Relat.NumTrab = 97868
Relat.ImprimirpEcraFC
this method will read the properties that were set and then call the
vb.net webservice:
CLASS RELATORIO:
in the function ImprimirpEcraFC:
res = oSoap.EscrevePDFb("par1", NumTrab, NumOF, "Impressao")
When I'm debugging the values NumTrab and NumOf (they are of the type long) are set correctly but when the
webservice is called nothing happens (like if they were not set).
However if i hard-code those values in the class:
NumTrab= 1000000
NumOF = 2
res = oSoap.EscrevePDFb("par1", NumTrab, NumOF, "Impressao")
everything workout ok! This seems absurd and I can't find an explanation for it! Can anyone help me out on this
crazy bug???
thanks a lot for any idea.
Rui