15,991,071 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 .NET 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 Sushil Mate (Top 200 by date)
Sushil Mate
1-Jun-15 1:32am
View
just stumbled upon this question from nowhere.. you have written good answers before & this one kind of misleading to OPs. would you like reconsider your answer?
mainly "it has (almost) nothing to do with abstract class (that is a C# language entity)".
Sushil Mate
4-May-15 2:41am
View
what exactly you trying to achieve here, in Windows CSV file gets opened in excel by default. you are not creating excel file here.
Sushil Mate
4-Feb-15 4:25am
View
happy to help. :)
Sushil Mate
3-Feb-15 6:28am
View
Can you show me your web.config file. so i can tell what exactly you need to put in the select node.
Sushil Mate
3-Feb-15 5:29am
View
check the updated solution. you didn't paste complete config file. you need to make some changes to this solution.
Sushil Mate
3-Feb-15 5:17am
View
this code is used for adding the new element in the file, not for deleting?
Sushil Mate
3-Feb-15 5:00am
View
does this code works? can u you share web.config.
Sushil Mate
3-Feb-15 4:40am
View
cant you just put empty string/"" in location & save the web.config file.
Sushil Mate
3-Feb-15 4:16am
View
can you share your code?
Sushil Mate
3-Feb-15 2:02am
View
homework?
Sushil Mate
23-Jul-14 6:41am
View
Yeah i have tried that but no help. it doesn't fulfill my requirements.
Thanks for your help.
Sushil Mate
24-Oct-13 5:29am
View
Deleted
@Sushil-Mate
Sushil Mate
24-Oct-13 5:28am
View
Deleted
@Sushil Mate
Sushil Mate
24-Oct-13 5:27am
View
Deleted
@sushil.Mate
Sushil Mate
22-Oct-13 8:54am
View
:D
Sushil Mate
10-Oct-13 23:38pm
View
Create Database in C#
[
^
]
Sushil Mate
9-Oct-13 12:58pm
View
+5
Sushil Mate
8-Oct-13 2:55am
View
wc
Sushil Mate
8-Oct-13 2:52am
View
Progress bar in C#
[
^
]
Sushil Mate
8-Oct-13 2:50am
View
its a vague question. you need to provide more details with code snippet. have you given the credentials?
Sushil Mate
8-Oct-13 2:48am
View
check updated links.
Sushil Mate
3-Sep-13 2:25am
View
would you like to tell us your solution here?
Sushil Mate
2-Sep-13 0:05am
View
Deleted
What are you talking about? Question header & explanation is quite confusing. you want to insert the null value in the column?
Sushil Mate
14-Aug-13 8:11am
View
OP's reply :
I dont have any Idea... I want to test my windows application...
When I copy some classes or methodes to it, it shws error like
"The name button1 does not exist in the current context" etc
Sushil Mate
14-Aug-13 7:40am
View
google
[
^
]
Sushil Mate
14-Aug-13 7:38am
View
whats unique in that, you need to learn about hasttable first.
Sushil Mate
14-Aug-13 7:33am
View
Try creating path on server by
Server.Mappath[
^
]
Sushil Mate
14-Aug-13 6:27am
View
application which has check box in it is desktop application & you want to download the pdf from web server through web service? is that you saying?
Sushil Mate
14-Aug-13 6:17am
View
what code? to create password protected PDF? you need to explain more.
Sushil Mate
14-Aug-13 6:12am
View
simple isn't it?
Sushil Mate
14-Aug-13 6:10am
View
So where you stuck? just ask for password when user clicks on checkbox & at the time of pdf download option create pdf with that password. isn't that simple?
Sushil Mate
14-Aug-13 5:57am
View
thanks ridoy.
Sushil Mate
14-Aug-13 5:57am
View
All right :)
Sushil Mate
14-Aug-13 5:51am
View
I have seen same question before, hope this
Link
[
^
] help him to understand better.
Sushil Mate
14-Aug-13 5:45am
View
what if the directory contains subdirectory? check mine :) I voted 4
Sushil Mate
14-Aug-13 0:10am
View
Try to add the source/link in your answer where you copied this snippet. it might lead to plagiarisation.
http://msdn.microsoft.com/en-us/library/bb762914.aspx
Sushil Mate
13-Aug-13 23:38pm
View
Thanks ridoy.
Sushil Mate
13-Aug-13 7:49am
View
please see my answer.
Sushil Mate
13-Aug-13 7:43am
View
Deleted
you mean password protected PDF?
Sushil Mate
13-Aug-13 7:37am
View
I think your design is wrong? the text box in the child form & submit button is in main form? don't you think its confusing for the user?
Sushil Mate
13-Aug-13 7:32am
View
certificate security? what exactly it means? new terminology?
Sushil Mate
13-Aug-13 7:31am
View
that's what you needed? as per your question & the answer you accepted which contradicts your saying.
Sushil Mate
13-Aug-13 7:25am
View
Great.
Sushil Mate
13-Aug-13 5:07am
View
so why viewstate will not work?
Sushil Mate
13-Aug-13 5:05am
View
what I understood from explanation you can try viewstate.
Sushil Mate
8-Aug-13 5:26am
View
when you wanted to override in the derived class. more precise, Virtual method might have default implementation but you can change me if you need in the derived.
Sushil Mate
2-Aug-13 23:55pm
View
My 5 for the solution + "informative" comment.
Sushil Mate
2-Aug-13 23:43pm
View
What OP's asking is very obvious, I thought OP wanted to upload some file through his website. My bad. will delete this answer. :)
Sushil Mate
2-Aug-13 23:38pm
View
I think i have inferred OP's question wrongly :)
Sushil Mate
2-Aug-13 23:21pm
View
Deleted
are your website up? why cuteftp? whats the size of the files? cant use the FileUpload control.
Sushil Mate
2-Aug-13 22:30pm
View
Did you installed Crystal report runtime on new machine?
Check even path of the report on new machine.
Sushil Mate
2-Aug-13 0:27am
View
why?
Sushil Mate
2-Aug-13 0:00am
View
Please check the update links, you will get idea.
Sushil Mate
1-Aug-13 23:31pm
View
:)
Sushil Mate
1-Aug-13 12:08pm
View
Try this
http://www.dotnetcurry.com/ShowArticle.aspx?ID=148
[
^
]
Sushil Mate
1-Aug-13 9:53am
View
no, You can the MDI forms height & width devide by 2, assign that value both panel.
Sushil Mate
1-Aug-13 7:09am
View
Thank You Maciej.
Sushil Mate
1-Aug-13 7:08am
View
Use ParameterDirection.ReturnValue instead of id
Sushil Mate
1-Aug-13 6:51am
View
:) Please check.
Thank you.
Sushil Mate
1-Aug-13 6:48am
View
MapPath("~/PDF/" + TextYear.Text.Trim() + "/" + id + Path.GetExtension(fupPic.FileName))
Sushil Mate
1-Aug-13 6:41am
View
Sure.
Sushil Mate
1-Aug-13 6:39am
View
how to break.exe file
[
^
]
Sushil Mate
1-Aug-13 5:03am
View
can you show us your code. its difficult to answer like this. you mean to say you want to change the color of the curve gradient?
Sushil Mate
1-Aug-13 4:51am
View
yes because of the size & location you have hard coded there.
Sushil Mate
1-Aug-13 4:47am
View
I don't think you need mouse right click event? what exactly you want to achieve here?
Sushil Mate
1-Aug-13 4:44am
View
Your question doesn't say like this?
Sushil Mate
1-Aug-13 4:11am
View
code? Try below links.
http://msdn.microsoft.com/en-us/library/aa970904.aspx
[
^
]
http://msdn.microsoft.com/en-us/library/system.windows.media.lineargradientbrush.aspx
[
^
]
Sushil Mate
1-Aug-13 4:03am
View
Code? Try this link
http://msdn.microsoft.com/en-us/library/aa970904.aspx
[
^
]
Sushil Mate
1-Aug-13 3:57am
View
I think Exception is much self explanatory?
Sushil Mate
1-Aug-13 3:09am
View
You need to learn about Regex then. I must say.
Sushil Mate
31-Jul-13 12:57pm
View
:-)
Sushil Mate
31-Jul-13 12:50pm
View
Hahaha This is epic :) My 5 for this comment.
Sushil Mate
31-Jul-13 11:37am
View
arghh.. I read the question again n again, it makes me more confused. I'm trying to guess what exactly he is trying to achieve here. Must be language problem. ohh wait.. looks like he accepted the solution :)
Sushil Mate
31-Jul-13 11:10am
View
Front option. What does it mean by that. you want to access the username from userid but dont want to fetch from database?
Sushil Mate
31-Jul-13 11:01am
View
Ohh let me guess something very weird, You trying to generate UserName from UserID with using Hashing Algorithm. Is that you suggesting here?
Sushil Mate
31-Jul-13 7:48am
View
cant use the sockets for that? http://www.developerfusion.com/article/3918/socket-programming-in-c-part-1/3/
Sushil Mate
31-Jul-13 7:24am
View
Did you see above link?
Sushil Mate
31-Jul-13 5:01am
View
please check my answer.
Sushil Mate
31-Jul-13 4:40am
View
CSS or javascript, there is nothing like this in windows application but you can try WPF.
Sushil Mate
31-Jul-13 4:39am
View
Do not put comments in the answer section. There is comment section in below answer, Please post there.
Sushil Mate
31-Jul-13 4:34am
View
Design means? this question is very vague you need to describe more.
Sushil Mate
31-Jul-13 2:56am
View
I don't understand how is this possible, my main thread is not running under administrator privilege but I can run his child thread with administrator privilege? please elaborate if you have any information about this?
Sushil Mate
31-Jul-13 2:51am
View
why you want to do this?
Sushil Mate
31-Jul-13 0:38am
View
looks like OP got the answer. my 5
Sushil Mate
30-Jul-13 7:35am
View
this could be because lack of administrator rights? try other settings with administrator right.
Sushil Mate
30-Jul-13 7:16am
View
might be because of never notify setting from control panel causing the issue. try to change & check it.
Sushil Mate
30-Jul-13 7:06am
View
the file must be hidden, try to unhide the files from folder properties of windows explorer. i'm just guessing.
Sushil Mate
30-Jul-13 6:05am
View
so you are not able to download file?
Sushil Mate
30-Jul-13 6:00am
View
what activex control? this information is vague, you need to put code snippet.
Sushil Mate
30-Jul-13 5:11am
View
Thanks for considering suggestion. it looks good now :)
Sushil Mate
30-Jul-13 4:27am
View
when user selects the check in date from check in form & opens the check out form you can pass the check in date from check in form, & assign that date to check out to datepicker. DateTimePicker.MinDate
Sushil Mate
30-Jul-13 4:18am
View
if you are saying, you want to add reference of project 1 in project 2 & vice versa. the answer is no, it will create circular reference.
Sushil Mate
30-Jul-13 4:11am
View
you don't answering question though? ;)
Sushil Mate
30-Jul-13 4:04am
View
Application.ExecutablePath
Sushil Mate
30-Jul-13 3:16am
View
where is your code?
Sushil Mate
30-Jul-13 2:27am
View
Manoj, you need to understand, Have you read the comments or solution by SAK. You need to show your code snippet for us to understand problem better.
Sushil Mate
30-Jul-13 2:22am
View
Informative link 5ed.
Sushil Mate
30-Jul-13 0:58am
View
any error/exception?
Sushil Mate
30-Jul-13 0:57am
View
Deleted
try copying both files together.
Sushil Mate
30-Jul-13 0:51am
View
if it is stored in the my documents then it shouldn't matter if he changes the exe location, I think the problem lies in the .exe.config file. but I googled & found out this.
In order to work with newer versions of Windows' policy of only allowing read access by default to the Program Files folder (unless you prompt for elevation with UAC, but that's another topic...), your application will have a settings folder under %userprofile%\appdata\local or %userprofile%\Local Settings\Application Data depending on which version of Windows you're running, for settings that are user specific. If you store settings for all users, then they'll be in the corresponding folder under C:\users or C:\Documents and Settings for all user profiles (ex: C:\users\public\appdata\local).
Sushil Mate
30-Jul-13 0:36am
View
where is the .exe.config file?
Sushil Mate
29-Jul-13 5:04am
View
what guideline, you have given all guideline to user. what you expect from us?
Sushil Mate
29-Jul-13 5:03am
View
you need to start with google. Head start you can check the cookies on machine.
Sushil Mate
29-Jul-13 2:20am
View
cant you create two dll.. one web compatible another windows?
Sushil Mate
26-Jul-13 11:33am
View
Agree with above comment, no need to have close & cancel button together. Why you want close & cancel together?
Sushil Mate
26-Jul-13 8:41am
View
Try viewstate.
Sushil Mate
26-Jul-13 8:31am
View
this is not a answer. you don't have to put it. you can update your question or you can reply to Answer 1.
Sushil Mate
26-Jul-13 8:28am
View
great.
Sushil Mate
26-Jul-13 8:22am
View
great.
Sushil Mate
26-Jul-13 8:21am
View
try update one.
Sushil Mate
26-Jul-13 8:20am
View
you have already created event in the from designer?
Sushil Mate
26-Jul-13 6:49am
View
they wanted to fool us. :)
Sushil Mate
26-Jul-13 6:02am
View
great.
Sushil Mate
26-Jul-13 6:01am
View
No worries you can update this one too, by the way I liked that quote :)
Sushil Mate
26-Jul-13 5:53am
View
Hey rohan, try adding the reference from where you coping the contents or put in the quotes, reference needed. especially quotes. I'm afraid it could lead to plagiarism. I have seen it here before. Hope you understand what im trying to say. :)
Sushil Mate
26-Jul-13 4:41am
View
You complete me, I guess he will go through my links & try to learn about it. he might try & fail but he has your answer to look upon. :P my +5
Sushil Mate
26-Jul-13 2:05am
View
Wrong place to outsource your work.
Sushil Mate
26-Jul-13 1:40am
View
wrong place, use comment/question section widget.
Sushil Mate
25-Jul-13 5:09am
View
securely?
Sushil Mate
25-Jul-13 2:28am
View
what is not working. cant you debug.
Sushil Mate
24-Jul-13 6:09am
View
have you checked the link?
Sushil Mate
24-Jul-13 5:52am
View
FileSystemRights.AppendData to the sec.AddAccessRule
Sushil Mate
24-Jul-13 5:41am
View
below Guirec's solution is not working.
Sushil Mate
24-Jul-13 5:40am
View
how about adding another one AppendData to FileSystemRights.
Sushil Mate
24-Jul-13 5:31am
View
do you have rights to append the data in the log file.
Sushil Mate
24-Jul-13 5:29am
View
please update your first answer instead of posting another solution.
Sushil Mate
24-Jul-13 4:54am
View
how about installing the 64 bit MS office. then try installing the 64 bir database access engine?
Sushil Mate
24-Jul-13 4:33am
View
whats the issue exactly? you cant install 64bit or you cant export excel to sql?
Sushil Mate
24-Jul-13 3:13am
View
5+. very well written...
Sushil Mate
23-Jul-13 7:27am
View
I guess it will work with iTextSharp, Check my solution.
Sushil Mate
23-Jul-13 7:15am
View
please don't do it. do not post all the code here. not going to work.
Sushil Mate
23-Jul-13 7:08am
View
great you done most of the things. what exactly mean by checking the changes? what kind of that might be?
Sushil Mate
23-Jul-13 6:23am
View
please marked as a solution then.
Sushil Mate
23-Jul-13 6:19am
View
your database design is wrong. why you creating the new column in database, try adding another record. how about patiend id & image column. do not store the image in the database, cant you save the address of that image?
Sushil Mate
23-Jul-13 4:40am
View
:)
Sushil Mate
22-Jul-13 4:51am
View
Do not store MP3 file in the database.
Sushil Mate
20-Jul-13 14:21pm
View
Agreed with Dave.
Sushil Mate
20-Jul-13 1:57am
View
repost?
Sushil Mate
18-Jul-13 13:42pm
View
Thank you SAK for such informative explanation. I will be troubling you more with my new questions :)
Sushil Mate
18-Jul-13 8:24am
View
:) I didn't read it properly. my bad.
Sushil Mate
18-Jul-13 6:31am
View
any exception? try updated solution.
Sushil Mate
18-Jul-13 5:24am
View
My +5... you explained here quite very well yet some of them questionable :)
how about having knowledge of famous design patterns, it does help right? they are famous just because of they are useful in many scenarios.
having knowledge of these design patterns always help when you want to design a solution for your problem, yes you can modify them as per your needs. not necessarily you need to follow them as it is.
Sushil Mate
18-Jul-13 5:13am
View
my +5
Sushil Mate
17-Jul-13 7:30am
View
why you want to do that?
Sushil Mate
17-Jul-13 7:15am
View
so you are not able to copy to your local drive? are you able to download file?
Sushil Mate
17-Jul-13 7:14am
View
Thanks Rohan.
Sushil Mate
17-Jul-13 7:13am
View
are you storing the files on server database? why?
Sushil Mate
14-Jul-13 8:50am
View
you can add workbook.. iterate same code
Sushil Mate
14-Jul-13 8:49am
View
So you solved all your problems. great job.
Sushil Mate
12-Jul-13 10:25am
View
show us the code?
Sushil Mate
12-Jul-13 8:18am
View
much better than me..my +5,
mine deleted :)
Sushil Mate
12-Jul-13 8:16am
View
welcome.
Sushil Mate
12-Jul-13 8:15am
View
you want to add in same file or another workbook?
Sushil Mate
12-Jul-13 7:21am
View
check my solution.
Sushil Mate
12-Jul-13 7:17am
View
yes you can do like that but it will not work on different machine as the path will change. use application startup path.
Sushil Mate
12-Jul-13 7:14am
View
:) Do not bother?
Sushil Mate
12-Jul-13 7:13am
View
what does it mean by this? null when? simply null will work I guess.
Sushil Mate
12-Jul-13 6:59am
View
please elaborate what exactly you wanted to do? your says something different & you ask something else.
Sushil Mate
12-Jul-13 6:57am
View
I guess problem lies in the dll logic. can you show us the dll code?
Sushil Mate
12-Jul-13 6:47am
View
why you saving the large image in the db when you want just a thumbnail.
Sushil Mate
12-Jul-13 6:46am
View
is it windows or web application?
Sushil Mate
12-Jul-13 6:43am
View
you need to elaborate more? what dll are you speaking of? what kind of output you are getting?
Sushil Mate
12-Jul-13 6:42am
View
show us some of your code.
Sushil Mate
12-Jul-13 6:41am
View
Download the new updates of Visual studio. hope it solves the problem.
Sushil Mate
12-Jul-13 6:34am
View
why would you do that? whats the use of
Sushil Mate
12-Jul-13 6:29am
View
can u show us your code. are you using update panel?
Sushil Mate
12-Jul-13 6:28am
View
your welcome
Sushil Mate
12-Jul-13 5:20am
View
bad design. will not work.
Sushil Mate
12-Jul-13 5:09am
View
why your table1 is having two entries of same record. where is the primary key?
Sushil Mate
12-Jul-13 4:58am
View
You need to learn basics of web services first. is your webservice is running on localhost?
Sushil Mate
12-Jul-13 4:47am
View
hey usha, please provide the both table schema. you don't have to use probablity table as you are not selecting from that table. remove inner join. I guess its not needed.
Sushil Mate
12-Jul-13 4:32am
View
check my solution.
Sushil Mate
12-Jul-13 3:20am
View
please see my answer. if you face any issue let me know.
Sushil Mate
12-Jul-13 2:34am
View
but you need to deploy your db.
Sushil Mate
12-Jul-13 1:59am
View
great.
Sushil Mate
12-Jul-13 1:53am
View
Instead of posting another solution, you could have updated your previous one.
Sushil Mate
12-Jul-13 1:48am
View
this one too
Sushil Mate
12-Jul-13 1:48am
View
delete this reposted answer.
Sushil Mate
12-Jul-13 1:45am
View
you need to group by emp name then you will get your desired result.
Sushil Mate
12-Jul-13 1:39am
View
is it working now?
Sushil Mate
12-Jul-13 1:37am
View
1) you need to install crystal report setup at clients machine (64bit).
2) check the connection string at clients side, that must be wrong.
Sushil Mate
12-Jul-13 1:33am
View
see application.startuppath will give your bin folder's path where your application exe running. where sama.accdb is present?
Sushil Mate
12-Jul-13 1:28am
View
Can you debug the code? I still don't understand after removing the ColumnCount property you still facing the same issue.
Sushil Mate
12-Jul-13 1:19am
View
then whats the problem?
Sushil Mate
12-Jul-13 1:15am
View
remove this line dataGridView1.ColumnCount = 5;
Sushil Mate
12-Jul-13 0:55am
View
you want to remove html tag from text & show normal text, you need to explain in detail about your problem.
Sushil Mate
12-Jul-13 0:34am
View
spilt the sentence by spaces, dot, comma what not & put it into array. search in the array where ever you find that word take next 5 elements from the array.
Sushil Mate
11-Jul-13 1:56am
View
Homework?
Sushil Mate
10-Jul-13 5:59am
View
mine deleted, +5
Sushil Mate
10-Jul-13 4:02am
View
I don't understand why you want to do that, What's the requirement? who told you do like this. what's the purpose behind this.
Sushil Mate
10-Jul-13 3:53am
View
would like to share with us.
Sushil Mate
10-Jul-13 2:54am
View
can you provide your DB Connectionstring?
Sushil Mate
10-Jul-13 1:35am
View
its there I guess. logged out event.
Sushil Mate
10-Jul-13 0:54am
View
What's data? string array? how about database, tell us the about table schema?
Sushil Mate
9-Jul-13 4:47am
View
That's right, its the time when your file is modified.
Sushil Mate
9-Jul-13 4:47am
View
Do one thing. write new question with your code snippets, explain in detail what exactly you tried & where you been facing problem. or you can update this question too. its difficult to solve your question like this.
Sushil Mate
9-Jul-13 4:42am
View
it should work, try to diagnose the problem, I don't know any other third party library.
Sushil Mate
9-Jul-13 0:52am
View
Offline not possible.
Sushil Mate
9-Jul-13 0:49am
View
Do you know how to create installer? This is same question you have posted here.
Sushil Mate
8-Jul-13 9:04am
View
please check update solution. frist you need to read about excel connection string.
Show More