Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / December 2005

Tip: Looking for answers? Try searching our database.

Stream

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Can - 12 Dec 2005 15:52 GMT
I have the function
Public Function GetXMLfromCommandText( _
     ConnectionString As String, _
     CommandText As String) As Stream

but I get the error
"user-defined type not defined"

I think it is a reference issue but I am not certain.

I have the following references (in order of priority)
- Visual Basic for Applications
- Microsoft Access 9.0 Object Library
- OLE Automation
- Microsoft ActiveX Data Objects 2.1 Library
- Microsoft ADO Ext 2.7 for DDL and Security
- Microsoft DAO 3.6 Object Library
- Microsoft XML, v5.0

Any help is greatly appreciated.

Thanks
Can
David Lloyd - 12 Dec 2005 21:05 GMT
Can:

The return type of your function is "Stream."  What is the desired return
type for your function?  I do not see a "Stream" class in the libraries you
have referenced.

Signature

David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.

I have the function
Public Function GetXMLfromCommandText( _
     ConnectionString As String, _
     CommandText As String) As Stream

but I get the error
"user-defined type not defined"

I think it is a reference issue but I am not certain.

I have the following references (in order of priority)
- Visual Basic for Applications
- Microsoft Access 9.0 Object Library
- OLE Automation
- Microsoft ActiveX Data Objects 2.1 Library
- Microsoft ADO Ext 2.7 for DDL and Security
- Microsoft DAO 3.6 Object Library
- Microsoft XML, v5.0

Any help is greatly appreciated.

Thanks
Can
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.