Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

Venkatesh P

@Venkatesh P
About
Posts
21
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sending mail using ASP.
    V Venkatesh P

    Hi, I searched that. But I am not getting for using in windows server 2003. I tried the below code:

    <%

    Option Explicit

    dim sName, sEmail, sMessage
    dim oCdoMail, oCdoConf, sConfURL

    if Request.Form("Action") <> "" then
    sName = Request.Form("Name")
    sEmail = Request.Form("Email")
    sMessage = Request.Form("Message")

    	Set oCdoMail = Server.CreateObject("CDO.Message")
    	Set oCdoConf = Server.CreateObject("CDO.Configuration")
    
    	sConfURL = "http://schemas.microsoft.com/cdo/configuration/"
    
    	with oCdoConf
    		.Fields.Item(sConfURL & "sendusing") = 2
    		.Fields.Item(sConfURL & "smtpserver") = "server name"
    		.Fields.Item(sConfURL & "smtpserverport") = 25
    		.Fields.Update
    	end with
    
    	with oCdoMail
    		.From = "you@yourdomain.com"
    		.To = sEmail
    		.Subject = "My message subject"
    		.TextBody = sMessage
    		.HTMLBody = sMessage
    		.Configuration = oCdoConf
    		.Send
    	end with
    
    	Set oCdoConf = Nothing
    	Set oCdoMail = Nothing
    
    response.write "Thanks for your message!"
    

    else
    %>
    <form method="post" action="<%=Request.ServerVariables("SCRIPT_NAME")%>">
    <p>Name:<br /><input type="text" name="Name" /></p>
    <p>E-mail:<br /><input type="text" name="Email" /></p>
    <p>Message:<br /><textarea name="Message"></textarea></p>
    <p><input type="submit" name="Action" value="Send" /></p>
    </form>
    <%
    end if
    %>

    But I am not getting the mail in inbox. Any help on this.. Thank you

    Thanks & Regards, Venkat

    modified on Tuesday, March 9, 2010 4:33 AM

    Web Development sysadmin windows-admin tutorial question

  • Sending mail using ASP.
    V Venkatesh P

    Hi, How to send a mail using ASP? I am using windows server 2003. I want to have a form, in which user can enter name,email address and then in the submit button, send the mail. How to achieve this? Thank you

    Thanks & Regards, Venkat

    Web Development sysadmin windows-admin tutorial question

  • Using SAPI 5.1 for multiple languages like french
    V Venkatesh P

    Hi, I am using c# and SAPI 5.1. Is it possible to use MS SAPI 5.1 for different languages like french, spanish., How to use the SAPI 5.1 to use multiple languages? Thank you

    Thanks & Regards, Venkat

    C# csharp tutorial question

  • providing scrollbar in listbox+c#?
    V Venkatesh P

    Hi.. I checked the code project articles. One author had suggested to use the

    tag with Overflow:Auto . I Have changed the code as below. Is this proper? Thanks & Regards, Venkat

    C# csharp asp-net tutorial question

  • providing scrollbar in listbox+c#?
    V Venkatesh P

    Hi.. I am using ASP.NET 2.0 +C#. In my webpage, I have a listbox. I have declared the listbox as shown below: I want to provide a horizontal scrollbar so that long names can be easily seen. How to provide the horizontal scrollbar to the listbox? Thank You Venkat

    C# csharp asp-net tutorial question

  • xml file export leaves web page open??
    V Venkatesh P

    Hi.. I have a web application(ASP.NET 2.0, C#), in which I am exporting a xml file. The web page has a button called Export. When the user clicks the Export button, the File Download pops up, in which it has the Open,Save and Cancel Butons as in a normal file download pop-up. Being an xml file, the page also opens up,without the content behind the File download pop-up, When the user clicks Cancel button, the file download pop up is gone, but the xml page(without the contents) is still open. This also happens when the user has successfully downloaded the xml file(Xml page is open) Is it possible to close the xml page after the user clicks the cancel button and after the user saves the xml file? I am using Internet Explorer 6, Windows xp, SP1. Please help.. Thanks

    Thanks & Regards, Venkat

    C# csharp asp-net xml help question

  • Article Deleted??
    V Venkatesh P

    Hi.. I am venkatesh, I had posted 2 articles. Today one of my articles was deleted. Could i please know the reason for deleting the article?

    Thanks & Regards, Venkat

    Site Bugs / Suggestions question

  • Creating aspx page dynamically
    V Venkatesh P

    I need to create new aspx page with the help of xml and xslt? The aspx page has to be created hrough xml and xslt

    Thanks & Regards, Venkat

    XML / XSL xml help question

  • Creating aspx page dynamically
    V Venkatesh P

    Hi.. I need to create aspx page dynamically using xml and xslt? Could anyone please help me in creating an Aspx page using xml and xslt.

    Thanks & Regards, Venkat

    XML / XSL xml help question

  • How to Retrieve hidden textbox value through xslt
    V Venkatesh P

    Hi.. I have a hidden text box value in my xslt page . Could anyone please help in retrieving the hidden text box value through xslt and assign the hidden textbox value to a variable?

    Thanks & Regards, Venkat

    XML / XSL xml help tutorial question

  • getting File path??
    V Venkatesh P

    I agree that this is windows shell programming. In that path is generated by args[0]. I have an application, which contains a tab control. inside the tabcontrol i am having a textbox. I am getting the string args[0] value from the program.cs file. I want to assign the string args[0] value to the textbox. How to assign that value to the textbox? This is the program.cs file static class Program { public static string pathkey; public static string path { get { return pathkey; } set { pathkey = value; } } [STAThread] static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); Form1 objform = new Form1(); try { Program.pathkey= args[0].ToString (); } catch (Exception ex) { } Form1.cs ********* In my form1 load, i am assigning the value to the textbox txtLocation.Text = Program.pathkey.ToString(); But i am not able to get the value? In registry i have the entry as C:\Documents and Settings\venkadeshp\My Documents\Visual Studio 2005\Projects\HCI_DMS ConsoleApplication\bin\Debug\HCI_DMS ConsoleApplication.exe %1 . But i couldnt find the file path in the string args[0] in the program.cs main function? Thanks & Regards, Venkat

    C# csharp tutorial question

  • getting File path??
    V Venkatesh P

    I had posted this message only after searching in google and msdn.. I have a windows based application in c#. On Windows explorer context menu i added one context menu item named "MyContext" . when the user right clicks on a file or folder, i have "MyContext" menu(This is the context menu item that i have added to the windows explorer context menu). When i click "MyContext" menu, i have to execute one application. In that application page load, i want to get the file or folder path that the user right clicked. How to get that file path?? Please help -- modified at 5:19 Wednesday 3rd January, 2007

    Thanks & Regards, Venkat

    C# csharp tutorial question

  • using single sign on?
    V Venkatesh P

    I need to implement single sign on for an intranet application using c#

    Thanks & Regards, Venkat

    C# csharp help tutorial question

  • getting File path??
    V Venkatesh P

    How to get the file path on mouse right click in c#?

    Thanks & Regards, Venkat

    C# csharp tutorial question

  • Need Help in context menu
    V Venkatesh P

    Any help...

    Thanks & Regards, Venkat

    C# csharp com help tutorial question

  • using single sign on?
    V Venkatesh P

    How to implement single sign on in c#? please help Thanks & Regards, Venkat

    C# csharp help tutorial question

  • How to get a application pathi in run time? in C#
    V Venkatesh P

    HI.. How to get the path of the folder or file that the user has clicked in the windows explorer

    Thanks & Regards, Venkat

    C# csharp tutorial question

  • How to get a application pathi in run time? in C#
    V Venkatesh P

    If u want to get the path of your application, then use the below code: System.Reflection.Assembly.GetExecutingAssembly().Location Thanks & Regards, Venkat

    C# csharp tutorial question

  • Need Help in context menu
    V Venkatesh P

    I am able to register the context menu, but its not getting displayed.. please help Thanks & Regards, Venkat

    C# csharp com help tutorial question

  • Need Help in context menu
    V Venkatesh P

    Hi.. I tried the same code. I am getting the message box that the Shell extension was registered. But still i dont get the context menu? please help Thanks & Regards, Venkat

    C# csharp com help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups