|
I cannot access the selected item, via Items[SelectedIndex] while editing the text, as the selected index is immediately set to -1 when editing the text. My desired behaviour is to change the text in the texbox part of the Combobox, by typing different text, and have that change affected on the DisplayMember property of the currently selected object. I.e. my combo reflects a list of Section object names; I want to be able to change the name of the selected Session without using any other control.
|
|
|
|
|
Brady Kelly wrote: I cannot access the selected item, via Items[SelectedIndex] while editing the text, as the selected index is immediately set to -1
Of course it is because you don't have an item in the list selected if you typed in something new.
Brady Kelly wrote: and have that change affected on the DisplayMember property of the currently selected object.
Then you need to add the new item to your Data that is used as the DataSource and refresh the controls binding.
led mike
|
|
|
|
|
Hi!
I have a C#/.Net2.0 software, that calculates some values in thread A, which is not the thread serving the forms.
Those values should be displayed by a progressBar using a "set"-method using "Invoke".
When running the software under Vista the Bar shows the values as it should.
When running under XP the values are calculated and passed to the progressBar´s value-property, but not displayed in the form.
Is there a difference between XP and Vista that has to be taken in mind in order to make the software display the progressBar´s value?
Thanx for help!
J.
|
|
|
|
|
HI Guys,
I am trying to override the existing Save button in Word 2007.
Currently my code here doesn't seem to work, but it works when I add a new control on my command bar.
_wordApp.CommandBars["Standard"].Controls["&Save"].Visible = false;
this line doesn't work, it still appears in Word.
David.
|
|
|
|
|
i have application that works well as window app. i took some of the code to winservice it work. i now make the parameter to come from database. the service is running but does not send mail again
|
|
|
|
|
Any errors or code to support your statement?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Any one know how to resize the Column header height in ListView?
|
|
|
|
|
|
Hi All,
I have made one window service in which i have included some COM components like Microsoft.Internet Control.
In a seperate Window application my code is working properly but when i integrate that code in my window service in gives me COMException like
System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007000e.
Is there any solution for this kind of error????
Thanks in advance
Himal Rupera.
|
|
|
|
|
hi,
I want to update the column(reorder) after i drop a column inside the datagridview. The updation is based on the column index value. when i drop the column to the datagrid it get add at the last of the datagridview. Have any logic to over come this.....? so that i droped it should display at the droped position....
|
|
|
|
|
|
Hi, first of all just want to say that this site is really helpful, thanks
Well my question is in the title. I have a Windows form whose background is an image with gradient colour. In this form I have a tabControl. I want the background of the tab pages to look the same as the background of the form. But since the tabControl does not cover the whole form and the background image is gradient, simply adding the background image that I used for the form, as the background image for the tab page will not work, the colours will be different etc. Is there any way to make the tab page totally transparent, such as you can see the background of the form while in the tab page?
I have looked around the internet and there doesn't seem to be possible
Any help is much appreciated, thanks.
Edit: By the way im using C#
modified on Wednesday, June 18, 2008 6:06 AM
|
|
|
|
|
It will be difficult for the consistency you are looking for because the tabcontrol takes part in the visual styles of the OS. To get what you are asking you might have to create your own tabcontrol (or modify an already custom tabcontrol (it will be easier to find then transparent tabpages)). I suggest googling or codeprojecting for a custom tabcontrol.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Yeah, your right, it would be much better for me to make my own, it shouldn't be too hard. Thanks for your help.
|
|
|
|
|
how can i read a file another process in reading/ writing.
|
|
|
|
|
If another process is reading/writing to the file, the file may be locked and can't be altered except by the calling thread.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Hi all ,
I'm working with windows application . in this i used one web service to get details from database .
could any body give me references or explanation about deploying this application with web service and database .after deploying and installing it should work in different systems .....
Thanks
C.S.N
|
|
|
|
|
hi friends...
i have a calender scheduler control requirement in my application. i need outlook like calendar scheduler in my application.
Is there any control available for that?
How can v save the events (format).?
Does v have to save in a the database/Xml/other format?
Please provide me a solution to sort out this....
Thx n advance..
|
|
|
|
|
I guess if you google, there are probably third party controls you can use.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi...
if u dont mind.. i have a genuiene question.. m using google for many years.. but last week i found that , m very bad to search n google. And ten i searched , how to do a efficent searching. but still m not getting a clear idea. so can u please give a proper guidence for this .
Thnkx n Advance...
|
|
|
|
|
He has an article on the subject. Click[^]
|
|
|
|
|
Easy - there's an article linked to in my sig that will help you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
This issue is with respect to Windows Application
I have 2 comboBox in the same row of a DatagridView. When I attach an event one of them, the other comboBox also fires the same event. How can I attach an event only to a particular combo in a DataGridView
|
|
|
|
|
Hi Friends,
I need to develop a plugin to add my own toolbar in Outlook express/ Windows Mail.I tried to get handle of window mail window (while it's running); then placed my toolbar in some desired position in the windows mail window, but as we hide some of the toolbar window; my own custom toolbar gets displayed;
kindly help me in this; as Microsoft Outlook has its own object model and allows to customize its GUI and rest handles by itself.
Do we have any such mechanism to use for GUI customization, in case of Outlook Express/ Windows mail also.
I am using win32 c.
Kindly help me in whatever way you can , coz I really NEED it ASAP.
Thanks in advance!
dolly,
N,IN
|
|
|
|