For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
I need to be able to take items no longer avaalble or renamed and issue a page 410 error.
The page is dynamic, a single page that uses query strings to load the item.
So I double check to make sure the item exists, and if not, draw a panel that give the user a message, but I want to send a message to the crawler saying the same thing.
I'm looking for suggestions or tips, but so far I have the code below, but I think it needs improvement.
HttpContext.Current.Response.TrySkipIisCustomErrors = True
HttpContext.Current.Response.StatusCode = 410
HttpContext.Current.Response.StatusDescription = "Product item does not exist or has been moved or renamed"
Me.Page.Header.Title = rm.GetString("Page Error 410 - This item is no longer available and has been removed or relisted")
You are using ASP because you must need some server side scripting in your application. How can you expect to convert it to HTML. How will the server-side scripting logic be translated to HTML and still keep working.
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.
It is not possible to change a dynamic website into a static one, i assume you chose asp because you have some server side code that you want to execute but if you are talking about changing your asp.net controls to simple html controls i would tell you that all asp controls are eventually rendered as html on the client side so there is really no point in changing it.
For situations out of my control. The pop up window, is the fastest way I can debug the app I have online.
I tried this:
Help.ShowPopup(this, "Testing ...", new Point(100, 100));
and it threw an error. I believe it was a "500 Error". What am I doing wrong? Since I am unable to comple and step through the code, it is difficult to find out and it ie especially complicatated because the vehicle i intent do tuse to debug is what is crashnig.
So this is the only reason to downvote that??? WOW....
I just answered as per my understanding of the question... and if it is not fine than you should clear me by guiding.. not by doing this.. anyway thanks for welcoming me over this forum as being the Senior....
Yes, it's possible but requires quite a lot of mathematics. you need to know the co-ordinates of the start point on your map, so that you can calculate the offset of each point. Then, in order to plot the points you need to convert those offsets to pixel offsets by scaling to the size of the image.