Group:  Microsoft Word ยป microsoft.public.word.docmanagement
Thread: A "Internetdetection-function" for Word 2003/2007

Geek News

A "Internetdetection-function" for Word 2003/2007
Daniel Gustafsson 12/12/2008 12:57:01 PM
When students and not so good users are working in Word it VERY easy for them
to forget when they have opened a Wordfile from Hotmail and so on as an
attachment. Then the files is stored in Temporary Internet Files.

I have many expiriences of students and othe personal expiriences, not my
own, of ppl that have worked for hours and hours and when they simply just
"save" the file, they forget the function "save as" wich is needed to save
the file in a workingmap/homemap/homedrive.

My request might be uniqe but I want a function where Word and other Office
applications "feels" that a file is worked with in the Temporary Internet
Files map, and if the person tries to shut down/exit Word or Excel or any
application then the software shall PROMPT and simply just refuse to be
shutted down before the documnet is saved in another "safe" place. By default
perhaps "My documnets"?

Greetings
Daniel Gustafsson
IT-technican
Milnergymnasiet
Sweden
+46733135959


----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/community/en-us/default.mspx?mid=75becaa5-643a-4f34-ad43-c1b164b16722&dg=microsoft.public.word.docmanagement
Re: A "Internetdetection-function" for Word 2003/2007
"Graham Mayor" <gmayor[ at ]REMOVETHISmvps.org> 12/12/2008 2:01:25 PM
Attachments opened from Outlook 2007 will not be saved in the temporary
folder. But it is simple enough to overcome the problem.
Save the following macro in an add-in template and whenever Save is clicked
it checks to establish whether the document is being saved in a temporary
internet files location and if it is, throws up an error message before
offering the saveas dialog. If the document is not being saved in such a
location it will be saved normally.

Sub FileSave()
With ActiveDocument
If InStr(1, .Path, "Temporary Internet Files") Then
MsgBox "This is an e-mail attachment!" & vbCr & vbCr & _
"Select a folder to save in" & vbCr & _
"on your local drive", vbCritical, "E-mail Attachment"
Dialogs(wdDialogFileSaveAs).Show
Else
.Save
End If
End With
End Sub



--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Daniel Gustafsson wrote:
[Quoted Text]
> When students and not so good users are working in Word it VERY easy
> for them to forget when they have opened a Wordfile from Hotmail and
> so on as an attachment. Then the files is stored in Temporary
> Internet Files.
>
> I have many expiriences of students and othe personal expiriences,
> not my own, of ppl that have worked for hours and hours and when they
> simply just "save" the file, they forget the function "save as" wich
> is needed to save the file in a workingmap/homemap/homedrive.
>
> My request might be uniqe but I want a function where Word and other
> Office applications "feels" that a file is worked with in the
> Temporary Internet Files map, and if the person tries to shut
> down/exit Word or Excel or any application then the software shall
> PROMPT and simply just refuse to be shutted down before the documnet
> is saved in another "safe" place. By default perhaps "My documnets"?
>
> Greetings
> Daniel Gustafsson
> IT-technican
> Milnergymnasiet
> Sweden
> +46733135959
>
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click
> the "I Agree" button in the message pane. If you do not see the
> button, follow this link to open the suggestion in the Microsoft
> Web-based Newsreader and then click "I Agree" in the message pane.
>
> http://www.microsoft.com/office/community/en-us/default.mspx?mid=75becaa5-643a-4f34-ad43-c1b164b16722&dg=microsoft.public.word.docmanagement


Re: A "Internetdetection-function" for Word 2003/2007
Daniel Gustafsson 12/12/2008 3:03:01 PM
Thanx for the tip, but what I mean is that this feature shall be a bulit in
function, to do this shall not be a "do-your-own-script" thing, it shall be
there default from the start. No choise :)

Greetings Daniel

"Graham Mayor" wrote:

