15,997,597 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 arkiboys (Top 96 by date)
arkiboys
8-Nov-13 12:16pm
View
ns.Logon("domain\username", "pwd", false, true);
arkiboys
8-Nov-13 12:15pm
View
Deleted
I have been through these links but still does not solve my issue. any suggestions please? thanks
arkiboys
7-Feb-13 2:30am
View
Still get {}
arkiboys
14-Dec-12 10:51am
View
Hi, I do not see what you have posted.
arkiboys
16-Nov-12 12:48pm
View
In my winform application, there is one generic method which gets called from every form by every user each time a user uses the application. Is it is a good idea that this method to be static in a static class?
I ask because, if it is not static, then the create instance has to be in so many places. I think it is just easier and better ? to have it as static?
What do you think please?
Thanks
arkiboys
26-Sep-12 10:14am
View
Thank you
arkiboys
26-Sep-12 10:14am
View
Thank you
arkiboys
26-Sep-12 6:53am
View
Both tables have a column called ID which is unique for both
arkiboys
10-Aug-12 1:38am
View
BUt, I already have these in my web.config.
See below:
<system.web>
<httphandlers>
<add type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" verb="*" path="Reserved.ReportViewerWebControl.axd">
...
...
<system.webserver>
<modules runallmanagedmodulesforallrequests="true">
<validation validateintegratedmodeconfiguration="false">
<handlers>
<add name="ReportViewerWebControlHandler" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" verb="*" path="Reserved.ReportViewerWebControl.axd" precondition="integratedMode">
arkiboys
9-Aug-12 12:38pm
View
The reportviewer control is disabled when running the website.
The following is my findings.
Can you see what I have to do please?
Thanks
Note that in web.config I have:
<system.web>
<httphandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false">
In the page which has the disabled report viewer control, I checked the ViewSource , I see these line:
h2>
Report Viewer Configuration Error
<p>The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.webServer/handlers section for Internet Information Services 7 or later.</p>
arkiboys
9-Aug-12 11:10am
View
I already have this in the webconfig and still the reportviewer is readonly when running the website.
<system.web>
<httphandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false">
arkiboys
9-Aug-12 11:04am
View
Hi, does the code you mentioned go into web.config? if so, where exactly please?
Thanks
arkiboys
8-Aug-12 10:16am
View
Yes, and that is what I would like to solve. thanks anyway.
arkiboys
8-Aug-12 10:08am
View
code is fine because I can run it in vs and works.
It is the IIS.
Note that I developed in web location as file system, then copied the files and folders into the wwwroot
Is that ok?
arkiboys
8-Aug-12 9:57am
View
Hi, I have searched in google but still not able to get the solution.
Even checked your link but still no answer.
arkiboys
8-Aug-12 9:45am
View
When browsing to the webname folder under default website in iis, the error is:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Module
IIS Web Core
Notification
BeginRequest
Handler
Not yet determined
Error Code
0x80070005
Config Error
Cannot read configuration file due to insufficient permissions
Config File
\\?\D:\inetpub\wwwroot\webname\web.config
Requested URL
http://localhost:80/webname/
Physical Path
D:\inetpub\wwwroot\webname\
Logon Method
Not yet determined
Logon User
arkiboys
8-Aug-12 8:55am
View
Hi, It does not seem to tell me how to solve this issue.
arkiboys
6-Aug-12 11:56am
View
Thanks
arkiboys
6-Aug-12 9:50am
View
Deleted
<connectionstrings>
<remove name="LocalSqlServer">
<add name="LoginDB" connectionstring="Data Source=servername;Initial Catalog=LoginDB;User Id=myuser;Password=xxx" providername="System.Data.SqlClient">
arkiboys
6-Aug-12 9:50am
View
Hi, I have already added this line:
<connectionstrings>
<remove name="LocalSqlServer">
<add name="LoginDB" connectionstring="Data Source=servername;Initial Catalog=LoginDB;User Id=myuser;Password=xxx" providername="System.Data.SqlClient">
arkiboys
16-Jul-12 15:37pm
View
Thanks
arkiboys
13-Jul-12 5:41am
View
Thanks
arkiboys
13-Jun-12 5:33am
View
thank you
arkiboys
13-Jun-12 5:17am
View
Deleted
I want the previous month of the given month though.
arkiboys
6-Jun-12 9:48am
View
Thanks
arkiboys
1-Jun-12 10:55am
View
Thank you
arkiboys
29-May-12 10:16am
View
Thanks
arkiboys
28-May-12 11:02am
View
solved. Building it incorrectly before. Tahnks
arkiboys
3-May-12 5:40am
View
Thanks
arkiboys
25-Apr-12 8:13am
View
Hi, I still do not understand this...
Because I want only to colour the rows which have the same values in say columnX.
Your code does not seem to be doing that.
Please elaborate.
Thanks
arkiboys
25-Apr-12 7:56am
View
Hi,
I do not see how your code identifies the rows which have the same column value. Can you explain please?
Thanks
arkiboys
28-Mar-12 5:08am
View
Thank you
arkiboys
22-Mar-12 6:22am
View
Hi,
There is an error with red line under pdfReader.AcroFields.Fields
It gives the error message as follows:
Cannot implicitly convert type 'System.Collections.Generic.IDictionary<string,itextsharp.text.pdf.acrofields.item>' to 'iTextSharp.text.pdf.AcroFields'. An explicit conversion exists (are you missing a cast?
arkiboys
7-Mar-12 3:16am
View
I'm afraid the only one I have is the company one which I can not upload and do not load how to create a new one to test for you.
Sorry.
arkiboys
6-Mar-12 6:41am
View
Hi, thanks for the code but it just reads the text printed in the .pdf form.
But I am interested to get the text inside the controls. For example, there is a txtcontrol called "txtLastname" inside page 2 where the user has entered his name in it. I would like to retrieve the person's name. How is this done please? Thanks
arkiboys
6-Mar-12 6:06am
View
Hi, thanks for the code but it just reads the text printed in the .pdf form.
But I am interested to get the text inside the controls. For example, there is a txtcontrol called "txtLastname" inside page 2 where the user has entered his name in it. I would like to retrieve the person's name. How is this done please? Thanks
arkiboys
5-Mar-12 9:48am
View
Hi, I would like to do the following for a .pdf file:
1- Open the .pdf file
2- Look in the second page and read the text inside txtLastname
3- Read value in radio option called rdoChecked.
Can you assis please?
Thanks
arkiboys
29-Feb-12 12:41pm
View
Solved. Problem was with the ftp path. Thanks
arkiboys
29-Feb-12 7:26am
View
Thanks
arkiboys
29-Feb-12 4:53am
View
Yes, I am using itextsharp.
I am now trying to see how to read a text from inside the .pdf file...
I do not know how to refer to the area where there is the firstname but not sure how to pickup the firstname text.
Any thoughts please?
Thanks
arkiboys
29-Feb-12 4:49am
View
What do you think about this?
private bool IsLastDayOfMonth(DateTime dtDate)
{
DateTime dtTo = dtDate.Date;
dtTo = dtTo.AddMonths(1);
// remove all of the days in the next month
// to get bumped down to the last day of the
// previous month
dtTo = dtTo.AddDays(-(dtTo.Day));
if (dtDate == dtTo)
{
return true;
}
else
{
return false;
}
}
arkiboys
24-Feb-12 10:37am
View
I do not find a reference to AxAcroPDFLib
arkiboys
16-Feb-12 7:13am
View
Thanks
arkiboys
16-Feb-12 5:21am
View
Thanks
arkiboys
16-Feb-12 5:20am
View
Thanks
arkiboys
16-Feb-12 5:19am
View
Thanks
arkiboys
16-Feb-12 4:28am
View
This seems to be good.
How can I now populate the fileNamesArray with only files with particular names such as FileA, FileW, FileK, etc?
Thanks
arkiboys
16-Feb-12 4:04am
View
Hi,
Thanks for the reply But I forgot to say that I do not want to use LINQ for project reasons.
arkiboys
16-Feb-12 3:57am
View
How do I get today's date into this format i.e. YYYYmmdd ?
Thanks
arkiboys
10-Feb-12 11:51am
View
Yes, but not sure how to get the date.
arkiboys
10-Feb-12 7:05am
View
Thank you
arkiboys
10-Feb-12 6:47am
View
I am now using remove instead of removeat.
This no longer gives me the index out of range error as I used to get before.
BUT, I still have items in the arraylist which are not "aaa", "bbb", "ccc"
arkiboys
6-Feb-12 4:32am
View
Thanks
arkiboys
6-Feb-12 4:30am
View
Following what you mentioned.
But the label does not blink.
arkiboys
3-Feb-12 16:34pm
View
Thanks
arkiboys
3-Feb-12 11:07am
View
Can I do this?
DataTable dt2 = dt.DefaultView.ToTable(true, "FieldName");
DataTable dtFieldName = dt2.Clone();
lstFieldName.Items.Clear();
foreach (DataRow dr in dtFieldName.Rows)
{
lstFieldName.Items.Add(dr["FieldName"].ToString());
}
arkiboys
3-Feb-12 10:53am
View
Hi Sridhar Patnayak4
Did you post anything?
arkiboys
3-Feb-12 10:51am
View
thanks
arkiboys
1-Feb-12 7:53am
View
Thanks for the link but I do not want a popup.
Just would like to have multiselect in the existing dropdown which is in the header columns.
arkiboys
1-Feb-12 7:44am
View
So how can I set the colour of the progressbar based on your suggestion please?
thanks
arkiboys
1-Feb-12 6:31am
View
Thank you
arkiboys
1-Feb-12 6:31am
View
Thank you
arkiboys
1-Feb-12 6:17am
View
Hi,
How can th enumber be formatted to 3 decimal places?
Thanks
arkiboys
31-Jan-12 10:06am
View
Please try your code and see what I mean.
Note my previous explanation.
Thanks
arkiboys
31-Jan-12 9:34am
View
I tried this event but it still does NOT do what I am after.
i.e. if I tick two items, the second item only is shown in the textbox if I click on another item in the control.
arkiboys
31-Jan-12 8:58am
View
There is no OnClick event for this control.
arkiboys
30-Jan-12 11:27am
View
Thanks
arkiboys
30-Jan-12 11:27am
View
Thank y ou
arkiboys
18-Oct-11 12:26pm
View
Solved as I had to add columns manually to binding source. Thank you
arkiboys
18-Oct-11 10:20am
View
Thanks
arkiboys
18-Oct-11 8:15am
View
Thank you. Solved
arkiboys
17-Oct-11 7:39am
View
Many thanks
arkiboys
17-Oct-11 6:43am
View
Thank you
arkiboys
14-Oct-11 11:41am
View
Thanks
arkiboys
14-Oct-11 10:25am
View
Thank you
arkiboys
30-Sep-11 8:50am
View
Thanks
arkiboys
29-Sep-11 17:06pm
View
Thanks
arkiboys
29-Sep-11 8:37am
View
If I change the format of the cell then the datatable gets updated too and therefore, it shows the records as modified in the datatable. Is there a way so that the datatable does not mark the row as modified?
Thanks
arkiboys
29-Sep-11 8:30am
View
Is it possible to change the decimal places using N2 format ?
Thanks
arkiboys
28-Sep-11 3:24am
View
Hi, Is there a way to place the keypress event on only one column of the datagridview control?
Thanks
arkiboys
27-Sep-11 11:16am
View
that event does not get fired.
Thanks
arkiboys
26-Sep-11 11:08am
View
I am not familiar with lambada expression. Note that I am using datatable dt to populate grid. I think I have to check for duplicate sin the RowValidating event but not sure how?
Thanks
arkiboys
26-Sep-11 11:05am
View
Hi, do you mean in the rowvalidating event of the datagridview, I should compare the added row to the unchanged rows in the datatable?
arkiboys
26-Sep-11 10:14am
View
Thanks
arkiboys
26-Sep-11 10:13am
View
Thanks
arkiboys
26-Sep-11 10:13am
View
Thanks
arkiboys
23-Sep-11 16:25pm
View
Thanks
arkiboys
23-Sep-11 6:59am
View
Hi, I can not see your reply.
arkiboys
22-Sep-11 12:48pm
View
Because it is not in the debatable and so not in datahridview. This is like a generated I'd value based on existing values... if a user wants to add a new row then he does not know it and so can not be shown on datagridview.
arkiboys
22-Sep-11 12:42pm
View
Thanks
arkiboys
22-Sep-11 9:43am
View
The FieldNo is required so that when an existing row is edited, then the fieldNo field is one of the fields used to update the database table accordingly.
arkiboys
22-Sep-11 9:34am
View
FieldNo is a field in the database table which does not allow null.
The datagridview is populated from this table. The datagridview has a hidden field for FieldNo. As I am adding rows into the datagridview by typing values inside each row cell of the grid, then it says the field fieldNo does not allow null. Can I place a dummy value even though the field is hidden while I am inserting new rows to the grid?
Thanks
arkiboys
21-Sep-11 15:56pm
View
Thanks
arkiboys
21-Sep-11 10:48am
View
Yes, I am using winforms. Thanks for the link But my question is how to get the id and name values from the combo box in each row of the datagridview while I am looping through the rows of the datagridview? Thanks
arkiboys
21-Sep-11 6:14am
View
Solved. Thanks
arkiboys
21-Sep-11 6:10am
View
I am unable to add
using System.Windows.Forms; to a class
Is this possible in vs 2010 ?
Thanks
Show More