Answer Questions
holly c#er DataGridView isn't showing all the rows in my BindingSource!
I have an application with a DataGridView that receives new entries asynchronously from another process. The BindingSource seems to be getting the objects okay, but after the first one (which shows up fine in the dataGridView) the others don't seem to show up. Again, the BindingSource index IS increasing though, so the objects ARE being added. My understanding is that the BindingSource is supposed to automatically update the bound DataGridVie ...Show All
Arfinator Data binding hell
Something so easy causing so many greys.... void fetchNames() { comboBox1.Items.Clear(); OracleDataAdapter dAdapter = new OracleDataAdapter("select name from people order by id",myOracleConnection); &nb ...Show All
Christian Bogino Project Creation failed error
Hi, just installed Visual C# Express Beta2 on my machine Win XP SP2 and all seemed ok. IDE starts up ok, but when I try to create any type of project I get Project creation failed and nothing I have rebooted the machine several times but no luck Is this a permissions thing or something else Thanks in advance Hi, Sorry NCD the error message appears in the statusbar and worse is truncated, all I get ...Show All
TOMDX How to limit number of child form in parent form.
C# 2005 beta I developd MDI form and I can not limit the number of child form. After opened the form and it can open again and again at the same page. I need to limit number fo the child forn in the parent form. Hi, One way to limit this is to have a static variable that gets incremented each time, you instantiate a new form. In the Form_Closing event of all the forms you would need to decrement the same variable. Once the variable reache ...Show All
Reiner7 BSTR type in c#
I received a DLL which uses BSTR as string type: example : given in the include file DLLEXPORT BSTR WINAPI I2cGetInterfaceTypeStr (BSTR Interface); how do i access this function in vc#. This doesn't work. [DllImport("I2CAPI32.dll")] public static extern string I2cGetInterfaceTypeStr ( string Interface); Other functions of the DLL which don't use BSTR are working ok. Can anyone help me. Thanks, Jan ...Show All
kashif afzaal formating a slave drive with c#
I have been looking around for this question for so long. Does anyone know how to access a slave drive or network drive through C# to format it We figured that one out on the "erase network drive". Thanks for the post though! Ultimately, whoever writes the wrapper will have to call the Unmanaged code. Okay here is another ...Show All
msibm Database Question
Hell All, I am creating a program that will be used by about 20 people or so. It is a test case managment system, what I want to do is have everyone connect to a central database on a server somewhere on the network and be able to edit , update, create, save test cases. What I am unsure of is, do I need to write software on the database server to handle transaction, etc, or can i just connect to the database from the program on the users desktop ...Show All
bojingo How to draw lines of fix measurements?
Hi all, Can any one tell me how to draw the lines of fix measurements (like 5cm, 4 inch etc.) in .Net. I am doing a project for my academic course in which I have to draw/plot lines with various measurements dynamically provided by the user. Any help is welcome..... So guys please reply me at: abhi.win@gmail.com if anyone knows solution for this.... Thanks, Abhi Win Thanks for that Mik ...Show All
sven123 Is Merging ToolStrip of parent form and the child form possible?
To know honestly, is Merging ToolStrip of parent form and the child form possible Working in VS2005 Yes it is possible but you have to make a code for that, unlike the menustrip that it has an instant property to merge to a child menu. U Hi, Can you tell me the code... ...Show All
juanborde How are delegates cleaned up?
If I expose a delegate for classes to connect to, and the class goes out of scope, is the delegate automatically decremented. Or does the target property of the delegate keep the class in scope and prevent it from being cleaned up in the first place Example... class Lottery { YouWinHandler YouWinEvent; } class Person { Person(Lottery lotto) { lotto.YouWinEvent += new YouWinHandler(OnIWin); } void OnIWin() ...Show All
Debutant0 Windows Media Format 11 runtime (new?)
Recently I've downloaded and installed Windows Media Player 11 Beta. The installer includes wmfdist11.exe (Windows Media Format 11 runtime installer). In WM Encoder there appeared new WMA codecs: WMA 9.2 and WMA 10 Professional. Please someone explain what's new and provide more information. Hello, Media Foundation is the new multimedia platform that we are shipping in Vista . It consists of the new audio ...Show All
Gus Crawford UI Development
Hi All, I am currently experimenting in UI Design in C# and VB.NET. I'm currently trying to override the style of the titlebar, close, minimise button etc etc and ultimatly trying to end up with an interface similar to Microsoft Money 2006 http://www.microsoft.com/money/imag...en1_stand-a.jpg If anyone has any links to articles, or any pointers on how to create such a design then please let me know. I'm only really interested in the top half ...Show All
David Maynard Unsupported Exchange Server 2003 Features
Hi, Is it envisaged the support of the clustering of Exchange 2003 in the next versions Thks, Brahim Jonathon, has the version supporting clustering been released Hi Brahim - Yep, this is one of the big requests we've heard for the next version, so it will almost certainly be in there No, we're still in the planning phase for the next version. We hope to have more details to share public ...Show All
HofCompSciStudent Mutex.Dispose() - Does it release the mutex?
Does anyone know if disposing a System.Threading.Mutex object will call ReleaseMutex() for the object automatically. I'm assuming not, but I can't find anything explicit in the documentation. Does anyone know Hmz, indeed the WaitHandle.Dispose method doesn't do the same as the ReleaseMutex method, the ReleaseMutexNative is an external method: Dispose protected virtual void Dispose( bool explicitDisposi ...Show All
henn how to check overflow
how can i check if a sum of 2 numbers are causing an overflow (but i want to use a custom exception, not the regular one). thanks I guess the obvious way is to catch the exception that gets thrown when bounds checking is turned on, and then rethrow whatever you like. If I was going to do something like that, I'd make it a static method on a class, so I only had to write it once. Of course, any place you ...Show All