[Quoted Text]
> Attachments opened from Outlook 2007 will not be saved in the temporary
> folder. But it is simple enough to overcome the problem.
> Save the following macro in an add-in template and whenever Save is clicked
> it checks to establish whether the document is being saved in a temporary
> internet files location and if it is, throws up an error message before
> offering the saveas dialog. If the document is not being saved in such a
> location it will be saved normally.
>
> Sub FileSave()
> With ActiveDocument
> If InStr(1, .Path, "Temporary Internet Files") Then
> MsgBox "This is an e-mail attachment!" & vbCr & vbCr & _
> "Select a folder to save in" & vbCr & _
> "on your local drive", vbCritical, "E-mail Attachment"
> Dialogs(wdDialogFileSaveAs).Show
> Else
> .Save
> End If
> End With
> End Sub
>
>
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> Daniel Gustafsson wrote:
> > When students and not so good users are working in Word it VERY easy
> > for them to forget when they have opened a Wordfile from Hotmail and
> > so on as an attachment. Then the files is stored in Temporary
> > Internet Files.
> >
> > I have many expiriences of students and othe personal expiriences,
> > not my own, of ppl that have worked for hours and hours and when they
> > simply just "save" the file, they forget the function "save as" wich
> > is needed to save the file in a workingmap/homemap/homedrive.
> >
> > My request might be uniqe but I want a function where Word and other
> > Office applications "feels" that a file is worked with in the
> > Temporary Internet Files map, and if the person tries to shut
> > down/exit Word or Excel or any application then the software shall
> > PROMPT and simply just refuse to be shutted down before the documnet
> > is saved in another "safe" place. By default perhaps "My documnets"?
> >
> > Greetings
> > Daniel Gustafsson
> > IT-technican
> > Milnergymnasiet
> > Sweden
> > +46733135959
> >
> >
> > ----------------
> > This post is a suggestion for Microsoft, and Microsoft responds to the
> > suggestions with the most votes. To vote for this suggestion, click
> > the "I Agree" button in the message pane. If you do not see the
> > button, follow this link to open the suggestion in the Microsoft
> > Web-based Newsreader and then click "I Agree" in the message pane.
> >
> > http://www.microsoft.com/office/community/en-us/default.mspx?mid=75becaa5-643a-4f34-ad43-c1b164b16722&dg=microsoft.public.word.docmanagement
>
>
>
Re: A "Internetdetection-function" for Word 2003/2007
"Graham Mayor" <gmayor[ at ]REMOVETHISmvps.org> 12/12/2008 3:12:24 PM
If you use Office 2007 it is already built-in. I can't see Microsoft adding
the function to older software.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Daniel Gustafsson wrote:
[Quoted Text]
> Thanx for the tip, but what I mean is that this feature shall be a
> bulit in function, to do this shall not be a "do-your-own-script"
> thing, it shall be there default from the start. No choise :)
>
> Greetings Daniel
>
> "Graham Mayor" wrote:
>
>> Attachments opened from Outlook 2007 will not be saved in the
>> temporary folder. But it is simple enough to overcome the problem.
>> Save the following macro in an add-in template and whenever Save is
>> clicked it checks to establish whether the document is being saved
>> in a temporary internet files location and if it is, throws up an
>> error message before offering the saveas dialog. If the document is
>> not being saved in such a location it will be saved normally.
>>
>> Sub FileSave()
>> With ActiveDocument
>> If InStr(1, .Path, "Temporary Internet Files") Then
>> MsgBox "This is an e-mail attachment!" & vbCr & vbCr & _
>> "Select a folder to save in" & vbCr & _
>> "on your local drive", vbCritical, "E-mail
>> Attachment" Dialogs(wdDialogFileSaveAs).Show
>> Else
>> .Save
>> End If
>> End With
>> End Sub
>>
>>
>>
>> --
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>> Graham Mayor - Word MVP
>>
>> My web site www.gmayor.com
>> Word MVP web site http://word.mvps.org
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>
>>
>> Daniel Gustafsson wrote:
>>> When students and not so good users are working in Word it VERY easy
>>> for them to forget when they have opened a Wordfile from Hotmail and
>>> so on as an attachment. Then the files is stored in Temporary
>>> Internet Files.
>>>
>>> I have many expiriences of students and othe personal expiriences,
>>> not my own, of ppl that have worked for hours and hours and when
>>> they simply just "save" the file, they forget the function "save
>>> as" wich is needed to save the file in a
>>> workingmap/homemap/homedrive.
>>>
>>> My request might be uniqe but I want a function where Word and other
>>> Office applications "feels" that a file is worked with in the
>>> Temporary Internet Files map, and if the person tries to shut
>>> down/exit Word or Excel or any application then the software shall
>>> PROMPT and simply just refuse to be shutted down before the documnet
>>> is saved in another "safe" place. By default perhaps "My documnets"?
>>>
>>> Greetings
>>> Daniel Gustafsson
>>> IT-technican
>>> Milnergymnasiet
>>> Sweden
>>> +46733135959
>>>
>>>
>>> ----------------
>>> This post is a suggestion for Microsoft, and Microsoft responds to
>>> the suggestions with the most votes. To vote for this suggestion,
>>> click the "I Agree" button in the message pane. If you do not see
>>> the button, follow this link to open the suggestion in the Microsoft
>>> Web-based Newsreader and then click "I Agree" in the message pane.
>>>
>>> http://www.microsoft.com/office/community/en-us/default.mspx?mid=75becaa5-643a-4f34-ad43-c1b164b16722&dg=microsoft.public.word.docmanagement


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net