15,900,429 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Shahnawazcode (Top 35 by date)
Shahnawazcode
22-Jan-15 2:27am
View
You first develop this chat application with help of the link given by me. Then you need to hosted in the real hosting server thats it. I think you know how to hosted on server with database by ftp.
Shahnawazcode
21-Jan-15 4:05am
View
yes you can also use it on your local server. if you want to make it live please purchase domain and hosting for run application live. It not costly.
If this solution help you accept the solution. :-)
Shahnawazcode
21-Jan-15 2:52am
View
if you follow the step she done then you sure develop a chat application. It should be work on internet. you need to host your application on web server. I hope you got the answer.
Shahnawazcode
30-Dec-14 7:08am
View
You can directly copy image from Microsoft word file then paste in CustomAjaxHTMLEditor . It will appear on your cursor point.
Shahnawazcode
24-Aug-14 2:19am
View
I am using this example but it still same error:
http://itzonesl.blogspot.com/2013/04/send-email-through-office-365-outlook.html
System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Shahnawazcode
23-Aug-14 11:45am
View
I update the code I found from online is like:
http://www.limilabs.com/blog/outlook365-imap-pop3-smtp-settings
but it gives me error:
System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Shahnawazcode
23-Aug-14 3:05am
View
this code is perfect for me for other server. but when i try to use it in godaddy outlook 365 mail server it show error. If I use your code it also give me the error. if you are working with this server please give me the smtp address and port number? I think this is the problem
thanks
Shahnawazcode
14-Aug-14 11:04am
View
this is the mail login url
https://sso.godaddy.com/?regionsite=www&ci=86066&realm=pass&app=o365&marketid=en-US
Shahnawazcode
14-Aug-14 10:44am
View
after I use this it gives me this error:
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Shahnawazcode
13-Aug-14 8:35am
View
this website is hosted in godaddy and also email run from godaddy. The mail address is sshalemo@ad-betparkingservice.com.
Shahnawazcode
12-May-14 14:19pm
View
thanks for you reply. I need to know support@Shahnawazcode.com is real email address that is exist or not? to remove all mail address those will bounced in future mail campaign. I search a lot but can't get actual solution.
Shahnawazcode
10-May-14 11:26am
View
Thank you very much
Shahnawazcode
25-Apr-14 16:15pm
View
how can i solve this issue now? if I provide i-1 it gives me only last mail address.
Shahnawazcode
25-Apr-14 15:57pm
View
when i give return results[i] it compile fine but runtime produce error
System.IndexOutOfRangeException: Index was outside the bounds of the array.
Shahnawazcode
25-Apr-14 15:48pm
View
Thanks for your time. I am just almost done. But a single line problem that is shows:
Cannot implicitly convert type 'string[]' to 'string'.<br>at he last line when i try to return it.
MatchCollection mc = null;
int i = 0;
// expression garnered from www.regexlib.com - thanks guys!
mc = Regex.Matches(source, "([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})");
string[] results = new string[mc.Count - 1 + 1];
for (i = 0; i <= results.Length - 1; i++)
{
results[i] = System.Convert.ToString(mc[i].Value);
}
return results;
Shahnawazcode
25-Apr-14 15:40pm
View
Deleted
actually this line is not working.
doc = Server.MapPath(fuFile.FileName);//OpenFile(docFileName);
also this :
private string ExtractEmailAddressesFromString(string source)
{
MatchCollection mc;
int i;
//expression garnered from www.regexlib.com - thanks guys!
mc = Regex.Matches(source, @"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*");
string results;
results=(mc.Count - 1).ToString();
for (i = 0; i <= results.Length - 1; i++)
{
results[i]=mc[i].Value;
}
return results;
}
Shahnawazcode
25-Apr-14 15:30pm
View
Deleted
Here i provide you the source then you can compile it.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="width:100%;">
<tr>
<td>
<table style="width:700px;" align="center">
<tr>
<td>
Document</td>
<td>
<asp:FileUpload ID="fuFile" runat="server" />
</td>
<td>
<asp:Button ID="btnParse" runat="server" Text="Parse"
onclick="btnParse_Click" />
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<table style="width:700px;" align="center">
<tr>
<td>
Email Addresses:</td>
</tr>
<tr>
<td>
<asp:Label ID="lblMsg" runat="server">
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblResult" runat="server">
<asp:TextBox ID="txtResults" runat="server">
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
Shahnawazcode
5-Apr-14 5:36am
View
Thank you very much...!!! :-)
Shahnawazcode
5-Apr-14 2:11am
View
hi I am putting this...
select VoucherID, Sum(Amount) from ( select Distinct s.VoucherID, d.Amount from dbo.VoucherDetail s left outer join dbo.VoucherEntry d on d.ID=s.VoucherID where s.ReceivedToUsersID=@ExecutiveID and d.TranDate BETWEEN @FromDate AND @ToDate ) as TotalReceiptAmount
but it shows error:
Msg 8120, Level 16, State 1, Procedure USP_GetDealerReceiptTotalByExecutiveID, Line 16
Column 'TotalReceiptAmount.VoucherID' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
I think you can solve it. Please help me...
Shahnawazcode
3-Apr-14 7:00am
View
Invalid column name 'Amount'.
Shahnawazcode
3-Apr-14 6:37am
View
after given alias
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[USP_GetDealerReceiptTotalByExecutiveID]
@FromDate datetime,
@ToDate datetime,
@ExecutiveID int
AS
SET NoCount On
BEGIN
select s.VoucherID, Sum(s.Amount) from ( select Distinct s.VoucherID, s.Amount from dbo.VoucherDetail s left outer join dbo.VoucherEntry d on d.ID=s.VoucherID where s.ReceivedToUsersID=@ExecutiveID and d.TranDate BETWEEN @FromDate AND @ToDate ) as ReciptAmount
--FROM dbo.VoucherEntry d,
-- dbo.VoucherDetail s
--WHERE d.TranDate BETWEEN @FromDate AND @ToDate
--AND s.ReceivedToUsersID=@ExecutiveID
--AND d.ID=s.VoucherID
--distinct s.VoucherID
END
error produce
Msg 207, Level 16, State 1, Procedure USP_GetDealerReceiptTotalByExecutiveID, Line 13
Invalid column name 'Amount'.
Msg 4104, Level 16, State 1, Procedure USP_GetDealerReceiptTotalByExecutiveID, Line 13
The multi-part identifier "s.VoucherID" could not be bound.
Msg 4104, Level 16, State 1, Procedure USP_GetDealerReceiptTotalByExecutiveID, Line 13
The multi-part identifier "s.Amount" could not be bound.
Shahnawazcode
3-Apr-14 5:38am
View
Can you give me the complete query from this.. This will helpfull for me..
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[USP_GetDealerReceiptTotalByExecutiveID]
@FromDate datetime,
@ToDate datetime,
@ExecutiveID int
AS
SET NoCount On
BEGIN
select s.VoucherID, Sum(s.Amount) from ( select Distinct s.VoucherID, s.Amount from dbo.VoucherDetail s left outer join dbo.VoucherEntry d on d.ID=s.VoucherID where s.ReceivedToUsersID=@ExecutiveID and d.TranDate BETWEEN @FromDate AND @ToDate )
--FROM dbo.VoucherEntry d,
-- dbo.VoucherDetail s
--WHERE d.TranDate BETWEEN @FromDate AND @ToDate
--AND s.ReceivedToUsersID=@ExecutiveID
--AND d.ID=s.VoucherID
--distinct s.VoucherID
END
Shahnawazcode
3-Apr-14 4:01am
View
Thanks for your reply....
what is the meaning of xx?
I have put "select s.VoucherID, Sum(s.Amount) from ( select Distinct s.VoucherID, s.Amount from dbo.VoucherDetail s left outer join dbo.VoucherEntry d on d.ID=s.VoucherID where s.ReceivedToUsersID=@ExecutiveID and d.TranDate BETWEEN @FromDate AND @ToDate )"
it shows the following error
Incorrect syntax near the keyword 'END'.
Shahnawazcode
3-Apr-14 3:42am
View
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[USP_GetDealerReceiptTotalByExecutiveID]
@FromDate datetime,
@ToDate datetime,
@ExecutiveID int
AS
SET NoCount On
BEGIN
select s.VoucherID, Sum(s.Amount) from ((select Distinct s.VoucherID, s.Amount from dbo.VoucherDetail))
FROM dbo.VoucherEntry d,
dbo.VoucherDetail s
WHERE d.TranDate BETWEEN @FromDate AND @ToDate
AND s.ReceivedToUsersID=@ExecutiveID
AND d.ID=s.VoucherID
END
This is my store procedure
But it shows error "Incorrect syntax near the keyword 'FROM'."
Shahnawazcode
28-Apr-13 3:57am
View
when I use this script it just redirect me to google. how to stop it?
Shahnawazcode
25-Apr-13 1:44am
View
Thanks Chinmaya... Thanks a lot. it works fine .
Shahnawazcode
24-Apr-13 10:20am
View
please chect it out..I just mail it to u..!!!!
Shahnawazcode
24-Apr-13 8:53am
View
if I give u my project can you help me to solve this issue? if that please give ur email address
Shahnawazcode
24-Apr-13 8:42am
View
if I give u my project can you help me to solve this issue? if that please give ur email address
Shahnawazcode
24-Apr-13 8:33am
View
I also use
if(!IsPostBack)
{}
but not working.....
Shahnawazcode
24-Apr-13 8:27am
View
here i also use some jquery to do this...
Shahnawazcode
24-Apr-13 8:23am
View
yes :-)
http://anytimepcsupport.info/ServicePackageList.aspx
please see this. here in pop up window there are some text box and a button.when i click on a button textbox lost its data..
Shahnawazcode
24-Apr-13 8:17am
View
when i didn't get text then use FindControl. If I set UseSubmitBehavior =true then the button click event not fired... :-( plese see this side then i think its help you to help me.. :-)
http://anytimepcsupport.info/ServicePackageList.aspx
Shahnawazcode
24-Apr-13 8:09am
View
this a popup window i made.in poup window there are some textbox and button.but when i try to click on the button in the code behind it shows that like
txtAddress.Text="";
no data is found
Shahnawazcode
24-Apr-13 8:06am
View
yes ViewState is enabled. but not worked
Show More