I am using CDONTS in an ASP program to accept input from a Form and send an E-mail.
The form includes the following as well as some other information :
From (the name of the sender)
To ( the name of the recipient)
From E-Mail ( the senders E-Mail Address i.e. the Reply to address)
To E-Mail ( The recipient's E-Mail Address )
I am having trouble with two properties. What property do I use to set the From (the name of the sender) ? What property do I use to set the From E-Mail ( the senders E-Mail Address i.e. the Reply to address) ?
I got the following error when access an asp page.
Response object error 'ASP 0185 : 8002000e' Missing Default Property /downtime_category-old2.asp, line 0 A default property was not found for the object.
there is a property in asp.net called autopostback, what i want is to set this property on plain asp to give a combo the ability to postback the selected option.
Is this possible???? i need to set something like that to a dinamic combo, any ideas????
If it can be done in java or vbscript just please tell me, cause i don�t have a clue if is possible or not.
returns the error "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" In both cases connection to sql server is ok.
I have a requirement like this.When the textbox gets focus..at this even i want to change the input langauge settings.like arabic. Currently i have to do it manually by pressing the Alt+Shift key..to toggle between twon langauages
when do u use property procedure for example PublicProperty CompanyName() AsString Get Return strCompany EndGet Set(ByVal Value AsString) strCompany = Value EndSet EndProperty
I have a few server controls on my page. Also I have a aspropDownList with AutoPostBack="True". When I select any value from the dropdownlist I want all the controls to be empty when my page reloads.
Can I use the EnableViewState property for this or I have to write specific code to do this? Currently the values which I had enetered in the servier side controls are retained after the postback.
Is there any way to make visiblitiy a combo box (2) in asp false when i used combo box (1) to select one item in the combo box(1) i want to make a combo box(2) which should be made visible false .
I'm using the Microsoft.XMLDOM object in an ASP page to read an incoming XML post request and respond to it. Although the XMLDOM object verifies the XML at a basic level, I want to make sure that the request is in the correct format (as per the specification I have to work to), as well as making sure that any XML at all was sent successfully.
At the moment, I'm stuck at the point of just trying to make sure that an XML request was sent at all. Here's the code I'm using. note that I'm loading the XML from a file for ease-of-testing, but am giving a bad filename so as to create the condition where the XML didn't load successfully.
I am able to get the nullable property OK when generating a recordset with a simple SQL statement such as "select Fld1,Fld2 from Table1" and then looping thro' the fields and :-
Response.Write(rs.fields(x).attributes and adFldIsNullable)
When I use the following statement all fields are erroneously reported as nullable:-
"Select B.Fld2, B.Fld3 From Table1 A Left Join Table2 B On A.Fld1=B.Fld1"
I want to disable text box property so user can't modify that perticular text box value in HTML form.I do not want to use label.how to disable text box property in HTML form.
how could I know if a specific sessionid still exists or not. If there is a method or anything that can tell me about the existence of a specific sessionid .
On my webpage I have a textbox. I would like to be able to change the text in the textbox and via a pushbutton have the value in the textbox written to the .text property so that next time the page is viewed the new value will be displayed.
I'm opening a recordset with a SQL statement and then trying to use the .RecordCount property to count the number of rows in the recordset. For some reason, it is always returning -1. Code:
I have installed on my web server the aspsmartmail component v.2.7.
All work fine, but I have only on problem... Can I specify the mail server port with the "ServerPort" property?
On the web I read: .... Set objSmartMail = Server.CreateObject("aspSmartMail.SmartMail") objSmartMail.Server = "myserver.mail.com" objSmartMail.ServerPort = 21 ...
The last line return a "Object doesn't support this property" How can I specify a specific port with this object?
I have a standard ASP Textbox control on my form and need to set the readonly property of it using javascript. It's not essential that I do it via client side script but would look a lot better.
why is the DefinedSize of the Field object of type adInteger returning the value 4 and the same property on a adVarWChar type field (Text in MS Access) is returning the max length of the string that it may contain (for example 52)?
I am trying to dynamically generate links on a webpage base on a list of file using their title property as the link text. My problem is I don't know how to get the title property of the file. Is there a object or dll i can use?
I got the sample from MS website on the search form. There is a property, DocTitle. It doesnt bring any data back to be displayed. Could someone help me and tell me what this is suppose to bring from pdf/word files?
I thought it was the title in the word document for the document properties? I have something there in the document but it still doesnt display it. It seems to be always blank.
i have made a different site for user authentication and want to check for authenticated user from a <loginview> <asp:loginstatus....> in a different site how can i do that ,
the problem i am facing is that when i use a loginview and login status link in one of website to other site where i have made the user authentication module i get the error on the link
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /testsite/login.aspx
Using ASP, Is there a way to read the File property of an Image. Like Comments, Subject etc. (Information seen when you right click on an Image) I have tried using the FileSystemObject. But this is limited to very few properties like AccessDate Modified Date etc.
I also tried reading the Exif information in the JPEG. The EXIF Comments are not the Same as Comment section available from the Properties of the File.
I have a problem here, dealing with zero. When i insert into a SQL database a value, say 4.50, through an ASP, it will display in the SQL as 4.5, instead of the value 4.50 i entered. Therefore, when i retrieved the data from SQL, it will only return and display 4.5 IS there any way whereby i will get 4.50 instead of 4.5?
I use following code in an ASP page to generate a GUID:
<% dim obj Set obj = Server.CreateObject("Scriptlet.TypeLib") Response.Write(obj.guid) Set obj = nothing
%>
It worked fine on my WIN2000 computer running IIS. I recently bought a new computer with XP Pro and this page times out. I now it is the call to obj.guid. I have seen the same behaviour on another XP machine as well.
The funny thing is if I paste this code into VB and display the guid in a message box, it runs without a problem.
I've just installed ASPXMLRPC library and testing their main function:
xmlRPC ("URL", "command_name", params)
The function converts all parameters to XML, sends a request to third- party server and receives XML response. It seems to be getting response fine. But when I call the function like this:
If (fs.FileExists("c:winntcursors3dgarro.cur"))=true Then Response.Write("File c:winntcursors3dgarro.cur exists.") Else Response.Write("File c:winntcursors3dgarro.cur does not exist.") End If
set fs=nothing
Except everytime I run it, I get an error saying the property or method is not supported?
We created an asp.net 2.0 app, which sends smtp email using System.Web.mail. The app is in an IIS 6 application pool isolated to 2.0 apps on a 2003 server.
The app worked fine for a few days; recently however it began failing when sending to external addresses (it works fine if the recipient is inside our internal domain).
Comparing the logfiles, I notice when it was working both versions of the CLR appear in log entries, for example: