data source class in ActiveX DLL vs EXE -- URGENT 
Author Message
 data source class in ActiveX DLL vs EXE -- URGENT

Hi,
I've created a data aware class (the underlying database is Access 2000) in
an ActiveX DLL and referenced the project in a regular EXE.  I put 2 text
boxes and a data grid on the form.  In the form_load event, I set up an
instance of the data aware class, and a binding collection, and then set up
the binding.  I can view the data just fine, but any updates or added
records are discarded.  The wierd part starts when I put the data aware
class in the same project as the EXE, everything works as it should.  Is
this a bug, or is this by design??  Platform:  Win2k SP1, Access 2000
database, VB6 SP4.  This is an urgent issue for me, so I'd appreciate a
quick response.

TIA

Dave Kraft

TSR Solutions, Inc.
www.tsrnet.com



Sat, 29 Mar 2003 03:00:00 GMT  
 data source class in ActiveX DLL vs EXE -- URGENT

How do you handle updates and connection in this scenario?

Tore.


Quote:
> Hi,
> I've created a data aware class (the underlying database is Access 2000)
in
> an ActiveX DLL and referenced the project in a regular EXE.  I put 2 text
> boxes and a data grid on the form.  In the form_load event, I set up an
> instance of the data aware class, and a binding collection, and then set
up
> the binding.  I can view the data just fine, but any updates or added
> records are discarded.  The wierd part starts when I put the data aware
> class in the same project as the EXE, everything works as it should.  Is
> this a bug, or is this by design??  Platform:  Win2k SP1, Access 2000
> database, VB6 SP4.  This is an urgent issue for me, so I'd appreciate a
> quick response.

> TIA

> Dave Kraft

> TSR Solutions, Inc.
> www.tsrnet.com



Sat, 29 Mar 2003 03:00:00 GMT  
 data source class in ActiveX DLL vs EXE -- URGENT

Quote:
> How do you handle updates and connection in this scenario?

The connection to the database (for both DLL and EXE versions) is through
ODBC, and I'm using client side dynamic cursors with optimistic record
locking.

HTH

Dave



Sat, 29 Mar 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ActiveX exe vs ActiveX dll

2. ActiveX DLL vs ActiveX EXE

3. ActiveX Doc DLL vs ActiveX Doc EXE

4. ActiveX EXE vs ActiveX DLL

5. data class vs datacontrol vs data environemt

6. ActiveX Exe vs. Active Dll

7. GetObject() vs ActiveX DLL/EXE

8. ActiveX EXE vs DLL ???

9. Scrollbars in ActiveX DLL vs Standard Exe

10. Scrollbars in ActiveX DLL vs. Standard Exe

11. ActiveX.exe or ActiveX DLL or ActiveX Control?????????????

12. Performance: Compiled Classes as DLL vs Classes in Application Code

 

 
Powered by phpBB® Forum Software