15,892,674 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 sacraj (Top 52 by date)
sacraj
20-Sep-17 8:56am
View
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
sacraj
20-Sep-17 8:56am
View
I am able to download the same file via browser
sacraj
20-Sep-17 8:55am
View
I am not using any proxy. Below is the inner exception:
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
I am able to download the file via browser. I am running my Visual studio as Administrator.
sacraj
7-Apr-17 2:00am
View
1. Do the clients also have a database server of their own? Yes
2. How often does the data change? It is once a week
3. How often would they need to synchonize? It is once a week
4. Does data travel in both directions or is it a master/slave arrangement. Yes. Client sends request and server sends back response
6. What database server are you using? SQL Server
sacraj
11-Jan-16 10:01am
View
var uri = "data:text/calendar;charset=utf8," + escape(data);
////this trick will generate a temp
tag
var link = document.createElement("a");
link.href = uri;
//set the visibility hidden so it will not effect on your web-layout
link.style = "display:none";
link.download = "test.ics";
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
The above code is working fine in Firefox,Chrome. It is not working with Internet Explorer.(IE10). I want this solution to work for IE-9 & IE-10. Any help on this regard
sacraj
5-Jan-14 22:44pm
View
I would like to get the portid's which are same. for example
id portid Daynumber
1 334 1
1 335 2
1 337 3
1 334 4
in this above sample the portid is same for the day number 1 and 4 so I need to get the port ids which has same port ids for the first and last day.
sacraj
20-Nov-13 0:24am
View
I have a Html button like this <button type="button" runat="server" id="btnTop" causesvalidation="false" önserverclick="btnTop_Click"/>. This button fires an server side event. I need to set commandArgument to this button. and get the value in the server side. How to do this?
sacraj
17-Nov-13 23:52pm
View
I have replaced $(window) with $("#FooterDiv"). But it is not working for me.
sacraj
16-Nov-13 4:45am
View
Yes the above code works fine. But I need to call $(window).scroll(function () when the user scrolls down after my body area or body div. When the user scrolls down the page to Footer div The window.scroll function should be called. But this function is getting called when the user scrolls down the page till the end.
sacraj
21-Aug-13 7:04am
View
thanks for the solution
sacraj
21-Aug-13 7:04am
View
thanks for the work
sacraj
25-Jul-13 3:03am
View
If I use stored procedure. For each record the database connection is made, Would not there be any problem If we have lacks of records..
sacraj
8-Jul-13 1:29am
View
Yes, I had the problem with proxy of my server. Thanks for your help.
sacraj
5-Jul-13 7:29am
View
hi,
I am able to download .jpg,.gif and other types but not able to download .Zip file, When I download .zip I get the following error," The remote server returned an error: (502) Bad Gateway."
sacraj
5-Jul-13 7:13am
View
wc what is this, it gives me an error
sacraj
5-Jul-13 6:51am
View
the type or namespace name 'PeriodicalFile' could not be found
sacraj
5-Jul-13 6:41am
View
I am able to download .txt file, but not able to download .zip file from FTP Server.
sacraj
5-Jul-13 6:40am
View
What is the Visual studio version that you are using. I am using Visual studio 2010. Do I need to give any reference. When I paste the above code code compile time error.
sacraj
26-Mar-12 6:19am
View
I am unable to convert this
string sDate = "Wed Nov 10 14:13:10 IST 2010";
DateTime dDate = Convert.ToDateTime(sDate);
When I run this above code I get an Exception saying that"
String was not recognized as a valid DateTime."
How can I convert this string into date Time Format.
sacraj
10-Jan-12 11:22am
View
How can we use cell formatting in the data table using Microsoft.Office.Interop.Excel namespace. with this code
protected void ExportToExcel() {
Response.Clear();
Response.Buffer = true;
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("content-disposition", "attachment;filename=MyFiles.xls");
Response.Charset = "";
this.EnableViewState = false;
System.IO.StringWriter sw = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htw = new System.Web.UI.HtmlTextWriter(sw);
gvFiles.RenderControl(htw);
Response.Write(sw.ToString());
Response.End();
}
sacraj
30-Dec-11 3:58am
View
I have solved this problem by myself. through select stuff()and FOR XML PATH.
sacraj
14-Dec-11 23:31pm
View
The image is not on the same page. The image is in different page.For example on profile page it is 50*50, in home page it is 30*30. User would upload only one photo. the code should be able to generate the different size.
sacraj
12-Dec-11 11:44am
View
Msg 1033, Level 15, State 1, Line 4
The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.
sacraj
12-Dec-11 11:21am
View
I wan to change the query ,how to change the query
sacraj
25-Nov-11 5:49am
View
I understand the difference between ++i and i++. How can we implement this in Paraller.For loop
sacraj
25-Nov-11 5:21am
View
I know the difference between ++i and i++. How to do this in Parallel.For
sacraj
25-Nov-11 5:10am
View
Please explain ++i vs i++ in Paraller.For. I am in urgent need
sacraj
25-Nov-11 5:01am
View
It is very urgent requirement. Not related to performance
sacraj
25-Nov-11 5:01am
View
please convert this to Parallel.For
sacraj
5-Sep-11 7:55am
View
What you have said is correct. But I would like to get a message as soon as the software is installed or uninstalled how to do that ...
sacraj
2-Aug-11 0:16am
View
How to add file properties If you can give me some steps to do this....
sacraj
26-Jul-11 3:28am
View
Deleted
If you don't mind could you explain this "SELECT * from " with an example.
The example might be like giving the error and correcting error.
I am unable to get the explanation given above.
sacraj
21-Jul-11 9:05am
View
sid admno
1 s1
2 s2
3 s3
how to select studentid with group concat where admno in(s1,s2,s3)
the expected output is 1,2,3
help me with mysql query
sacraj
1-Jul-11 7:31am
View
When I run this query Select RIGHT(Convert(DateTime, getdate(), 0),7)
I get 5:01PM but I need time like this 05:01:00 PM
sacraj
1-Jul-11 7:09am
View
I would like to get date in 12 hours format
not in 24 hours format the above query gives 24 hours
sacraj
1-Jul-11 7:09am
View
I would like to get date in 12 hours format
not in 24 hours format the above query gives 24 hours
sacraj
30-May-11 5:26am
View
I used select * from sample This table has got 5 columns
after this I executed the query "select * from count(*)" It gives an error
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '*'.
What is problem in my query Please correct.
sacraj
23-May-11 3:08am
View
How Can I get his e-mail Id. Could not find it in his profile.
sacraj
26-Apr-11 7:03am
View
I shall again check this code on my Computer. Can not I get the list of installed software which are not installed using MSI(Microsoft Installer).
sacraj
26-Apr-11 5:51am
View
I have also used WMI to query the installed software list. But It does not give all the installed software.
sacraj
26-Apr-11 5:49am
View
Thanks for your help
I think your answer is for files and folders I do not want to get last access date for files and folders. I need the last access date for installed software.
sacraj
26-Apr-11 5:47am
View
Thanks for Helping.
What you have said is correct but I does not show all the installed software list. For example It does not show for Microsoft word,power point, Excel. I need to get all the installed software with last access date.
sacraj
20-Apr-11 12:59pm
View
Could You please make it clear with out "
because I do not understand
sacraj
20-Apr-11 12:35pm
View
ASP.net web app
sacraj
13-Apr-11 23:48pm
View
I accept your answer It works fine for Forms, If you do not mind could you give a solution for opening a database connection only once and use it through the application using singleton method. Th e data base SQL-Server.
sacraj
5-Apr-11 7:08am
View
If I have another system name as "system11"
I will get the answer as system1,system11
If I use contains but I need only system1
sacraj
4-Apr-11 11:37am
View
Thank U for U
sacraj
4-Apr-11 11:37am
View
It is nice of U
sacraj
4-Apr-11 11:36am
View
Thank you for the help that U have done It was very useful for .
sacraj
18-Mar-11 6:05am
View
Yes I agree with your point, I have been searching this for long days , I am not able to get the answer, If you know some IT guys Could you please help me to solve this problem. Thank you
sacraj
18-Mar-11 5:59am
View
I am running this code from Administrator Which means the system has all the permissions I hope so If I am wrong Please correct Me
sacraj
18-Mar-11 4:44am
View
Sorry this solution throws an Unauthorized exception. I even tried with Administrator user. But I could not get the answer. Please help me it is urgent.
Show More