Quote:
> It is sure you point the problem : something is missing. There's some
point
> you can check:
> -EDI means you're probably using a data access component like ADO to
build
> your message. Check the version: the file is named msado15.dll for
ado.
> -Patch were release by microsoft for Y2k compatibility : check this
> -In the package, be sure to include all your dependency (even if some
seems
> without topic)
> -By using a log file, try to find exactly where the things goes
wrong : use
> Open ... For Append to keep a trace. I'm sure you're using error
> handling... make sure you're not raise an error while in "On error
resume
> next". I had a bug many time with it : the err.number war 0 even if
there
> was one (I know it was a desigh bug, but it pretty easy to fall in
it). Use
> code in your error trap instead.
> I hope this will help
> >I've created an ActiveX DLL, wich defines an object type to EDI with
> >one of my systems. This component offer many methods and properties
to
> >allow the user to fill all the information on the object and then
write
> >a file to be sent according to my specs, using one of it's methods.
> >The file reading process is also handled by a method of the
component,
> >wich returns a collection of the same object type, read fm the file.
> >Everything is working perfectly, was exaustively tested and works
> >exactly as expected, but I still can't distribute it to my
> >collaborators because it's not behaving the same way as my machine!
(...)
Jean,
Many tks for yr feedback.
Just to explain some of yr items:
- No, I'm not using ADO or any database engine to write my files.
They're pure ASCII files. The problem I was having was because the file
recorded was empty!
I used the class FileSystemObject to create my file. This class depends
of the Scripting class to work, where I believe was the problem.
My component needs those classes, but the interface doesn't and VB was
not identifying it as part of the dependency, exactly as U assumed.
Anywhay, I discovered that everything works perfectly if the user
installs I.E. 5.x. Believe because I.E. also updates some parts of the
Windows kernel and add many new components to the system by itself.
Some of them may match with VB's components, and then my app works well
when IE 5.x is installed.
Guess what? When I distribute the app & my component, I warn our
collaborators that it needs IE 5.x to work! And everyone becomes
happy! :-)
Hope it help somebody else, before they leave VB...
Happy new year/century/millenium for us all!
Ivan Daudt
Sent via Deja.com
http://www.deja.com/