|
Matt Newman wrote:
It would be nice if MS would let other software run it but then again it is Microsoft.
It would be nice if it ran on just IIS - but it doesn't
There are three types of people in the world: Those who make things happen; those who watch things happen; those who wonder what happened.
|
|
|
|
|
Roger Wright wrote:
It would be nice if it ran on just IIS - but it doesn't
All I did is install all IIS updates etc and installed the .NET runtime and it is supposed to automagically install it.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
I did the same - installed the latest updates, the runtime, and the tool. I went thru the Hello World tutorial, but skipped the first two steps using the included server stuff and went straight to the IIS-hosted procedure. Every attempt resulted in an internal server error, and a few minutes later while I was trying to post a question in the online forum, it blue-screened on me.
It's just as well for now, as the hosting service I sell doesn't support .NET yet. No rush... It's a nice looking, easy interface, though - I do hope they work the bugs out soon.
There are three types of people in the world: Those who make things happen; those who watch things happen; those who wonder what happened.
|
|
|
|
|
Roger Wright wrote:
It's a nice looking, easy interface, though - I do hope they work the bugs out soon.
Once you get it working it is pretty nice. I hope you figure your troubles out though
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
"You can't seriously believe that you could get away with suing someone over quoting text from a message posted in a public forum, can you?" - John Simmons
|
|
|
|
|
|
Nnamdi,
Do you mean like using the Split method on a string to return an array?
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
ive sorted it now, i had a look around PHP.net and found that the strtok function did what i was lookin for, if i used it like this:-
$string = "these,are,key,words";
$tok = strtok($string, ",");
while ($tok)
{
echo $tok;
$tok = strtok(",");
}
but thanks for replying to the post.
Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk
|
|
|
|
|
|
PHP only has experimental support for XML DOM. The only way I know of is to use standard file create methods.
Hello, XML is way past the experimental stage guys. Put away the betamax and 8 track tapes and join the rest of us.
|
|
|
|
|
|
I use this code to write Server control in ASP.NET:
protected override void Render(HtmlTextWriter output)
{
output.AddAttribute(HtmlTextWriterAttribute.Alt,"Heyyyyyy");
output.AddAttribute(HtmlTextWriterAttribute.Href,
"http://CodeProject.com");
output.AddStyleAttribute(HtmlTextWriterStyle.FontSize,"20");
output.AddStyleAttribute(HtmlTextWriterStyle.Color,"Blue");
output.RenderBeginTag(HtmlTextWriterTag.A);
output.Write("This is a link to the Wrox web site");
output.RenderEndTag();
}
But Alt does not appear when mouse goes over the text.So how can I add two attribute?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
what does the rendered html look like?
|
|
|
|
|
Andy Smith wrote:
what does the rendered html look like?
Everything is ok,it display the link,but the TOOLTIP does not appear.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
ok, could you paste the actual final html in a reply so I could take a look?
also, remember that not all browsers support tooltips. what browser are you seeing this behavior in?
|
|
|
|
|
Thank you Andy. I change my control a little.I derive it from WebControl instead of Control and then add tooltip to ir and it solved.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
Hi Folks..
Im calculating an impt variable called "querystring" in asp_page1.asp..Now if i have to transfer this value to asp_page2.asp
How do i use the response.redirect method..
I have tried response.redirect
1). "asp_page2.asp?querystring"
2). "asp_page2.asp?@querystring"
3)."asp_page2.asp?!querystring"
but none of them worked..How do i pass the value that i get at one page for my variable to the other.
Luv
Pradhip.S
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
I'm trying not to be too critical but this is such a basic question you really should do some research before looking for help here.
|
|
|
|
|
Using JScript:
Response.Redirect("asp_page2.asp?querystring=impt&nextval=impt2");
You could put it into the session too.
ed
Someday we'll look back on this moment and plow into a parked car.
Evan Davis
|
|
|
|
|
Searched and searched and really tried to find the answer. I've give you a hint, look at the URL that got you here.
|
|
|
|
|
Hey there,
I'm having a problem with ASP.NET cookies for an article I'm working on (for CP). I want to check if a client has a cookie called "LastVisit" and use it's Expires property to determine if the user visited a page within the last n minutes. If the cookie is not expired I want to take one action, if it is expired, I want to update the time the cookie expires and allow the user to continue normally.
I thought this would be easy, but I'm having problems. I can create the cookie and set its Expires property, but cannot seem to read it back. I'm using the HttpCookieCollection.Count property to figure out if the client has any cookies and then attempting to read the "LastVisit" cookie if Count==1. This is where the problem is: I cannot update the value of the Expires property using the following code :
HttpContext.Current.Response.Cookies.Item("LastVisit").Expires=DateTime.Now.Add(new TimeSpan(0,0,0,20));
Response.Cookies.Add(HttpContext.Current.Response.Cookies.Item("LastVisit"));
Any suggestions?
Thanks!
Erik Westermann
Author, Learn XML In A Weekend (Fall 2002)
|
|
|
|
|
Never mind ... got it
Erik Westermann
Author, Learn XML In A Weekend (Summer 2002)
|
|
|
|
|
I want to be able to send a XML file to client (meaning the client will download it). I have a problem with the HTTP header that makes IE to display the file in its page instead of opening the window to download the file.
Here is my header:
HTTP/1.0 200 OK
Content-Type: text/xml
Content-Disposition: inline; filename=myfile.xml
Content-length: 10240
I "hacked IE" by modifying the extension in something it does not recognize (.abc) and it works, the file is downloaded. However this is not what I want.
Anyone could help?
Thanks.
Best regards,
Alexandru Savescu
|
|
|
|
|
Response.ContentType = "text/xml"
Response.AddHeader "content-disposition", "attachment; filename=myfile.xml"
[Optional:]
Response.AddHeader "content-length", [Size of file in bytes]
|
|
|
|
|
Thanks, it worked!
My problem was with "content-disposition" . I used "inline" instead of "attachment"
Best regards,
Alexandru Savescu
|
|
|
|
|
hi,
Any one knows how to execute the webmethod periodically in the web services?
Thanks in advance...
|
|
|
|