Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Ado Data RDS > When can I use ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 229 of 305
Post > Topic >>

When can I use transactions in VB6 / ADO 2.8?

by "Jim Rodgers" <noway@[EMAIL PROTECTED] > Dec 19, 2004 at 11:14 AM

Hello!

I am using .BeginTrans, .CommitTrans, etc., extensively in an application.
Works great.  Now I am trying to run the application with connections to
different data providers.  So far, it works great with a local MSJet4 file
(.mdb) or with the file on another Windows server on the LAN.

Now I want to use the "MS Remote" (RDS) connection provider to that same
file on another computer.  It seems that transactions are not sup****ted
with
MS Remote when I use an ODBC Data Source (in this case, a System DSN to an
Access 2000 file).  Everything else works great except for the error
"Transactions are not sup****ted by the Remote Provider."

Is this an issue with MS Remote (RDS)? Or might this work with a remote
provider other than ODBC?  Do any of the other OLEDB providers sup****t
transactions through the "MS Remote" connection provider?  I tried the Jet
OLEDB provider as the remote provider, but the app did not work at all
because the SQL command strings of type adStoredProc no longer worked with
the stored queries in the mdb file.  If I had figured that one out, would
the transactions have worked then?

What other options might I consider?  Should I learn to write a custom
business object that acts like the default data factory, but which
sup****ts
transactions as a method somehow?  (I've never written a business object
before.)  Is there an excellent tutorial somewhere?  Sometimes I think
Microsoft is intent upon suppressing productivity in this regard.  Does
anyone have a "Hello World" for a custom business object?

(Rewriting the whole app for .NET is not an option:  It work too well to
screw it up now.  Besides, it's just way too big and uses every
"VB6-but-not-VB.NET" technique in the book.)

Any ideas?  I would be especially grateful!

 - Jim Rodgers
 




 2 Posts in Topic:
When can I use transactions in VB6 / ADO 2.8?
"Jim Rodgers" &  2004-12-19 11:14:48 
Re: When can I use transactions in VB6 / ADO 2.8?
"Stuart Carnie"  2004-12-20 10:28:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:07:17 CST 2008.