|
How do you display a tooltip in datagrid for .net 1.1?
|
|
|
|
|
Ok, so I've created a sample C# forms application, and want to ensure that it can be easily localized to other languages. I'd like all my strings etc in resource files, and satellite assembly files looks like a decent way to go about this.
I've found several articles, on CP and MSDN etc, they all mention to create a windows forms application. Then right-click on the project and select Insert New Item and then select "Assembly Resource". I have many installed templates, but that's not listed. Has this changed in VS2008? Would "Resources file" work ok?
For example, see here, Approach A, step 1.
thanks,
Mark.
|
|
|
|
|
hi all!
i need to develop application that have many simultaneously ran tasks. each task have its own logger file and prints log info in to some window control.
i've tried to investigate how to log this data to UI window but found out nothing.
i need some multiline listbox or textbox that can contain a lot of strings and be fast like VS output window(text box) or microsoft spy(listbox).
i think that containing of all log lines in UI window is not a good idea... may be it would be better to write all log data only to log file and in to UI window print lines depending on scroll-bar position reading them from log-file?
what do u think about this? may be u had the same problem and can recommend me better solution?
10x!
ISQ 469907496
|
|
|
|
|
Hi,
most of the time I log to both a file (which during debug gets opened and closed for each line, so I also catch the last line before a crash) and a listbox. IMO a TextBox is terrible for logging, since it continuously concatenates all text lines, a quadratic and expensive operation you do not need.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
|
Luc Pattyn wrote: IMO a TextBox is terrible for logging, since it continuously concatenates all text lines, a quadratic and expensive operation you do not need.
Interesting, never thought of that bottleneck right there, going to make me review a couple of times a textbox is present for debugging
|
|
|
|
|
I have a Text box on a panel and want to set to value for it through the another form.
pls help me
by
srinivas
|
|
|
|
|
Do some research before asking the 2nd most asked question ever try this clickety[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
What's the first?
|
|
|
|
|
How to read/write data to a database!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
what a stupid question ?
i am asking the question tell me the answer
other wise
please shut up
thank u
|
|
|
|
|
I'm surprised you did not demand the codz plz.
I gave you a link to search google which you should have done before asking your original question. This question is many times in a week, it has been answered with some excellent examples which you would have seen if you followed the link.
I was answering Elliot, not you.
As I said in my original post you need to do some research before posting your simplistic question
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Does any body have an idea how to add a Button to a TextBox after the application has started(at runtime adding of a button to the TextBox). I have tried with directly adding a button to TextBox, I am trying to Create a button inside a textbox which performs exact operations as a Button over a Form.
One of the option is drawing a painting of button and actually catching all the events happening in the region of the drawn painting. does any body have any better approach of doing the same
tyra
|
|
|
|
|
sunnytyra wrote: at runtime adding of a button to the TextBox
Should be interesting, I'll be astonished if you can achieve it. Also WHY add it to the textbox.
I can understand a user control that includes a textbox and a button but a button is to service a click event, you get the same event in the textbox, just change the appearance of the textbox. How do you expect the user to type into a button?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thanks for replying...
I would answer for the why in your reply?
Just take an example the application I have developed have 10,000 TextBox I cannot replace all with the UserControl. So I am trying to change the TextBox.
|
|
|
|
|
sunnytyra wrote: I have developed have 10,000 TextBox
You may call it an application, I'd call it an abomination, I don't care what you app is that many text boxes on a form or a series of forms indicates your design is seriously wrong.
I'd go back and redesign your entire solution.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Please read my reply care fully: it says "For Example"
|
|
|
|
|
I have a question:
Why is it so difficult to add a control to another control. If it is possible for Container Control to do this is should be possible for the Normal Control also. I am try to create a control in the direction but dont want to use Container Control strategy as far as possible.
Please suggest your opinion.
Regards
Sunny
Email: sunny_tyra@yahoo.com
|
|
|
|
|
Think about what you are saying, a container control is DESIGNed to CONTAIN controls, a normal control has a different job. Next you will want a panel to manage text. Don't be an idiot, use the right tool for the job. You want to contain a control then use a bloody container control.
Or write your own control, oh right, you will need to start with a CONTAINER control. Rates as one of the stupidiest question I have seen.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I can understand that the question was stupid enough
But what do you want to say about a combobox. I think microsoft has taken a single line textbox and provided a button like look and feel(or a drawing) since they were not able to add a control in the region or they dont want to do it.But still ComboBox is the most versatile tool used. No body takes a container control then add a button and then provides a docked drop down list.
What do you say about the TextBoxes used in the following:
http://msdn.microsoft.com/en-us/library/aa511489.aspx
I have queried on this issue since you looked interested.
Thanks for replying anyways.
|
|
|
|
|
Ok so it's morning now and I'm much less grumpy.
I imagine if you started from scratch, inherit control, and built up a contol you can acheive this, I imagine it is the way control builders do it. I am not and never will be a control builder so I use the tools already available to me in the framework. Your original post was about button and textbox, existing controls in the framework, from this I assumed you wanted to work within the framework.
I'm curious, what is your issue with container controls?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
how to integrate an application to already developed application
i mean to say,if i thought of updating an extra module for an application developed by other person.
i just have database and setup file
how to Update
Plz help................
|
|
|
|
|
That would depend entirely on the other application, if it exposes any interfaces or services, what API's you would have to use, database concerns, ... EVERYTHING depends on the capabilities exposed by the other app. Without knowing anything about it, it's impossible for us to tell you anything useful.
|
|
|
|
|
i need to store image from one location to other using vb.net windows form
help me what control to use and how
Thank u
|
|
|
|
|
Do you mean copy[^] or move[^] the file?
My failometer is detecting vast quantities of FAIL!
"Its SQL - hardly programming..." (Caslen)
|
|
|
|