Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Code]
- const
- adStateClosed = 0;
- adStateOpen = 1;
- adStateConnecting = 2;
- adStateExecuting = 4;
- adStateFetching = 8;
- procedure InitializeWizard;
- var
- State: Variant;
- ADOConnection: Variant;
- begin
- ADOConnection := CreateOleObject('ADODB.Connection');
- State := ADOConnection.State;
- if State = adStateClosed then
- Msgbox('adStateClosed', mbInformation, MB_OK);
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement