|
I have already created help file using robohelp and set map ID for each topic. So different id's and .htm files are there. I want to open the help file to the corresponding topic for each aspx page, when I press F1 key. But I don't know how to connect the map id through my web page. I tried with 'onHelp' event in script. But it only opens the help file, not the corresponding topic. Is using 'onHelp' in , the right way? Or any other better way is there to trap the F1 key? Please explain what are the steps for the corresponding problem.please give information for the corresponding problem.
hashim
|
|
|
|
|
Why do you want F1 to be help in your web app ? IE brings up it's help with F1, I doubt you can do anything about that.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
While pressing F1 ,it should load corresponding files(.htm) that are already created...can we do that in web
|
|
|
|
|
hashim.os@quadra.in wrote: While pressing F1 ,it should load corresponding files(.htm) that are already created...can we do that in web
No. It brings IE's help window as Christian said.
|
|
|
|
|
I have already created html file.while pressing F1 can i access that html page ,but i used on press event to do,but it was not good.is any other method is there
|
|
|
|
|
Create a link called 'Help'. Stick it in the corner of all your pages. This is the way the web works and what people are used to...
|
|
|
|
|
Hi
am getting service unavailable error for my application pool and when i restart application pool it is running for some 2 or 3 days and then again am getting this error.
Can any one please tell me is this the problem with server settings or with the code in aspx pages(I found no infinite loops in the code while i run the application locally).
i already checked registries for permissions all registries have full permissions.
Here is the error log
Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 1002
Date: 9/16/2007
Time: 6:32:50 AM
User: N/A
Computer: ALPHA1
Description:
Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Before shutdown, I always get a load of these:
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1013
Date: 9/16/2007
Time: 6:31:50 AM
User: N/A
Computer: ALPHA1
Description:
A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '3796'.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
any help appreciated.
Thanks
|
|
|
|
|
Please don't double-post.
Paul Marfleet
|
|
|
|
|
It is possible to use the [CTRL + W] on the code to close the window or browser? If possible can i have a sample code.
Thanks and Regards
|
|
|
|
|
Try to write a useful subject line. Almost every thread is about someone who needs help, so that doesn't do anything at all to distinguish your thread from other.
vanhawk wrote: It is possible to use the [CTRL + W] on the code to close the window or browser?
No, you can't feign keypresses from Javascript.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
yes it is possible. You have to use combination of onkeydown, onkeyup, and onkeypress functions to catch the keys and call window.close() to close the window. You will be calling these function in body tag. onkeydown you will be checking for ctrl key and initialize the flag for it, onkeyup reset the flag for ctrl, onkeypress check the keycode for W and if ctrl key flag is true and it is W then close the window.
This is my understanding, but you might have to play with it. I have done it but it was way past and I don't have the code with me right now.
-----
|
|
|
|
|
|
Sorry for my previous post in the lounge - I thought I was in the right forum, but the hand is faster than the eye...
However, let's get to my question: does anybody know a plugin to constantly display the viewstate size for the current page in IE? Something like a toolbar item or status bar pane would be great.
It could help a lot when testing web sites to find the unnecessarily leaking pages.
Luca The Price of Freedom is Eternal Vigilance.
En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur.
But the best thing God has created, is a New Day.
|
|
|
|
|
|
Well this looks like a useful piece of software indeed, however it requires an http module to do a simple thing that can be completely done client side (and does not show the value without user intervention). I think I'll drop a mail to the author, maybe he'll like the feature request
Thanks a lot
Luca The Price of Freedom is Eternal Vigilance.
En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur.
But the best thing God has created, is a New Day.
|
|
|
|
|
There are some ideas here[^] (I'm subscribed to the author's blog[^], he's a great resource for debugging ideas).
However, again he uses HTTP Modules. If you want to do something client-side you might find writing an extension for Fiddler[^] to be easier than extending Internet Explorer.
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
How do I unzip the file, I have tried opening it with DW and Notepad but dont know what to do next, can someone help?
Regards
Gemma
Regards
Gemma
|
|
|
|
|
What are you trying to achieve?
1) Your subject says 'sendmail.asp'!
2) Your message expresses your desire to unzip a file but you have tried opening it with DreamWeaver (guessed from DW) and Notepad but they are not intended applications for Zip Archives. You may try WinZip for that.
|
|
|
|
|
if i have a string that contains a URL, ana i need to extract
a variable from the query string, i made two solutions , which one should
i use ??
Dim strUrl as String= "http://www.mySite.com?key=5&book=abc"
dim strParam as String = "key"
dim strResult as String
Dim strKey As String = strUrl.ToLower.Substring(strUrl.IndexOf("?"))
Dim strQuery As String() = strKey.Split("&")
For i As Integer = 0 To strQuery.Length - 1
If strQuery(i).ToLower.IndexOf(strParam.ToLower) <> -1 Then
strQuery = strQuery(i).Split("=")
strKey = strQuery(i)
strResult = strKey
Exit For
End If
Next i
'or
Dim strQuery As String = strURL.Substring(strURL.IndexOf("?") + 1)
Dim objRequest As New HttpRequest("",strURL, strQuery)
Dim strResult as String = objRequest.QueryString("key")
your opinions please
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Neither.
Dim url as String= "http://www.mySite.com?key=5&book=abc"
Dim key as String = "key"
Dim result as String
Dim queryString As String = url.Substring(url.IndexOf("?"))
Dim params As String() = queryString.Split("&")
For i As Integer = 0 To params.Length - 1
Dim param As String() = params(i).Split("=")
If param(0).ToLower = key.ToLower Then
result = param(1)
Exit For
End If
Next i
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Guffa wrote: result = param(1)
i think i made a type mistake , strKey = strQuery(1)
could you please tell what's wrong with the second solution ??
the one that used the HttpRequest
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Tamimi - Code wrote: i think i made a type mistake , strKey = strQuery(1)
No, that's not a mistake. The array is named param , not strQuery . The result goes into the result variable, not some variable that isn't even declared.
Tamimi - Code wrote: could you please tell what's wrong with the second solution ??
the one that used the HttpRequest
The HttpRequest object is not supposed to be used that way. The documentation for the constructor says:
"This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code."
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Guffa wrote: "This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code."
i read that on the documentation, but i just wonding way, it could save
the looping time.
thank you for your response
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
The window.onload function was not called i don't know error, can anyone help me please...
|
|
|
|
|
copy paste here your code
|
|
|
|