|
hI,
CAN ANY ONE SEND ME
1) SOME URL ABOUT CREATING CHAT APPLICATION .
2)SOME URL ABOUT CREATING MESSENGER SIMILAR TO ORKUT MESSENGER.
the messenger should have friend list,Add user and find user.
Guhananth.S
modified on Friday, June 10, 2011 1:04 PM
|
|
|
|
|
This link Will give you lots of information about it.
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
A graduation ceremony is an event where the commencement speaker tells thousands of students dressed in identical caps and gowns that 'individuality' is the key to success
|
|
|
|
|
|
I have a page that generates an expense report based on user input. I get the file to generate correctly and saved on the network, but I also provide an option that after the file is created that it is allowed to be saved locally (downloaded). The Excel file is generated using the Aspose library:
expenseReport.Worksheets.RemoveAt("Sheet1")
Dim TempExpenseFile As String = Server.MapPath("~/Temporary Files/") & "Expense Report - " & FirstName & " " & LastName & ".xls" 'Generate a temporary file name
expenseReport.Save(TempExpenseFile, FileFormatType.Excel2003) 'This saves the actual file
Dim file As FileInfo = New FileInfo(TempExpenseFile)
The following code is what I've been trying to work with, to allow the file to download, based on user posts and tutorials:
Try
Response.ContentType = "application/vnd.ms-excel"
Response.AppendHeader("Content-Disposition", "attachment; filename=" & file.Name)
Response.WriteFile(TempExpenseFile)
Response.End()
Catch ex As Exception
MsgBox(ex.Message)
End Try
However an exception is always thrown. The message is "Thread was being aborted." From what I read this is caused by Response.End and it is safe to ignore. So I've tried the above code without the Try-Catch block and I've also tried changing Response.WriteFile to Response.TransmitFile however the file is never downloaded. What am I missing here? Thanks in advance for any help.
|
|
|
|
|
from MSDN: "When this method is used with large files, calling the method might throw an exception. " (http://support.microsoft.com/kb/812406)
Possible?
Also, maybe, try this before the .ContentType: (C# version...I don't know the VB equivalent syntax)
Response.ClearContent();
Response.ClearHeaders();
|
|
|
|
|
Hi
I have created an web app and i like to have license for my web application which says the user to get license when he logs in.
how i can achieve this licensing my product
thanks
|
|
|
|
|
When he logs in, check if he has a license, if not, redirect him to a page where he can get one...
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Hi
Thanks for the reply.
How to Have a license to my product, how to achieve licensing.
thanks
|
|
|
|
|
|
Hi,
I have parent.aspx page which has a grid, the grid has column named Date.
When I double click on that column, the child.aspx page will pop-up.
The pop-up page is a MODAL DIALOG which is the "showModalDialog("child.aspx")".
Now, on that child.aspx dialog page,it has a calendar. If I will change the
date then click update button. The parent.aspx page should automatically refresh
without closing the child.aspx page, but it does not.
There is an example here in codeproject which is exactly the same on my problem
but it uses window.open not dialog. Behavior of window.open and dialog is not the
same. You cannot call the window.opener.document.forms(0).submit(), it will
generate error.
Please help.
Thanks.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
modified on Thursday, June 9, 2011 2:59 AM
|
|
|
|
|
In order to do that as you said you can use the opener method;
You can change the href of the parent page by => window.opener.location.href = {URL};
If that doesnt work you can try reloading the page. You can reload the page in two different ways.
This will return the form to its default values though => window.opener.location.reload(true);
If you want to preserve form data , use the history method.
window.opener.history.go(0);
|
|
|
|
|
Dear Experts,
I am using Jquery calander control in my project. When i click any button the value in the textbox is cleared. Kindly help me to resolve this issue. I have to take the textbox value and save it in DB.
<form id="form1" runat="server">
<asp:Label ID="lblDate" runat="server" Text="Date: "></asp:Label>
<asp:TextBox ID="datepicker" runat="server" ReadOnly="true" ViewStateMode="Enabled"></asp:TextBox>
<asp:TextBox ID="TextBox1" runat="server" TextMode="Password" ></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" ></form>
When i try to get value like
string AA = TextBox1.Text;
It just returns empty.......
<div class="signature">Padmanabhan
<u>My Articles:</u>
<a href="http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=5686247">Articles</a>[<a href="http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=5686247" target="_blank" title="New Window">^</a>]
<u>My latest Article:</u>
<a href="http://www.codeproject.com/KB/office/Word_Automation_Part1.aspx">Word Automation</a>[<a href="http://www.codeproject.com/KB/office/Word_Automation_Part1.aspx" target="_blank" title="New Window">^</a>]</div>
|
|
|
|
|
first of all, you need to use pre tags around your code. That will make it
look like this and be far more readable to the people who might be willing to help.
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
A graduation ceremony is an event where the commencement speaker tells thousands of students dressed in identical caps and gowns that 'individuality' is the key to success
|
|
|
|
|
Here is the correct way to write question:
I am using Jquery calander control in my project. When i click any button the value in the textbox is cleared. Kindly help me to resolve this issue. I have to take the textbox value and save it in DB.
<script type="text/javascript>
$(function() {
var pickerOpts = {
showOn: "button",
buttonImage: 'calendar.gif',
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
showButtonPanel: true,
dateFormat: 'dd-M-yy'
};
$("#datepicker").datepicker(pickerOpts);
$.datepicker.setDefaults($.datepicker.regional['']);
$("#datepicker").datepicker($.datepicker.regional['en']);
$("#datepicker").val();
});
</script>
<form id="form1" runat="server">
<asp:Label ID="lblDate" runat="server" Text="Date: ">
<asp:TextBox ID="datepicker" runat="server" ReadOnly="true" ViewStateMode="Enabled">
<asp:TextBox ID="TextBox1" runat="server" TextMode="Password" >
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" ></form>
When i try to get value like
string AA = TextBox1.Text;
It just returns empty.......
|
|
|
|
|
Dear all,
I have a solution with multiple class library and Asp.net projects.
I want to have a common configuration file for common configuration/settings for all those projects in my solution.
What is the best way to achieve this ? (i didn't find a good solution on the web yet ).
Thanks in advance.
|
|
|
|
|
Do you mean a common web.config for the ASP.NET projects, a common config file for the class libraries, or both?
If you are using source control, such as TFS, a single file could be included in multiple projects. On the file system you could also link the files to each project rather than each having their own.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi Mark,
I mean a common config file for both, Asp.net and class libraries. It is one application with different modules.
|
|
|
|
|
I want to create a calendar using datalist in asp .net c#
I needfull code urgently
|
|
|
|
|
Doesn't everyone?
Please don't ask people to do your work for you, it's irritating for us and it won't help you. Do some Googling, ask for resources and work your way throught it.
If things get tough and you have a SPECIFIC problem you would like help with, ask the question here. I highly doubt anyone here will help you build something from scratch.
Start here[^]. When you get stuck on something specific, come back and ask for help.
Typical n-tiered architecture:
DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty
|
|
|
|
|
Hi,
Is it possible to do a URL rewriting for www.domain.com?userName=Jassim to jassim.domain.com or the only way is to create the sub domain on the DNS?
|
|
|
|
|
|
if you attach a link in facebook or LinkedIn then it will automatically determine the title of the page and it will also let you choose from some of the images? how to this in ASP.NET?
|
|
|
|
|
What you're looking for is HttpWebRequest and HttpWebResponse. These can be used to talk to websites using HTTP and download their content just the same way your browser does.
Here's an article right here on CodeProject[^]. Also some MSDN reference material here [^]and here[^].
Basically you will take the URL, send a HTTP GET request, the server will return the HTML of the webpage. You will need some string processing (generally called "HTML scraping" if you want to Google) to get the content you're after. Then any image locations you find in your HTML scraping, you will need to get their URLs and send HTTP GET requests for each to download the image data.
Make sense? So, keywords for Google:
HttpWebRequest
HttpWebResponse
HTML Scraping
Typical n-tiered architecture:
DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty
|
|
|
|
|
Hi,
1. I want to display a seperator between each horizontal menu item. how can i do this.
2. can i able to give different background colors for each menu item. if possible how can i do that..
Thanks,
|
|
|
|
|