03-22-2007, 05:38 PM
|
#2 (permalink)
|
| o o o o o o o o o o o o o o o o o o Join Date: Aug 2006 Location: Charleston, SC
Posts: 55
Rep Power: 3  | Hi David,
I haven't done it, but I believe that is an API call you have to register first, like so:
C# Code: [DllImport("ole32.dll")]
static extern int OleInitialize(IntPtr pvReserved);
VB.Net Code: Public Declare Function OLEInitialize Lib "ole32" Alias "OleInitialize" ()
As Integer
Also, when you call REAPI.Init, you'll need to leave the name/password blank, as well as the DB number if you want them to pick the DB to log into. Finally, you'll need to change the AppMode to Stand Alone... no point in a log-in form popping up on some remote server somewhere. ;-)
Jeff
PS - Good for you for picking up C#... I need to start doing the same. |