Hello,
Working on migrating an application from PB21 - 32bit to PB22-32bit and we are having an issue with .Object.DataWindow.Data.XML ( and other XML processes ) working. Have removed PBDom.pbd from library list and added PBDOM220.PBD. Have also updated Visual C++ runtime 6.0.311.
Compile as 32bit, added runtime and XML references runtime 'Runtime 22.0.0.1900'.
When we run the application with below coding in PB21 all works fine. When we run coding in PB22 after migration, the ls_xml is empty string.
Here is the coding :
datastore.Object.DataWindow.Export.XML.UseTemplate = 't_template'
datastore.Object.DataWindow.Export.XML.MetaDataType = XMLNone!// XMLSchema!
datastore.Object.DataWindow.Export.XML.SaveMetaData =MetaDataInternal! // MetaDataExternal!
datastore.Object.DataWindow.Export.XML.IncludeWhitespace = "Yes" //"No"
ls_xml = datastore.Object.DataWindow.Data.XML
Any help someone could give would be greatly appreciated.
Thanks
Tina