|
How can I use the debugger in VS.Net to debug classic ASP? I remember that I did it before.. but then I have forgotten how to get the DLLHost for ASP Scripting to be able to show up in the DebugProcesses...
Pls Advice.
~MicDevNet~
|
|
|
|
|
|
A puzzle came up today which I can't really explain why, and was hoping someone would have a better idea than me.
In VBScript if you create a string which represents a date
and then call vartype on that variable, it returns as a subtype of date.
I think it should be a string, and wondered why it would return as a date.
dim mydate : mydate = "2005-01-01 12:20:05"
response.write vartype( mydate )
|
|
|
|
|
No, it returns 8, which is the value for the subtype string.
---
b { font-weight: normal; }
|
|
|
|
|
That will teach me to actually test things out.
Thanks anyway, I was sure it was going to be a string.
|
|
|
|
|
I am looking for help with an auto email responder, when someone uses a feedback form. I have googled it and all I come up with is a service that does it. I just need something simple that will respond to feedback, thanking the individual for their question and we will will get with them asap. It also should include a way to include the company logo in the email. I have no idea where to begin. If there is a program that allows you to develop a template for the email and then gives you the code to add to the page would also be great.
|
|
|
|
|
The framework provides the SMTPMail class, which will do what you need...as simple as declaring an EmailMessage, setting .Body, .To etc, and sending...MSDN / Google will help
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi,
This is a crosspost from the ASP .NET forum (I don't know which is the best for my question), sorry for that.
So I have two questions about javascript (not to do webdevelopment, but as embedded script language for an application):
Here[^]
and
Here[^]
Thanks !
~RaGE();
|
|
|
|
|
I have used marquee to scroll Photo.
The problem is, after the loop is completed and start
another loop.there is a space between to loop.
i want to remove space between two loops and
continue display photo e.g . after the last photo
scroll then immediate display first photo in marquee.
if anyone know please help me.
h v dhola
|
|
|
|
|
I have used maquee to scroll list of photo.
The problem is,there is a space between photo on each loop.
I want to remove space from the loop. and continuous disply photo.
If anybody know please help me.
H V Dhola
|
|
|
|
|
|
You could also try using the align attrb. Not sure if that will work, but It work for me with a small gallery I created. Also maybe even a small table with no padding. Not sure exactly what your tring to accomplish.
|
|
|
|
|
Hi,
I'm writing a Web Credit Card application that will be used in small retail stores. Normally when the credit card is approved the transaction is automatically printed on the printer for the customer to sign.
I'm not sure if this should be designed the same way for the web. There are multiple choices and I'm not sure which is best approach to take.
I can:
1. Automatically print a receipt on the default printer
2. Automatically print the receipt, giving the user a dialog to select the printer
3. Display the receipt in HTML in a pop-up window and the user will click a print button
Which method do you think is the best?
Thank you,
Glenn
|
|
|
|
|
|
Hi,
I have written some C# code that appears to be working, but as I write this message, I can see that it won't. In the catch routine the ToString will give an exception if the session has timed out.
What I am doing is obtaining a bunch of information about a user at login time and storing the information in session variables. In other C# web screen I reference the variables, but I'm unsure the proper way to determine if the session has timed out.
Here's what I have got, but I think it would be better to set up something that captures timeouts and redirects them, but i'm not sure how other than this.
<br />
try<br />
{<br />
dblSaleLimit = Convert.ToDouble(Session["SALELIMIT"].ToString( ));<br />
}<br />
<br />
catch(Exception e)<br />
{<br />
if (Session["ID"].ToString() == "")<br />
{<br />
Response.Redirect("Timeout.aspx");<br />
return;<br />
}<br />
<br />
String = e.ToString() + 0x0d + 0x0d + " Message: " + e.Message + 0x0d + " Stack Trace: " + e.StackTrace;<br />
efResponse.Text = String;<br />
<br />
args.IsValid = true;<br />
return;<br />
}<br />
Thoughts are appreciated....
Thank you,
Glenn
|
|
|
|
|
You can capture this in OnSessionEnd event in Global.asax...
<< >>
|
|
|
|
|
|
I created a user control in C# that I'd like to display in IE. I also did create a virtual directory on my local host. It works fine on one machine, but I can't get the control to show up on 3 other machines. They just show a placeholder box for the control.
Here is html that I am using:
<object id="MyUserCtrl"
classid="http://localhost/MyCtrl/MyCtrl.dll#MyCtrl.UserControl1" height="500" width="500" viewastext="">
I think this might have something to do with my IIS settings?
Please help.
|
|
|
|
|
For starters, localhost won't be the right machine on any machine but your own.
----
Bots don't know when people die.
--Paul Watson, RIP
|
|
|
|
|
yes, I am running this on my local machine for now
|
|
|
|
|
Right. But that URL is evaluated by the browser, not the server - so for it to have a chance of working on any machine but the server (your machine) itself, you'll need to use the actual network name of your machine, not localhost .
----
Bots don't know when people die.
--Paul Watson, RIP
|
|
|
|
|
but I can't even get it to show up on the same machine in 3 cases out of 4.
and I configured the virtual directories the same on all of them
|
|
|
|
|
hi ,
I am facing a problem in my ASP.Net project. The scenario is something like this.....
I have a radio button list (web control) and say few text boxes(say TB1, TB2 ..etc) and buttons .......When I select a particular radio button from the list, TB1 and Button1 should be enabled. I want to give this on client side...I have used C# for serverside scripting......
What I did was , I wrote a javascript function and that function should be called when selected index changes....something like this
<asp:radiobuttonlist id="rblistmain" onselectedindexchanged="fun1" runat="server">
<asp:listitem> A
<asp:listitem> B
I then wrote the fun1 in > tag.
But I get error when I execute it - that the function was not found....
Can some one tell me what's going wrong?
I dont want to give autopostback as true coz I want the things to happen at client side
Thanks,
Deeps
|
|
|
|
|
|
no actually if autopostback is enabled, it will use only serverside function. and even if its not enabled, it will by pass the client side-- thisi is what i found in one of the books. Also Chandana suggested to use html controls instead but then these html controls i ll not be able to refer them in my code behind class. I dont understand what to do. Can anyone help
Thanks,
Deeps
|
|
|
|