Answer Questions
hangar18 Find controls on a windows form
Hi, I have a windows form with several controls on it. I need a function which finds a specific control on this form. Is there any function for that already built If not, could you advice me how to tackle this problem Thanking you in&nb ...Show All
grybyx selected text dragdrop
how to dragdrop selected text thanks! ...Show All
adiel binding combobox.text not compatible with arrow keys?
I have a combobox manually filled with a couple of items. I want to bind the combo to a dataset to store the value selected. As there is no datasource for the combo and no valuemember set, I am binding to the text property rather than the selectedvalue. Is this right Whilst this works fine when selecting an item from the combo using the mouse, if I use the keyboard (arrow keys), the text in the combo changes, but the change is not registered w ...Show All
Darth Videlous outlook 2000 e-mail format
Hi, What causes my e-mail to show up to the sender like this "I was hoping to ask your opinion since you know my background somewhat and I value your opinion. Do you think I would be better off taking A+ certs (covers System hardware and OS), Net+ (covers network basics and a bit more), Linux+ (covers OS) and MCP (skills to successfully implement a Microsoft product or technology). Eventually taking MSCA certs. ...Show All
confusesc WndProc not Respond to Windows Shutdown
I have a application using a override of WndProc to control appz minimization and closing down I know the code is right because i tested it separated in another winform application and it worked but on my application it will stop the machine from shuting down. the application closes, but the log off/restart and shutdown will stop and not proceed unless you try again Is there a way to trace what could be bloking it i tried a try catch bl ...Show All
CharlieWasAnAngel Rich Text Box Problem in C#
I have a Rich Text Box Control. In which i want that only text along with its formatting(bold, color etc) be pasted. But it should discard IF clipboard item contains Image. I tried using if(!(Clipboard.GetDataObject().GetDataPresent(DataFormats.Bitmap))) &nb ...Show All
Les Smith access to Setup1.Version
I would like to read the version property in the build project properties from within my application during run time. Does anyone know how to do so Application.ProductVersion will display the version according to the app.config file. &nb ...Show All
David Sedman accessing app.config file in class library
Hi, I have a app.config file which resides in the windows application. I am trying to access the AppSettings of this config file in a class library project but I get null values. Windows application is using .NET remoting to make calls to this this class library (which is a data access layer). I would appreciate any help on this. Thanks Class libraries use the same ...Show All
Thomas Root Image zoom
I want to let users draw a rectangle (or square, I don't know yet) around a part of an image to zoom in on it, similar to selecting multiple files in Windows Explorer or multiple controls in Windows Forms Designer. Once I have the coordinates of the rectangle I am fine; I just need to know how to implement the UI! Thanks. Keep your image in a bitmap. When the mouse is on buttondown, get to coor ...Show All
digitig BackgroundWorker keeps changing my code!
I think I'm going crazy... I have a VB project with several forms that use BackgroundWorkers. The code works fine. However, from time-to-time, VS B2 decides to change the code in my DoWork event handlers. It deletes ALL of my DoWork code (leaves the Private Sub and End Sub lines) and replaces it with: 'This method will run on a thread other than the UI thread. 'Be sure not to manipulate any Windows Forms controls ...Show All
RiskSWDeveloper_WorkEmail How to use HelpcontextId in HelpProvider
I have help files in many languages created by authors from around the world. In VB, I used to call up a help topic using a help context ID as follows: HtmlHelp Me.hwnd, App.HelpFile, &HF, ByVal 1009& where 1009 is the help context ID of the form (Note: its a variable in the real code. This is only for example). How can I do this using the HelpProvider class As far as I can discern, the only way to do it is to set "HelpNavigator on ...Show All
Chee Kin Does calendar control has method to omit saturday and sundays
Does calendar control has method to omit saturday and sundays and calcute the duration of days. help me No it doesn't. You'll have to use a 3rd party custom control. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
LHC how to get the relative location of the controls within a panel?
Hi, I am having a panel and the size grows dynamically. I have a horizontal scrollbar and a vertical scrollbar. How do I get the size of the complete panel. When I say panel.size it just gives me the size of the screen that can be viewed. I need to get the complete size of the panel. I also tried to append the panel.AutoScrollMargin.Width. But it is not giving me any value. How can I achieve this task I also want to know how to get the locat ...Show All
Kyle_W What the intention of the "components" variable?
For every IDE generated UserControl C# file, there are some identical code : /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> &nb ...Show All
Gwenael Adding a DataSource property to my Control
I want to add a DataSource property to my control that, at design time, will allow the designer to drop down a list of valid datasource components just like the DataGrid control. The type on the DataSource property is just 'object', so I& ...Show All
