15,896,726 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 Ank_ush (Top 108 by date)
Ank_ush
27-Oct-20 3:21am
View
Class name is the same for both, cannot be different.
Ank_ush
3-Jan-17 4:04am
View
The color of label is DarkControl and there is image in form at runtime, so it doesn't look good or doesn't match
Ank_ush
3-Jan-17 3:56am
View
the form I am telling is MDI Parent not the normal form. the code you suggested, label1.BackColor = Color.Transparent;, I tried that also but when then the color of label is Dark Grey which is the color when isContainer property of form is set to true.
Ank_ush
18-Mar-16 6:54am
View
What problem you are facing???
Ank_ush
25-Feb-16 9:00am
View
The code above is necessary to get the report which I have mentioned..
Ank_ush
24-Feb-16 4:55am
View
Deleted
your code also and mine also works, but when I try to retrieve the image which is 1.40 mb in size, that is saved in database, the error occurrs.
Ank_ush
24-Feb-16 4:23am
View
Deleted
Still the error occurrs at this line Bitmap bitmap = new Bitmap(ms);
Ank_ush
9-Feb-16 0:46am
View
I posted the answer, works for me fine...
Ank_ush
8-Feb-16 14:02pm
View
You got what I want, Please help me. !!!
Thanks in Advance.......
Ank_ush
8-Feb-16 12:12pm
View
how can I do it?
Ank_ush
8-Feb-16 9:58am
View
I have developed a windows application in c#, where there is 1 parent form 11 child forms. When I click on menu on parent form, the specified child form is opened and the menustrip on parent form is disabled. when the child form is closed, menustrip is enabled again. This is working fine.
But further what I did is, created shortcuts for menus like Ctrl + P for printing, Alt + R for Report, Ctrl + B for Binder, etc. Now when the child form is opened, the menustrip is disabled as mentioned above, but the shortcuts associated with the menus like Ctrl + P for printing, Alt + R for Report, Ctrl + B for Binder, etc are all working. I want that, for eg:- if I open Print Form (Ctrl + P), then other shortcuts should not work i.e. Alt + R, Ctrl + B, etc.
How can I do that ???
Ank_ush
8-Feb-16 8:02am
View
I want the first opened form to be remained opened, not the second form.
Ank_ush
8-Feb-16 8:00am
View
it works but the problem is that, I want to close second form not the first form. I have written the code that will disable menustrip control on parent form, once any child form is opened. But for every menu I have assigned shortcut keys like Ctrl + P, Alt + L, etc. Once any child form is opened the menustrip is disabled, but the shortcut keys associated with them are working. Either the shortcut keys should be disabled or else the opening of should be prevented(user may open more than 2 forms at a time by using shortcut keys).
Ank_ush
4-Feb-16 2:09am
View
The below code I modified and it worked well for me, but now There is a new query, i.e. I have created MDI Parent and Mdi Child Forms. In Mdi Child forms the same code works, but it doesn't work in Mdi Parent form, Is there any solution???
Ank_ush
14-Mar-15 13:09pm
View
it is saved but not in unicode, normal alphabets can be seen.
Ank_ush
14-Mar-15 12:59pm
View
by writing the above c# code the value entered in windows form is not saved in unicode format in sql. in SQL server if I write this
insert marathi SELECT N'नमस्कार' then by using, select * from marathi it shows नमस्कार in sql server. This query I want to implement in c# code in windows application, but not getting, any help plzzz....
Ank_ush
14-Mar-15 12:52pm
View
In sql I tried the above query with prefix N then it shows the data as नमस्कार and without prefix N it shows ???????. I want to write the code of the Right one query in my program but I am facing problem, so how can I ?
Ank_ush
9-Nov-13 1:07am
View
You are right.
Ank_ush
26-Oct-13 1:17am
View
If you find my solution correct then plz click on accept solution and if any help needed then plz reply.
Ank_ush
21-Oct-13 12:43pm
View
select thecmbBatchno(combobox) on form, go to properties and check the text_changed event, is it empty or filled, if it's empty then write the same code again for the Text_Changed event, even if it's not empty still delete the event and write the same code again
Ank_ush
19-Oct-13 10:55am
View
why you want to change the cust ID, once it is given it should not change, display the data by sorting according to the location.
Ank_ush
16-Oct-13 1:47am
View
What you actually want to do now ? Plz clear the question (Write the question in detail).
Ank_ush
27-Sep-13 10:15am
View
It's Offline, so how can it can be done ?
Ank_ush
26-Sep-13 14:05pm
View
I didn't get the correct one, if you know plz let me know.
Ank_ush
26-Sep-13 14:04pm
View
I tried to create license setup from various sources, but couldn't achieve what I want.
Ank_ush
26-Sep-13 14:01pm
View
I have not hacked anything. I have developed my own program in c#, which is ready to give to client, but only setup creation is remaining.
Ank_ush
25-Sep-13 3:14am
View
What you actually want to do? want to transfer data from teh windows form to MS word or anything else?
Ank_ush
25-Sep-13 3:13am
View
your question is not clear.
Ank_ush
25-Sep-13 3:00am
View
what have you done, any code or any form, etc?
Ank_ush
25-Sep-13 2:55am
View
Your question is not clear, plz edit it.
Ank_ush
13-Sep-13 1:18am
View
No...
Ank_ush
26-Aug-13 1:43am
View
Please view this page. In this page the values are inserted from sql server mgt studio not textbox.
http://stackoverflow.com/questions/17786379/unable-to-retrive-marathi-font-text-from-database-in-proper-way-in-asp-net
Ank_ush
26-Aug-13 1:40am
View
when i am inserting from textbox and retrieving there is no problem. But my question is that when we fire select query in sql server mgt studio for eg; Select * from Cust_Details, the results are fetched but in english, how can i see in marathi ??
Ank_ush
26-Aug-13 1:19am
View
the above answer is correct. But is it possible to view the stored data in sql server in marathi or hindi language whichever (I am using marathi). if possible please let me know....
Ank_ush
25-Aug-13 12:43pm
View
Did you get the solution?? If yes then please share it....
Ank_ush
25-Aug-13 12:13pm
View
When I save the data to sql, it is saved as ????? and while retrieving also same ????? how to solve this ?
Ank_ush
21-Mar-13 11:25am
View
This solution worked as it helped me to trace the proper location of mistake.
Ank_ush
3-Jan-13 8:19am
View
Because there was no proper answer and the question went down due to new er questions.
Ank_ush
31-Dec-12 6:01am
View
Tejas, I dont want to hide Row header, I just want to hide that pointer which is Traingle. In Row header I am showing Sr. Numbers 1,2,3....
Ank_ush
30-Dec-12 6:16am
View
The Advanced Installer In V. Good....... Thanks...
Ank_ush
29-Dec-12 8:03am
View
Yes Friend, i changed the code and it worked... Thanks............
Ank_ush
29-Dec-12 7:39am
View
Review my code....
Ank_ush
29-Dec-12 7:38am
View
Copied the code, you can review....
Ank_ush
29-Dec-12 7:30am
View
Deleted
.....
Ank_ush
29-Dec-12 7:00am
View
Its not working. I have button on form 1, I want to use the same button to show and hide the form 2.
Ank_ush
8-Dec-12 4:32am
View
I changed the Datatype from varchar to int while using MAX(). You can see solution 2.
Ank_ush
8-Dec-12 0:13am
View
Thanks for the idea of converting from varchar to int while applying max().
Ank_ush
7-Dec-12 23:49pm
View
I have saved 1 to 10 in trans_no ans I fired your query and the answer is 9 instead of 10. Can u plz check....
Ank_ush
5-Dec-12 14:32pm
View
Not working. I tried this slc.Parameters["@Cust_Name"].Value = cmbCust_Name.Text;
value was properly saved. if you use cmbCust_Name.SelectedValue, then the code should be cmbCust_Name.SelectedValue.TOStrting();
Ank_ush
5-Dec-12 14:12pm
View
you are right, I tried to use cmbCust_Name.SelectedItem.toString() and even cmbCust_Name.SelectedText, but still it is saving System.Data.DataRowView
Ank_ush
5-Dec-12 1:37am
View
Not Working...
Ank_ush
5-Dec-12 1:15am
View
In debug mode when I place the mouse on adpi.fill(ds), i.e. adadpter.fill(Dataset) the newly added value is loaded, but in combobox, it is not shown.
Ank_ush
5-Dec-12 1:12am
View
cmbCust_Name is the name of combobox
Ank_ush
28-Nov-12 7:16am
View
Yes, I want to generate the numbers in sequence and save it in DB.
Ank_ush
13-Nov-12 12:40pm
View
In a form just take 2 textboxes, 1 button and 1 error provider control. and just copy the code I have written and run the project or that particular form.
Ank_ush
10-Nov-12 13:35pm
View
I have used only one error provider, if you use two error providers then also it's ok.
But my suggestion is Use only one error provider, Make your program as easy as possible and it will not be ambiguous also. If you want to use 2 error providers then use it.
Ank_ush
27-Oct-12 3:13am
View
Kruti Dev 10 font is not supported
Ank_ush
27-Oct-12 2:25am
View
Only true type font is supported in visual studio
Ank_ush
21-Sep-12 5:35am
View
In which event have u written the above code?
Ank_ush
3-Sep-12 14:04pm
View
Welcome....
Ank_ush
28-Aug-12 13:20pm
View
Arrow Buttons, Enter button, etc they donot enter text when pressed, they have different behaviour.
Ank_ush
26-Aug-12 1:26am
View
If my Answer is correct then Accept Solution.
Ank_ush
26-Aug-12 1:23am
View
Welcome Dear..
Ank_ush
18-Aug-12 8:47am
View
I let u know about this for doing in Silverlight.
Ank_ush
18-Aug-12 8:46am
View
Just vote my answer and accept as solution.
Ank_ush
18-Aug-12 8:46am
View
Welcome...
Ank_ush
17-Aug-12 15:27pm
View
yes you r right
I changed it to 1000 and its done.
Ank_ush
17-Aug-12 2:09am
View
Did this worked ??
Ank_ush
16-Aug-12 12:26pm
View
Not Completely Correct....
Ank_ush
16-Aug-12 11:46am
View
No Idea about Silverlight Dear.
Ank_ush
16-Aug-12 11:26am
View
should have mentioned questioned in Detail.
Ank_ush
16-Aug-12 11:24am
View
You are working on windows or web project ????
Ank_ush
16-Aug-12 5:50am
View
Are u there online ? I have invited you to Gtalk. Plz join
Ank_ush
16-Aug-12 5:07am
View
are u there online I have added u in gtalk and invited u
Ank_ush
16-Aug-12 4:58am
View
Deleted
my mail ID mhatre.ank@gmail.com
Ank_ush
16-Aug-12 4:55am
View
Currently I dont use Gtalk but in few I will start it. As I start it i will tell u.
Ank_ush
16-Aug-12 4:50am
View
where you want to add me ??
Ank_ush
16-Aug-12 4:49am
View
that should work I think...
Ank_ush
16-Aug-12 3:53am
View
Yes sure u can ask......
Ank_ush
16-Aug-12 3:53am
View
It is important because, it shows the data that is in your database. If you don't call this method in Form 2 Save button event then it will not show you the updated data. Get_Data is the method name I have given u can change it.
Ank_ush
16-Aug-12 3:17am
View
I have now updated the answer, plz check it.
Ank_ush
16-Aug-12 3:07am
View
That's ok. but just create one method in form 1 and call that method in form Load event look up, I have changed the answer little.
Ank_ush
16-Aug-12 3:00am
View
I am watching your code that u posted in question
Ank_ush
16-Aug-12 2:42am
View
That's ok Dear. Let me try to understand, this is important in programmers Life.
Ank_ush
16-Aug-12 2:38am
View
Just show the code you have written to load data in datagridview..
Ank_ush
16-Aug-12 2:25am
View
e.RowIndex returns the current row index or row Number on which the pointer/cursor is now present.
Ank_ush
16-Aug-12 2:22am
View
I need to review your code. Just show your code you have written to load data in Datagridview. I will help You. write the code to load data in datagridview in the above method in Form1 and call that same method in Form1 Load event and also in Form 2 Save Button Event after the Save code.
Ank_ush
15-Aug-12 14:07pm
View
Now I change the Answer, its below
Ank_ush
15-Aug-12 13:53pm
View
Dear, the properties which you are talking about can be changed by us Programmers, Developers. But when the user will run the application, he will be able to only enter the text in textbox.
Ank_ush
15-Aug-12 13:22pm
View
Yes, Because it is Runtime not Design Time where properties can be changed. Run time means when the application is running and the user is entering the Data in textbox.
Ank_ush
15-Aug-12 11:13am
View
If You find this solution Correct then plz vote for this Solution.
Ank_ush
15-Aug-12 11:11am
View
If You find this solution Correct then plz vote for this Solution.
Ank_ush
15-Aug-12 11:07am
View
That's ok. If I mention it in Form load event then it doesn't show empty space when Form loads.
Ank_ush
15-Aug-12 11:01am
View
If I set the Label text to Date Time.now in form load event then it doesn't show the time changing.
Ank_ush
15-Aug-12 10:42am
View
yes you are right I have written label.text = DateTime.Now.ToString() in Timer_Tick event. and called Timer.Start method in form Load event.
Ank_ush
14-Aug-12 8:18am
View
I didn't got ur code ....
Ank_ush
9-Aug-12 14:15pm
View
Title Bar text is not coming perfectly in center of title bar.
Ank_ush
9-Aug-12 14:14pm
View
Deleted
Title Bar text is not coming perfectly in center of title bar.
Ank_ush
9-Aug-12 14:13pm
View
Its Windows Application. Windows Forms.
Ank_ush
21-Jul-12 4:31am
View
Product Name comes from one table, Old stock from another and New Stock from another table, and current stock is total of Old + New Stock...
Ank_ush
2-Jul-12 12:21pm
View
Using Table Adapter
Ank_ush
2-Jul-12 12:21pm
View
Deleted
Using Table Adapter
Ank_ush
11-Feb-12 11:18am
View
When I run the project, the actual value is not passed to textbox, Value passed is System.Dataview.something.
Ank_ush
10-Nov-11 4:54am
View
I am trying to show data in hindi language, but not able to do. if you show me small demo, it would be helpful.
Ank_ush
10-May-11 5:10am
View
Dear Friend,
I want to access on teo systems at a time. like any web page(yahoo, rediff).So Plz
Ank_ush
21-Apr-11 1:31am
View
Deleted
The source code from where I got the Marquee Control, Here is link:- http://www.codeproject.com/KB/miscctrl/MarqueeControl.aspx
Ank_ush
21-Apr-11 1:31am
View
The source code from where I got the Marquee Control, Here is link:-
http://www.codeproject.com/KB/miscctrl/MarqueeControl.aspx
Ank_ush
18-Apr-11 5:56am
View
Plz post the code so that it can be rectified.
Show More