Jump to content
  • Advertisement
Sign in to follow this  
Alessandro

[web] Opening word and excel documents with ASP

This topic is 4218 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I know ASP is old and i should move to ASP .net, but i need to open word and excel documents with the relative application (thus not within IE). Can you help me ? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Well, i found a way to do it, here is the code:

Sub OpenWorkbook(strLocation)
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = true
objExcel.Workbooks.Open strLocation
objExcel.UserControl = true
End Sub

It works, however there is still an issue: when i run the script from an asp page, i'm prompted (each time) to enter user/password. I do that, and i also check the 'remember password' box, but every time i get the same user/password prompt request...

This issue happens also when editing web sites with Frontpage, it doesn't remember passwords. I don't think there is anything wrong with this server, because i experimented the same problem also on other Windows 2003 servers.
Any idea ?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!