I'm trying to set up a DDE conversation between one instance of acces and another.
I have a button with the following code:
Dim AccessLoc As String
Dim Chan As Integer
Dim Database As String
AccessLoc = "C:\Program Files\Microsoft Office\Office\Msaccess.exe"
Database = "G:\Highways\Highways Software\Highways Photo Explorer\CentralPhotoDatabase.mdb"
Shell AccessLoc, 1
Chan = DDEInitiate("MSAccess", "System"
But I get an "Overflow" runtime error on the last line of code. I have no idea what this overflow is reffering to.
Can I not have one insatnce of access opening another instance of Acces and before setting up a conversation with it?
Any help, much appreciated
elziko
I have a button with the following code:
Dim AccessLoc As String
Dim Chan As Integer
Dim Database As String
AccessLoc = "C:\Program Files\Microsoft Office\Office\Msaccess.exe"
Database = "G:\Highways\Highways Software\Highways Photo Explorer\CentralPhotoDatabase.mdb"
Shell AccessLoc, 1
Chan = DDEInitiate("MSAccess", "System"
But I get an "Overflow" runtime error on the last line of code. I have no idea what this overflow is reffering to.
Can I not have one insatnce of access opening another instance of Acces and before setting up a conversation with it?
Any help, much appreciated
elziko