Link to home
Start Free TrialLog in
Avatar of hidrau
hidrauFlag for Brazil

asked on

I need to edit my adoconnection, how?

I know there is a way to edit my adoconnection, but I forgot. I need this help,
Avatar of FarajLY
FarajLY

uses
ComObj

procedure TForm1.Button1Click(Sender: TObject);
var
  objWord : OleVariant;
  objDoc,objSelection: Variant;
begin
    objWord := CreateOleObject('Word.Application');
    objWord.Visible := True ;
    objDoc := objWord.Documents.Add() ;
     objSelection := objWord.Selection ;
objSelection.Font.Name := 'Arial' ;
objSelection.Font.Size := '18'     ;
objSelection.TypeText(' I know there is a way to edit my adoconnection, but I forgot. I need this help,') ;
objSelection.TypeText(char(#13));
objSelection.Font.Size := '10' ;
objSelection.TypeText( datetostr(Date()) );
end;
ASKER CERTIFIED SOLUTION
Avatar of auke_t
auke_t
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
dear  hidrau
sorry This not for you
Avatar of hidrau

ASKER

No, I need to open my adoconnection as I do when I click in connectionstring
Avatar of hidrau

ASKER

ok FarajLY
Avatar of hidrau

ASKER

Ok auke_t
Thanks