|
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)
|
|
|
|
|
Thank U Fly for ur reply s
actually i want to copy an image and resize it to specified height and width
|
|
|
|
|
Google 'vb resize image'[^].
Once you have opened the image you can resize it, then you can save it in the new position.
My failometer is detecting vast quantities of FAIL!
"Its SQL - hardly programming..." (Caslen)
|
|
|
|
|
hiii i've created a form with a button...and i want that, on a button click a message will come to display the time left for shutdown the system.till the time gets over it'll decrease the value of time that is showing.
and when the time gets over message will go off and the system will shutdown automaticalyy....
i've coded already and when i'm clicking on the button a message box will come to show the information that "Do you want to stop debugging?",after that system gets shutdown..but i don't want that........
plz help me out for this problem.
thanks n regards:
manish kumar
|
|
|
|
|
rocky.manish wrote: a message box will come to show the information that "Do you want to stop debugging?",after that system gets shutdown..but i don't want that........
Uhh... That message is comming from Visual Studio! Your application is shutting down the system, causing Visual Studio to give you this prompt because it's being told to close!
You didn't really trry to run your app outside of the debugger yet, have you?? You won't get that message if you try it.
|
|
|
|
|
Go to where you saved your project, then go to bin\debug folder and launch your application as you would normally, this will work. Visual Studio shows you this message because you are "Debugging" at the time your program tries to shut down your computer. So, stop debugging for a sec, and check out the exe file that Visual Studio has created for you. It shoult be somehwere like: \....\Visual Studio\Projects\YOUR-PROJECTNAME\bin\debug\YOURPROJECT.exe
hope this helps
|
|
|
|
|
how to set connection string after deploying the project
|
|
|
|
|
Store it in something like the app.config file?? Then you can modify it to what the user needs and load it when you need to using the Configuration and ConfigurationManager classes.
|
|
|
|
|
thank U dave for ur concerned replys
(how to set connection string after deploying the project)
can u plz specify some example for it
actually i need to edit(connection string) after the application in is installed into the system
i think xml is used to edit
plz help me dave...................
|
|
|
|