Please I need to know how to create a DropDownList like that of the Font dropdownlist of the microsoft word. In the way that when you choose a font from that list it's put in the top seperated part of the list.
What I'll do is that I'll get the items from a query result but some of those are put in the above section where all the others are put in the second part.
Thanks in advance.
I'm facing a problem while transmitting a live video on LAN using memory stream object.
But when I run application,after some time,my system prompt me "Low virtual memory".
Actually the reason is the Memory stream.As there are two ways to convert the BMP into Byte ARRAY i.e Stream or File so tell me any solution or any other better way to convert Bitmap object into ByteArray.
Thanx and plzzzzzzzzzz reply
You can solve your problem by increasing the size of virtual memory.
Don't do this.
If you are running out of virtual memory after you app has been running for a while, it's because your app has a memory leak. Make sure you are disposing of objects properly when they are done with. Use a tool like SysInternals process monitor to check how much memory your app is using, and if it is increasing over time.
I want to design an application that loads a Web-page and fills in the fields of the Web- form. The Web-page that I am trying to fill in is created by me. For example on the webpage I have a field called "Name" then next to the Name Text field I have kept a search button, clicking on which will lead to a list containing some names. The application will select the required name and that name will be filled in the Name Text Box. But I don't understant How can I be able to auto generate a mouse click event at that button.
I will be highly obliged if anybody can help me.
I am able to load the web page into my application using Webbrowser control but I am unable to access the fields of the Web page, say its button controls, text controls etc. How Can I achieve this. Please help.
I want to make a control which shape is a line(not only horizontal and vertical but also bias) , i tried to use the graphicpath but this class cannot only add a line . i am hurry for the solution ,hope someone can help me thank you !
I'm trying to get a class to appear in a property grid control, and I can do all the basic stuff (assign descriptions to properties etc and get the object to appear in the property grid), however I also want a more complex form to pop up when I click on a more complex property.
Not sure if the above makes sense (if I knew the correct word for what I'm looking for I would have found it on Google by now!), so an example to help:
For example, a font dialog appears when changing the font on a control, by clicking on "..." in the Properties window next to "font"
What I want is to have a property which when clicked gives a "..." button, and when clicked pops up a form to help the programmer/user to set up the object properties.
Could you explain your requirement on how and when you wish to pass the value to your
method. Is there any specific action after you wish to pass the data. The normal procedure
to pass the data could be in either of the given forms. For example:
What I wish for is a method to be called each time a row is created that will take the text in a specific column and convert it.
Row Name Id
1 Ric 123
2 Lou 456
3 Matt 789
As a row is created a method takes the Id, runs it through a custom method I have (for converting ID's into Usernames) and then displays the username instead. I am using a SPGridView (SharePoint Grid View).