V
vul
I'm trying to use DLL created in VB 2005 in VB6 project.
I did everything to make it work with late binding. It works when I run
compiled EXE and produces an error 'The system cannot find the file
specified' on the first line of this code:
Dim objXML As Object
Set objXML = CreateObject("WorkorderXML.WorkorderXML") 'it is
WorkorderXML.dll
objXML.ConnectionString = strConnectionString
objXML.WorkorderID = 19
objXML.PathToXML = App.Path & "\Workorder.xml"
I did everything to make it work with late binding. It works when I run
compiled EXE and produces an error 'The system cannot find the file
specified' on the first line of this code:
Dim objXML As Object
Set objXML = CreateObject("WorkorderXML.WorkorderXML") 'it is
WorkorderXML.dll
objXML.ConnectionString = strConnectionString
objXML.WorkorderID = 19
objXML.PathToXML = App.Path & "\Workorder.xml"