![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
This is one I use for Oracle (sometimes works): "Provider=OraOLEDB.Oracle;User ID=xxx;Password=xxx;Data Source=NameOfTNSEntry" (for use with the Oracle driver not the MS one) |
#22
| |||
| |||
|
|
I actually use a mix of DAO and ADO when creating Server BE based apps. I should probably just stick to one I suppose but habits are hard to break..... |
#23
| |||
| |||
|
|
I follow Larry Linson in calling this a "semi-bound" form, in that it's bound, but designed to never load the entire table -- it only ever loads a set of records with a limiting WHERE clause. |
#24
| |||
| |||
|
|
I wanted to ask another question while this topic is on the table. I am currently using the SENS API IsNetworkAlive call to discover if there is an active LAN connection. This works rather well. I am aware that the SENS API also has events (Windows events) for things like change of network availability, loss of power (changing to battery for example), and a few others. I am wondering if anyone is aware of a VB class module (or any code) that shows how to hook into these events. It would be most useful in a FE / BE environment with a large group of laptop users who subscribe to the 'just dont care' philosophy of using equipment and software. The more damage I can intercept the better. I have seen some C++ code for it but no VB / VBA (the C (maybe c#) code was on MSDN here:http://msdn.microsoft.com/en-us/library/aa480679.aspx) Cheers The Frog |
![]() |
| Thread Tools | |
| Display Modes | |
| |