|
add a favicon.ico file at the root of your website. The file is a standard icon file. Chris has written an article on the site about it.
Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
|
|
|
|
|
Cheers.
Dave.
|
|
|
|
|
Hi there,
after installing the nimda patch, i am getting an HTTP 500 Internal Server
Error anytime i try to access a virtual directory on my server. This only
happens with the ASP pages as i can access the html pages without any problems.
So basically, if i type, http://servername/default.asp, i get the error
and if i convert it to an html and type the address, everything works fine.
Any ideas?
thanks
|
|
|
|
|
Hi,
Is there any way to open a word document in Internet Explorer without showing its path in Addressbar and title bar..? Or is there any component to do so in ASP.
Ann
Ann
|
|
|
|
|
Embed a Word.Document object using the OBJECT tag.
Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
|
|
|
|
|
Hello,
I have written a simple ATL com object for use with my ASP pages. The object is an FTP object based off of the WinInet library. Everything is working great i can connect and it is verified and everything.. but when i envoke the Download() method (aka a wrapper function for the FtpGetFile() func), it downloads the files to the server which the component runs on.. instead of the clients computer... I would like to fix this but i am not sure where to start?! Any help would be greatly appecated(not the best speller .
Thanks,
hackitall@yahoo.com
Jon Chapman
|
|
|
|
|
|
I want to use a microsoft listview6.0 to contain database data in my asp page .How Can I do ?How can I get user's Selection??
|
|
|
|
|
|
Hi everyone!
How would I go about finding the text cursor position in a text box in internet explorer or any other web browser??
For example if the text box had this sentence
The quick brown fox jumped over the lazy dog.
And the blicking text cursor was between m and p in the word jumped it would return the value 23.
Please help
|
|
|
|
|
No can do I'm afraid.
Your only option is to create a text-box-like DHTML element to keep track of things.
Is your ultimate goal to control the format of text entered in?
Cheers,
Andy
|
|
|
|
|
How can check for and start a local application on a client machine from an ASP?
this application is not from microsoft but is from ESRI.
Thanks
|
|
|
|
|
Yes it is possible (ASP is not necessary either)
I think before we continue you should verify why you are attempting to perform this DUBIOUS operation!!
|
|
|
|
|
I am currently writing a site to be run from a CD. There are a load of Word, Powerpoint and Excel files that I have links to but I would like them to open the actual applications rather than just display the files within the browser window.
I have written a VBScript to do this but keep getting the IE security message about unmarked ActiveX controls, and if this site is ever run over a network, the ActiveX control wont even be downloaded with the default IE security settings.
I would like to be able to just change the IE security settings to accept the control but this is not really a valid option with over 4000 machines (most with users who have difficulty finding the ON button!! )
These are the bits of code that are causing the security issues:
Set objWord = CreateObject("Word.Application")
Set objPPT = CreateObject("PowerPoint.Application")
Set objXL = CreateObject("Excel.Application")
I have done a little research and believe I need to do the following:
1) Embed the controls within <object> tags in my HTML
2) Assign them the appropriate CLSID - What are these for these 3 controls?
3) Modify the registry on the Client machine to mark these controls as 'safe for scripting' - I have no idea how to do this from my webpage
Any help would be much appreciated
Kind regards
Tony Perrin
|
|
|
|
|
You can use HTML Applications and bypass all that security stuff. For starters, just rename your .htm files to .hta. HTML Applications are supported by IE 5 and higher. HTAs give you much finer control over everything, most notably there are no security restrictions. See the MSDN Library article for more: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/hta/overview/htaoverview.asp
If your target is IE 4, you can't do anything, except maybe change the user's security settings - not a sensible solution.
A list is only as strong as its weakest link. - Don Knuth
|
|
|
|
|
We've just moved to a new Phase of a web project we're working on. We're using Visual InterDev and the move to this new phase is requiring some pretty big database changes (Sequel Server). Since the customer is currently using the previous phase, we've moved all the tables over to a new database, created a new InterDev project on our development server, copied over all the code, got the SourceSafe integration and all working and changed the global.asa to open the new database instead (we're using a connection string... no ODBC).
My question is simple... when I changed my global.asa I can connect just fine from within the project. However, when I copy the project to a test IIS server, it doesn't hit the new database. So, does changing my database connection in InterDev change any other files that need to be copied over to the test server?
Thanks,
Matt Philmon
|
|
|
|
|
Have you stopped and restarted IIS?
The connection string is most likely been cached.
Cheers,
Andy
|
|
|
|
|
how do I check if by javascript code if the
activeX on the clients browser is enabled.
thank you
|
|
|
|
|
Hello,
My company have an website, but for security policy(auditing issue), anyone want to see the content of the website include words and images, must have an account. For this issue, I want to use normal asp authentication, but it can't protect the images if someone know the url of this image, he can load this image directly. So I use Windows 2000 Server account to do this, but it let my work overload, too many user, too many group, too many account revoke wait to reset, etc, and unfortunately, this server crash last week, I reinstall the OS and environment in 2 hours, and rebuild all the account 6 hours, call all user to tell them that they have a new passowrd 1 day. I want have a new solution ....
I have 2 idea about this, but still not have no idea how to do.
One is build a share account, only this account can access the protect directory, and all the user's ID and password and other information put in the database(MS SQL or MySQL or others), and when user logon, find users ID and password, if match, when user load the protect page or image, use the share account to logon automatically by ASP at server side, user never know the share account name and password, or only know the ID. About this, I don't how to logon server at background ???
Another idea is an stupid idea, just use some user management component, or use Microsoft ADSI to manage the user accounts.
Experts, please help me, or you have other solution, please tell me ....
Thanks,
Regards
Vistac Wu
|
|
|
|
|
Move your images directory out of the inetpub...
|
|
|
|
|
hi folks
i am looking for a asp code which sends a table from the database as a mail automatically daily at certain time say for ex.7 pm daily.
is there any one who can help this out please respond back asap
thanking you in advance
bsr
|
|
|
|
|
I'm not sure ASP would be the best way of doing this. You would probably be better writing a app which can be scheduled to run by the at NT schedule command.
What kind of database is the table in? SQL,Oracle,Access?
What mail server are you intended to use to send the mail?
Michael
|
|
|
|
|
i am using the database MSACCESS and the smtp mail server
so do i need to write a executable application which runs as a service ???
|
|
|
|
|
Actually it is possible to use an ASP page to do this. (maybe not the best solution, but just for fun here is how to do it)
The e-mail portion is simple, using either CDONTS or one of the many e-mail components out there (eg ASPMail). Then you would just be building the body of the message from the database table via the usual ADO tapdance.
The tricky bit is getting it to run regularly, as ASP is not "executable" as such, it must be interpreted through a web server. This allows for no regular scheduling, as ASP exits memory upon completion. I did use a couple of ASP scripts to do some automated tasks just for the fun of it once though. (ok ok, I'm a geek )
The way you get it to execute regularly is by using task scheduler to execute a command line of "iexplore [insert page url here]" without the quotes. You will need to make sure that iexplore.exe is in your path or specify the path to it when you call it.
I would just use the server's task scheduler to do it. Or if it is a hosted site on a remote machine, you can use the task scheduler on your own machine, just remember that your machine will have to be running to call the page.
Jason Jystad
VP in charge of Goofy Quotations
Cito Technologies
www.citotech.net
>------------------------------------------------<
"Luckily," he went on, "you have come to exactly the right place with your interesting problem, for there is no such word as 'impossible' in my dictionary. In fact," he added, brandishing the abused book, "everything between 'herring' and 'marmalade' seems to be missing."
-- Dirk Gently (Douglas Adams)
>------------------------------------------------<
|
|
|
|
|
First Question is does anyone know of a function to find the size of a window(in pixels)?
Second, How can use a javascript variable to determine the size of an object, such as a picture or an ActiveX control?
What I am trying to do is detect when the IE window is resized, then I want to resize an ActiveX control to the size of the window.
Any help will be GREATLY appreciated.
Thanks,
Aaron Gillmann
|
|
|
|
|