Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Code]
- const
- adStateClosed = 0;
- var
- ADOConnection: Variant;
- procedure InitializeWizard;
- begin
- ADOConnection := CreateOleObject('ADODB.Connection');
- end;
- function NextButtonClick(CurPageID: Integer): Boolean;
- var
- State: Variant;
- begin
- Result := True;
- State := ADOConnection.State;
- if State = adStateClosed then
- Msgbox('adStateClosed', mbInformation, MB_OK);
- end;
Advertisement
Add Comment
Please, Sign In to add comment