Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 22149

connection object passing between Exe and dll

$
0
0
I am creating a vb two tier Application..In which i have created a dll which has the connection open in it..so when i try to use this connection in my Main Exe it gives me the error the code as follows

Connection Dll..

clsCon Class
public conn as Adobd.Connection
conn.open

the Connection is created here with no problem..

Main Exe
Public objcon as Connection .clsCon

So when i try to set this connection to Command Object

.ActiveConnection=objcon.conn'I get an Error


Sreious Issue needs help as early as possible...

Viewing all articles
Browse latest Browse all 22149

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>