... 2 creates the object cWord. The Word-objects are both created by "WinOle()". If I close Application 2, I perform a "cWord:Quit()". Then Word (cWord) is closed, but also Word (jWord) is closed. If in jWord no document is opened, that is no problem.But in case a document ...
... // Display the result MsgInfo("2 centimeters = " + Str(nPts) + " points") // Quit Word oWord:Quit()RETURN We create a Word application object `oWord` using the `New` method of the `WinWordObj` class, and call the `CentimetersToPoints` ...
Hello, I did this test: oWord := TOleAuto():New("Word.Application")oWord:Quit()oWord:= NILoWord := TOleAuto():New("Word.Application")oWord:Quit()oWord:= NILoWord := TOleAuto():New("Word.Application")oWord:Quit()oWord:= ...
Buen día. Puedes usar la función indicada por Leandro, solo modifícala para que "suelte" la ventana o diálogo. En lugar de usar QUIT, use RETURN NIL, o "mate" todo el sistema y reinícielo con .BAT. Tu imaginación es el limite. Prueba y mira con tus propios ojos por favor. ...
... [vcvarsall.bat] Environment initialized for: 'x64' Error BASE/1126 Argument error: STRTRAN (Quit) Error BASE/1126 Argument error: STRTRAN Called from STRTRAN(0) Called from __HBMK(0) Called from HBMK_LOCAL_ENTRY(0) Called from __HBMK_FAKE_ENTRY(0) ...
hi, i´m not sure how under FiveWin but it is recommend to o:Destroy() -> o:End() an ActiveX "Connection" and NIL it o:Quit() is like close Firefox but still have Internet "Connection" No, it is not. Quit() method is enough to ensure your instance of Excel is completely ...
That code is for mod_harbour CGI version only, so we need to find a way to use it just when it is working as a CGI What error do you get ? Is QUIT always been called ?
... oTexto := oWord:Selection() oTexto:Text := Texto oDoc:CheckSpelling() cText := oTexto:Text oDoc:Close(0) oWord:Quit() oTexto:=NIL oDoc:=NIL oWord:=NIL cText:=StrTran(cText,Chr(13),Chr(13)+Chr(10)) // No recuerdo por qué puse esta linea If !Empty(cText) // si ...
... is the first time that I see this hbmk2.exe error: [vcvarsall.bat] Environment initialized for: 'x64' Error BASE/1126 Argument error: STRTRAN (Quit) Error BASE/1126 Argument error: STRTRAN Called from STRTRAN(0) Called from __HBMK(0) Called from HBMK_LOCAL_ENTRY(0) Called from __HBMK_FAKE_ENTRY(0) ...