Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Server Side Programming > ASP and ASP.NET
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 01-26-2006, 12:03 PM
  #16
putts
SELECT MINE FROM TITLES
 
putts's Avatar
 
Join Date: Nov 2002
Location: Frankenmuth, MI
Posts: 4,930
iTrader: (0)
putts has a spectacular aura aboutputts has a spectacular aura about
Okay.....are all your users in the same building or at least on the same network?
__________________
Signature Image Rotator will return when I have time to fix it

Running Scoreboard
Anthony : 3 points
putts is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-26-2006, 12:09 PM
  #17
_Aerospace_Eng_
The CSS Master (somewhat)
 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a galaxy far far away...
Posts: 11,154
iTrader: (0)
_Aerospace_Eng_ has disabled reputation
It is made up but the code will prompt IE to download it anyways. Just find the proper mime-type for a microsoft word template .dot file.
__________________

76 invites left. PM me for a Gmail invite along with email addy.
Why we won't help you .::. Web Developer's Handbook .::. Why Tables for Layout is Stupid?
_Aerospace_Eng_ is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-26-2006, 12:10 PM
  #18
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,867
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
Quote:
Originally Posted by mandelbrot
Hi All,
William, many thanks for that - it looks promising. Am I able specify any MIME type within the ContentType property, or do I need to specify one that primes IE for a type of download? I'm asking this, as yours looks like it maaayy be made up!!


Paul.
yes, you will need the correct mime-type fort he Template, not a document. not even sure if there is a difference.
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-26-2006, 01:01 PM
  #19
darksidepuffin
#!/usr/bin/puffin
 
darksidepuffin's Avatar
 
Join Date: Jan 2001
Location: Dartmouth, Nova Scotia, Canada
Posts: 5,102
iTrader: (0)
darksidepuffin has a spectacular aura aboutdarksidepuffin has a spectacular aura about
It was late when I posted that -- I don't know the mime type for word docs/word templates...I was kinda hoping that'd make it obvious it had to be changed. I apologise for not mensioning it.

I just looked up a reference for ASP to find the functions I wanted to suggest.

I think it just surprized me that nobody else mensioned it -- I didn't know if thats because you didn't want to do it that way or what.
__________________
William Crooks, a.k.a. DarksidePuffin (facebook|Official HTMLForums Group)
Lead Developer
Subliminal Development
Proudly running: Kubuntu Gutsy Gibbon on: ASus K8N-DL
darksidepuffin is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-26-2006, 03:47 PM
  #20
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,867
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
so far I have only seen one,

application/msword

that covers all the word documents I believe. don't see one for a template
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-27-2006, 03:05 AM
  #21
mandelbrot
Champion (Level 13)
 
mandelbrot's Avatar
 
Join Date: Nov 2004
Location: Location: Location
Posts: 209
iTrader: (0)
mandelbrot is on a distinguished road
LOL! Thanks guys - this is all appreciated.

The reason behind my asing about the MIME type is simply that by specifying some complete gibberish for the type it ensures that Windows doesn't know what to do with it, therefore it would be more likely to provide a download box (if you follow my logic!).

Anyway, we are all on the same LAN, putts.

Thanks for all your help, everyone - I'm going to check a little deeper into this, as I think the just specifying the application/word type may just cause problems - I may even adopt DP's MIME type!!


Paul.
__________________
'Data quality system v0.4
Do While User.Idiot.Count > 0
User.Idiot(0).Dispose(disposeMethod.PegasusCatapult)
Loop

Last edited by mandelbrot : 01-27-2006 at 04:47 AM.
mandelbrot is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-27-2006, 08:38 AM
  #22
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,867
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
it shouldn't matter what mime-type it is, that should almost always give you a download box. even if you specifiy the correct mime.
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-27-2006, 12:51 PM
  #23
putts
SELECT MINE FROM TITLES
 
putts's Avatar
 
Join Date: Nov 2002
Location: Frankenmuth, MI
Posts: 4,930
iTrader: (0)
putts has a spectacular aura aboutputts has a spectacular aura about
Quote:
Originally Posted by mandelbrot
Anyway, we are all on the same LAN, putts.

Paul.
Okay....then you just need to place the templates on some shared network drive and point the Templates setting in Word > Tools > Options to that folder and you shouldn't have to have the ppl d/l new versions because you should be able to just update the template on that one network share and be done with it.
__________________
Signature Image Rotator will return when I have time to fix it

Running Scoreboard
Anthony : 3 points
putts is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 01-27-2006, 01:00 PM
  #24
mandelbrot
Champion (Level 13)
 
mandelbrot's Avatar
 
Join Date: Nov 2004
Location: Location: Location
Posts: 209
iTrader: (0)
mandelbrot is on a distinguished road
LOL! If only it was that simple! Half of the Trust have been common desk-topped, some of the Trust have shared template folders, others in the Trust have specialised group template locations (i.e. dealing with specific specialties), therefore setting this up would be even more of a nightmare than simply giving them an icon to click on a webpage is much the simplest option (i.e. having them download the files into their own folder sets). We've already looked at the most logical options for this...
__________________
'Data quality system v0.4
Do While User.Idiot.Count > 0
User.Idiot(0).Dispose(disposeMethod.PegasusCatapult)
Loop
mandelbrot is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart



 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 07:31 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.