16,012,061 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 Mohankumar.Engain (Top 86 by date)
Mohankumar.Engain
20-Mar-19 8:42am
View
I have downloaded from http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki.
but its shows exception as I mentioned.
Mohankumar.Engain
12-Feb-19 5:39am
View
SQLite data base using for Creating windows application
Mohankumar.Engain
4-Feb-19 1:38am
View
If try above code using constructor then properties which we are used, those properties shows in .designer.cs file too.I want to restrict that too. pls if we using override only we will restrict .designer.cs file. but still not get expected result ..
Mohankumar.Engain
4-Feb-19 1:37am
View
If try above code using constructor then properties which we are used, those properties shows in .designer.cs file too.I want to restrict that too. pls if we using override only we will restrict .designer.cs file. but still not get expected result ..
Mohankumar.Engain
1-Feb-19 5:14am
View
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
Graphics g = e.Graphics;
g.Clear(BackColor);
g.SmoothingMode = SmoothingMode.HighQuality;
Pen p = new Pen(Color.Black, 2);
Rectangle fillRect = new Rectangle(10, 10, 40, 40);
Brush b = new SolidBrush(Color.FromArgb(240, 240, 240));
//AutoSize = false;
g.FillRectangle(b, fillRect);
//g.FillRectangle(new SolidBrush(Color.Black), 100, 50, 100, 100);
g.DrawRectangle(p, e.ClipRectangle);
g.DrawString(Text, new Font("Segoe UI", 10, FontStyle.Regular), new SolidBrush(Color.Black), new Point(4, 4));
b.Dispose(); //ADD THIS
p.Dispose(); //ADD THIS TOO
}
For above Created in => Windows Form Control Library,
I have used button control to change the property values for custom control.
Button width and height property values are not changed.
Mohankumar.Engain
29-Jan-19 8:09am
View
If try to connect with SQLite Database using those assemblies, below issue raised,
=> System.Data.SQLite.SQLiteException: 'SQL logic error
no such table: Tb_User'
Mohankumar.Engain
29-Jan-19 8:09am
View
If try to connect with SQLite Database using those assemblies, below issue raised,
=> System.Data.SQLite.SQLiteException: 'SQL logic error
no such table: Tb_User'
Mohankumar.Engain
29-Jan-19 4:41am
View
Actually we are adding two assemblies, 1. SQLite.dll and 2. SQLite.Interop.dll.
while generating setup below issue raised,
System.DllNotFoundException: 'Unable to load DLL 'SQLite.Interop.dll':
The specified module could not be found. (Exception from HRESULT: 0x8007007E)'.
Mohankumar.Engain
29-Jan-19 4:39am
View
If we are generating setup file, facing exception like below,
System.DllNotFoundException: 'Unable to load DLL 'SQLite.Interop.dll':
The specified module could not be found. (Exception from HRESULT: 0x8007007E)'.
Mohankumar.Engain
29-Jan-19 4:35am
View
We are creating exe file setup.
Configured in Visual studio
1. if x64 then setup will work on windows x64 platforms(64 bit machine),
2. if x86 then setup will work on windows x86 platforms(32 bit machine)
using SQLite.dll and SQLite.Interop.dll assemblies.
Mohankumar.Engain
2-Jan-17 6:15am
View
Thanks.
Mohankumar.Engain
13-Oct-14 8:13am
View
Simple code, Just calling a thread,
Thread is reading row by row from this grid view(refer screen shot: [Script_Image]),
and return value based on script. and bind to grid view another column.
Mohankumar.Engain
13-Oct-14 6:50am
View
No Nothing, I am using single thread only.
Mohankumar.Engain
13-Oct-14 6:21am
View
Garth J Lancaster,
Actually execute the scripts line by line
Thread execute one by one.
Mohankumar.Engain
13-Oct-14 6:16am
View
Wes Aday,
While running this application, I am not doing anything,
Only running this tool alone in my PC, but CPS speed automatically increased to 100%.
Mohankumar.Engain
10-Jun-14 6:02am
View
Hi Shameel,
Thread is executing line by line from data grid view rows,
so user want to see all rows [Not required paging this scenario].
Mohankumar.Engain
26-May-14 1:52am
View
Thank you I got a solution from your code, Mr. DamithSL.
Mohankumar.Engain
21-May-14 1:56am
View
Hi Kartikguha,
I have Following code:
----------------------
Process.Start("C:\File.xls")
Once this above process is started then I want to get this excel process id
but I wrote below code I am getting visual studio process id, How can I get This excel Id through code?
Dim s2 = Process.GetCurrentProcess().Id
Mohankumar.Engain
19-May-14 7:33am
View
I dont want to kill whole excel process, I need to kill only one of excel process. Remaining excel files are no need to close.
Mohankumar.Engain
6-May-14 0:55am
View
Thanks #Ravi.
Mohankumar.Engain
5-May-14 9:11am
View
This is my expected results. check the below link also.
Mohankumar.Engain
5-May-14 9:07am
View
This below example:
Compare to different BigInteger's Code:
BigInteger number1 = BigInteger.Pow(Int64.MaxValue, 100);
BigInteger number2 = number1 + 1;
string relation = "";
switch (BigInteger.Compare(number1, number2))
{
case -1:
relation = "<";
break;
case 0:
relation = "=";
break;
case 1:
relation = ">";
break;
}
Console.WriteLine("{0} {1} {2}", number1, relation, number2);
Mohankumar.Engain
30-Apr-14 5:16am
View
Thank you DamithSL. Now! It is working.
Mohankumar.Engain
6-Mar-14 23:40pm
View
Yet not tried, bcoz Intranet access permission is not available for me. Once finish then reply u. bye...
Mohankumar.Engain
6-Mar-14 4:09am
View
Thank you.
Mohankumar.Engain
10-Feb-14 7:09am
View
Then How to choose location, to get a partucular directory without selecting a file
Mohankumar.Engain
17-Jul-13 6:46am
View
Jaideepsinh telling is correct what I think.
Mohankumar.Engain
19-Jun-13 7:59am
View
Deleted
Hi,
My XML design:
<root>
<country>
<india>Hindi</india>
<usa>English</usa>
<denmark>Danish</denmark>
<iceland>Icelandic</iceland>
<sweden>Swedish</sweden>
</country>
<countrycode>
<india>ex. +91</india>
<usa>ex. +01</usa>
<denmark>ex. +12</denmark>
<sweden>ex. +45</sweden>
<iceland>ex. +123</iceland>
</countrycode>
<email>
<india>This Email tag contains 100 or more lines.</india>
<usa>This Email tag contains 100 or more lines.</usa>
<denmark>This Email tag contains 100 or more lines.</denmark>
<sweden>This Email tag contains 100 or more lines.</sweden>
<iceland>.This Email tag contains 100 or more lines. </iceland>
</email>
First 2-XML tags : country and countrycode affecting immediately in server(local and server).
but email tag contains 100 or more lines code not affecting immediately.
My Code is:
Based on my URL, Country will get. ex.: http://localhost/denmark
if I select Denmark URL then
I will get Denmark language, Denmark countrycode and email.
unfortunately, I will get country and countrycode alone.
email not get. I dont know why big content not display.
If I delete that <email> tag also display. its coming from caching how to solve this problem.
give me the solution.
Mohankumar.Engain
5-Jun-13 6:11am
View
I sent one more Question. these two issues raised same time.
Mohankumar.Engain
5-Jun-13 6:09am
View
its locally working perfectly. but server i dont know what an exact error.
Mohankumar.Engain
23-Mar-13 8:49am
View
thanks chill60.
Mohankumar.Engain
9-Nov-12 9:53am
View
hello joshrduncan,
I have no experience in mobile application. give me details about mobile apps. my project now online and online ordering site, so that I create mobile apps for my project. way me plz...
Mohankumar.Engain
29-Aug-12 3:56am
View
thanks a lot mr. amy.
Mohankumar.Engain
16-Aug-12 1:55am
View
These JQuery files are downloaded through google. So I directly run/put this file in asp.net page. These files are not debugged myself. and no icon display in status bar and using all browser(IE,Firefox,Chrome,).
Mohankumar.Engain
17-Jul-12 6:25am
View
Deleted
How to rectify this error.
Mohankumar.Engain
17-Jul-12 6:24am
View
My project developed under the ajax3.5 toolkit.(asp.net,c#)
My page have grid view control, it have insert,update,delete, as well as popup link(I mean click the link then display popup eg. gender[1.Male, 2.Female ])
all fields are working good.
But now I change 3.5 to 4.0 ajax Toolkit component then grid view operation(insert,update,delete and popup are not working. And also No error occurred.
Mohankumar.Engain
20-Jun-12 10:45am
View
Maximum call stack size exceeded.. This Error Occurred in Safari browser
Mohankumar.Engain
6-Jun-12 5:34am
View
In my above Query:
DisplayBy=1,2,3,4,5,6,7,8,9,...(Four Time Repeated this value in table)
Your query is worked when select the records(Shuffled Totally All records).
But I need Shuffled with grouping, like based on DisplayBy field.
within DisplayBy field shuffled together each...
Mohankumar.Engain
5-Jun-12 2:56am
View
Hey VJ Reddy, I am generating Random records so i use NewID() in SQL same as LINQ Query Random.next().
What is use of Guid.NewGuid.ToString().
Not working ur method. reply me
Mohankumar.Engain
23-May-12 9:00am
View
ya sure, but it wouldn't work in IE.Note: other then first row of table records are worked well. and when records displaying in web page that time Error occurred.
Mohankumar.Engain
22-May-12 2:02am
View
values not binding when i entered preText. but Now I solve this as autocomplete extender property ServicePath="path".
Mohankumar.Engain
18-Apr-12 0:19am
View
If you have JQuery file for this purpose sent me link/code.
Mohankumar.Engain
18-Apr-12 0:18am
View
Hi sastry,
How to use JQuery, and how to solve it?
reply me?
Mohankumar.Engain
18-Apr-12 0:15am
View
Hi Roliking,
this is asp.net project with wcf.
Mohankumar.Engain
17-Apr-12 11:41am
View
But method not passing web service side.
so, deleted records also display in pageload function() whenever/wherever i call this pageload function.
not affect webservice method. why
Mohankumar.Engain
17-Apr-12 10:50am
View
I have 3 - Web Service method in pageload() function and display this details in table. this table edit button, delete button available.
Now I choose Delete one record using delete button from this page and
does not display remaining records. and display deleted records also.
Because web service not calling second time onwards in pageload() function.
This is my Question? Are u understand my question?
Mohankumar.Engain
17-Apr-12 10:18am
View
that function not called at during the page load function at second time onwards...
Mohankumar.Engain
9-Apr-12 5:27am
View
My image sizes, I declared Only 100px * 100px.
Then how to make it reply me.
Mohankumar.Engain
5-Apr-12 8:04am
View
its ok, but i am using '#' symbol in my particular url page that time didn't display FavIcon.
Mohankumar.Engain
27-Mar-12 6:41am
View
I need, if error occur in my page automatically display/send me error line
so that's y i need
Mohankumar.Engain
25-Feb-12 8:29am
View
no friend,
I need code for java script or c#. not for set Internet Explorer options like ur way...
Mohankumar.Engain
20-Feb-12 9:38am
View
Deleted
hey sanjay gupta,
i did your code but error's are raising like "CS0103: The name 'txtMenuDescription' does not exist in the current context.
please tell me how to solve this problem
by mohan. thanks in advance.
"
Mohankumar.Engain
1-Feb-12 10:03am
View
Hi Anuja Pawar,
I need my image automatically increased/Decreased height and width based on my <td> size. I give my <td height="70px" width="50px">
So, image will fix that area. whatever we want insert image size height=100px and width=200px td size only display
Give me solution?
Mohankumar.Engain
1-Feb-12 10:03am
View
hi SAKryukov,
I need my image automatically increased/Decreased height and width based on my <td> size. I give my <td height="70px" width="50px">
So, image will fix that area. whatever we want insert image size height=100px and width=200px td size only display
Give me solution?
Mohankumar.Engain
13-Jan-12 0:00am
View
My Query:
var queryexample=(from rest in db.Restaurants
join Time in db.time on rest.RestaurantId equals Time.RestaurantId
join cr in db.Reviews on rest.RestaurantId equals cr.RestaurantId
into JoinQuery from jq in JoinQuery.DefaultIfEmpty()
where rest.Area == Area && rest.City == City
group jq by new
{
rest.RestaurantId,
rest.Name,
rest.Address,
Time.OpeningTime,
RestTime.ClosingTime,
jq.ServiceReview
} into gr
select new
{
restid=rest.RestaurantId,
name=rest.Name,
address=rest.Address,
opentime=Time.OpeningTime,
closetime=RestTime.ClosingTime,
review=Convert.ToInt32(gr.Average(a => a.ServiceReview)) == null ? 0 : Convert.ToInt32(gr.Average(a => a.ServiceReview))
}).distinct();
return queryexample.toList();
This is my Full Query
tables rest and time => I Joined using Inner Join
3rd Review table is joined using right join
This is my problem?
I cant get original Output. it will show duplicate records.
way me please
by mohan
Mohankumar.Engain
12-Jan-12 23:48pm
View
I have LINQ Query, It has 5 - joins.( I Joined 5 tables)
How to Read by machine in this LINQ Query, Left To Right
(Or) Right to Left.
Mohankumar.Engain
10-Jan-12 23:20pm
View
thanks
Mohankumar.Engain
9-Jan-12 3:36am
View
Hi anushripatil.
thanks again....
keep-in-touch
by
from mohan
Mohankumar.Engain
9-Jan-12 3:20am
View
hi anushripatil.
I know, and how to Format the text inside the alert box,
for example font size 16px and color=green like that i want inside alert("");
is it possible?
by mohan
Mohankumar.Engain
6-Jan-12 3:55am
View
please give me.
How to use LET method in LINQ.
any tutorial or site then inform me
By mohan
Mohankumar.Engain
27-Dec-11 1:42am
View
Hey mark,
in my Question is,
Someone using personal Laptop or computer.
so, they are setting remember password.
That why i am asking mark.
By mohan
Mohankumar.Engain
20-Dec-11 3:40am
View
hai mika wendelius
your solution is working string writer class
But string builder class not working ur solution.
give any solution or how to font-face apply inside string builder class
when i pdf creation time
By mohan.
Mohankumar.Engain
6-Dec-11 3:37am
View
I want output in LINQ is, 'Tuesday, 01 January 2012'.
var selectQuery=(from add in db.address
select new AddressProperties()
{
date=add.myDate //here how to get
//Like Tuesday, 01 January 2012
//(or) Tue, 01 Jan 2012.
}).Distinct();
Reply me
By mohan.
Mohankumar.Engain
6-Dec-11 3:30am
View
already populate my listview in my button click.
but page not goes to page no.1 if refreshing page or choose any other search.???
reply me
Mohankumar.Engain
5-Dec-11 3:23am
View
Thanks anuj banka
take care meet next time.
by mohan
Mohankumar.Engain
3-Dec-11 3:27am
View
hi shek i got result thank u so much bye from mohan(KaInspire Tech)
Mohankumar.Engain
3-Dec-11 3:19am
View
Thank u so much dinesh mani. i got result
by mohan.
Mohankumar.Engain
29-Nov-11 2:44am
View
i update my question
give me solutions
Mohankumar.Engain
3-Nov-11 6:59am
View
your answer is correct but page is reloaded.
I want without page reload while clicking back button in browser..
by mohan
Mohankumar.Engain
1-Nov-11 9:19am
View
I mean second statement column does not display, field Explorer (Crystal report viewer)in select report source time....
Mohankumar.Engain
1-Nov-11 9:17am
View
ok its good idea....
but second execute statement is does not affect in binding the crystal reports(not display in report).
any idea for this error.
only first statement only displayed. why like that display any idea....
by mohan...
Mohankumar.Engain
7-Oct-11 6:34am
View
thanks but i want how to move asp.net page value to crystal reports.
did u understand?
for example : string name="Dot net Syllabus";
its display in crystal report at run time
How????....
Mohankumar.Engain
19-May-11 10:29am
View
Thank u very much
Mohankumar.Engain
19-May-11 10:29am
View
Thank u very much
Mohankumar.Engain
10-May-11 2:54am
View
But this query execute Order wise not recent transactions wise...
Mohankumar.Engain
10-May-11 1:55am
View
Thanks....
Mohankumar.Engain
10-May-11 1:55am
View
thanks
Mohankumar.Engain
15-Apr-11 8:16am
View
thanks
Mohankumar.Engain
15-Apr-11 8:15am
View
thanks for u
by mohan bye bye....
Mohankumar.Engain
15-Apr-11 8:13am
View
Thank u so Much... Mr prerak Patel
by mohan....
Mohankumar.Engain
9-Apr-11 5:54am
View
i Already that doubt thanks... Mr.vishwa
by mohan
Mohankumar.Engain
9-Apr-11 5:52am
View
thanks for ur valuable time spend with me...
contact shortly...
bye from mohan
Mohankumar.Engain
9-Apr-11 3:16am
View
no no i want differ from other control properties. some properties i dont know how to use for example,
Progress Bar events LocationChanged(),RegionChanged(), StyleChanged()
Combo Box Events MeasureItem(),HelpRequested
like that all controls(Windows,Web) With Examples
and
i need Details about all events for each controls
if u have sent me....
Mohankumar.Engain
8-Apr-11 11:35am
View
thanks by mohan
Mohankumar.Engain
8-Apr-11 11:04am
View
thank u friend i ll rejoin u bye with another code...
by mohan
Mohankumar.Engain
8-Apr-11 11:03am
View
hi friend i know but simply confusing... if u have C# code please sent me i clarify and learn...
by mohan
Show More