15,912,021 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 cluelessentity (Top 10 by date)
cluelessentity
22-Mar-17 7:06am
View
Nop.
I can right click on contextMenuStrip.
I want to click on the items under contextMenuStrip that are called Tool Strip Menu Items. And I need to provoke an event and do stuffs in that event when these items are clicked.
cluelessentity
22-Mar-17 7:00am
View
@Karthik,
There is no right click I can make on the Tool Strip Menu Item.
Like we have collections in a combo-box, the same way I have Tool Strip Menu Items in ContextMenuStrip. So, when I select - right click on ContextMenuStrip, there is a property called Items. When I click on the (Collections) for the Items property, at that time I can add as many Tool Strip MEnu Items as I want but there is no right click on them. Also no events on them.
cluelessentity
22-Mar-17 6:36am
View
@Karthik
Thank you for your comment. But this ain't that simple.
This Menu is not like normal menu. It grows under ContextMenu linked to a NotifyIcon.
That means, on bottom right side of the screen, just next to the battery indicator of any windows laptop, near the clock I have my NotifyIcon. When I right click, it gives two menu items here.
cluelessentity
24-Feb-17 6:26am
View
Genius you are madhav_jain.
It worked.
Karthik's solution helped me to get value in the combobox. And your's helped to save it in another table.
You made my day!
Thanks a tonne :)
cluelessentity
24-Feb-17 6:10am
View
Exactly, that doesn't work.
But even if I get the PlanID as valuemember in combobox, the same is not being retrieved while saving in the database for another table.
If used as cbPlan.ValueMember, it returns PlanID.
IF used as cbPlan.Text, it returns the PlanName.
cluelessentity
24-Feb-17 6:07am
View
Hello Karthik,
That worked fine for the display.
But what could be done to pick only the value of the combobox in order to save it in another table.
Following is the query I am using:
cmd.CommandText = "INSERT into fbkPatientMaster values('" + fname + "','" + lname + "','" + gender + "'," + Environment.NewLine
+ "'" + address + "','" + state + "','" + city + "','" + email + "','" + mobile + "','" + landline + "'," + Environment.NewLine
+ "'" + dob + "'," + 0 + "," + cbPlan.Text + ",'" + comments + "'," + "getdate(),getdate())";
If used as cbPlan.ValueMember, it returns PlanID.
IF used as cbPlan.Text, it returns the PlanName.
cluelessentity
14-Jun-13 14:23pm
View
Ok i get it, u had a bad day and u want to take it out on me. Normally i am sure you would take it as a funny comment. Relax. Try some yoga. More than me i guess u need help.
cluelessentity
14-Jun-13 14:19pm
View
I am not expecting anyone to offer a job. I don't want pity.
The reason I asked the question is so that I get to know if I need to do something extra. If I am not putting my strength in a wrong way. Or simply to get comments from someone with more experience in the industry.
And I am not discouraged at all, if I have to I'll give a dozen more interviews....but halting and taking advice from someone who has better knowledge is not wrong either.
cluelessentity
14-Jun-13 14:14pm
View
Perfect. Thanks richcb. I'll post it in the lounge. I was not aware about it before.
cluelessentity
14-Jun-13 14:04pm
View
I know this is only for technical questions. But I really tried other forums and didn't get a proper solution. There are many professionals over here and hence I thought i could get at least one suggestion that could click. I apologize for the inconvenience.
Show More