[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference utrop1::linkworks_v3

Title:LinkWorks V3.0 Notes Conference
Notice:LNX_APO = APO issues, LINKWORKS_V3 = V3.0 issues
Moderator:tacklr.apd.dec.com::TACK_Lm::TACK_L
Created:Tue Jun 28 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2269
Total number of notes:8338

299.0. "Autosave doesn't work" by HLISC1::HLP674::PC079021 () Thu Dec 01 1994 15:26

T.RTitleUserPersonal
Name
DateLines
299.1HLDE01::MIDDELDORP_BThu Dec 01 1994 15:338
299.2Explanation but still no solutionHLISC1::HLP674::PC079021Thu Dec 01 1994 15:546
299.3HLDE01::MIDDELDORP_BThu Dec 01 1994 16:357
299.4 known bug ? UTRTSC::SCHOLLAERTAjax: World Champions 1995Wed Feb 05 1997 09:0412
    Hi,
    
    Customer reports same problem (Word 6 Autosave doesn't work using
    ILockBytes).
    
    Is this problem identified as a bug in Word ? 
    If so, does someone know if it reported to Microsoft.
    If so, what was the response.
    
    Thanks,
    
    Jan
299.5elec1.uto.dec.com::wijermars_vWed Feb 05 1997 10:2511
If you use the Ilockbytes interface, the calling application (in this case LinkWorks) is 
resposible for the AutoSave and if required also for starting the macro's (like AutoOpen).
LinkWorks 3.0 does not do this. 
LinkWorks 3.2 will offer these features.
If you need these features you can either
- Switch off the IlockBytes interface
- or modify the calling methods in LinkWorks to start a macro in Word.
  In this macro you can handle the AutoSave
  See the partner web - unsupported elec tools - 32 bit sdk examples for an example

Vincent
299.6patch to 3.0.8 ?UTRTSC::SCHOLLAERTAjax: World Champions 1995Fri Feb 07 1997 08:5013
    Hi,
    
    Customer told me that 3.2 will be released in August and that they
    do not want to wait so long for a fix for what they consider
    a major bug. Some people lost a whole day work.
    
    What about a patch to 3.0.8 ? 
    
    Thanks,
    
    Jan
    
    
299.7suppdc.uto.dec.com::PETERS_MFri Feb 07 1997 12:123
As Han said, check out www.linkworks.aware.net

Martin
299.8Almost there........UTRTSC::SCHOLLAERTAjax: World Champions 1995Mon Feb 10 1997 08:5415
    Hi again,
    
    re .5
    
    >- or modify the calling methods in LinkWorks to start a macro in Word.        
    >  In this macro you can handle the AutoSave                                   
    >  See the partner web - unsupported elec tools - 32 bit sdk examples
    
    I found autoopen.swc, so now my last question is : how do
    you "handle" the AutoSave in start macro.
    
    Thanks,
    
    Jan
                                                                                  
299.9wijermvc.apd.dec.com::wijermars_vMon Feb 10 1997 11:3628
Jan,

Below the code that I use:

First the LNXAutoOpen macro that I call from LinkWorks after having set the Document variable 
ObjRef

Sub MAIN
	objRef$ = GetDocumentVar$("ObjRef")
	Channel = DDEInitiate("LNX", "General")
	Subject$ = DDERequest$(Channel, objRef$ + ".Object.Subject")
	' FileSummaryInfo .Subject = Subject$
	SetDocumentProperty("Subject", 0, Subject$, 1)
	diff = Now() + 300 / 86400
	OnTime diff, "LNXAutoSave"
End Sub

And now the LNXAutoSave macro

Sub MAIN
	If IsDocumentDirty() = - 1 Then FileSave
	diff = Now() + 300 / 86400
	OnTime diff, "LNXAutoSave"
End Sub

The autosave time is now set to 300 seconds.

Vincent.