Carltegeder's Q&A profile
Windows Forms Binding Navigator - Enable/Disable Save Button
I'd like to enable/disable (grey out) the Save button based on whether or not the binding source has any unsaved changes to persist to the dataset and update to the dB. Does anyone have any samples that illustrate how to do this Hi Joe, I don't have a full sample, but you can check the DataTable.GetChanges method. You could use the BindingSource.ListChanged event to check the GetChanges API. Steve Lasker Program Manager Visual S ...Show All
Windows Forms How to Bind Business Entity Components to User-Interface Controls
Does anyone know where to dowload an example about Binding Business Entity Components to User-Interface Controls on window form Thanks The Windows Forms Databinding forum is probably a better place for questions about binding - I nearly missed this one. Check out this article: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet02252003.asp If you are using VS 2005 then you can use BindingList(of T) rathe ...Show All
.NET Development Convert decimal string to hex string?
Can anyone give a newbie some help converting a decimal string (ie "32768") to a string in hex formatted string (ie "8000" or "0x8000") Is there a conversion method in C# I add here the reverse convresion: Hex string to int string string sHex = "8000"; int iNumber = int .Parse( sHex, System.Globalization.NumberStyles.HexNumber ); string sInt = iNumber.ToString(); Hope that's h ...Show All
SQL Server can't add tables to my datasource
I added two tables to my access database. I tried to add them to my dataset through the configuration wizard. They appear. I check them. But I get the message index out of array bounds. I rebooted. Same thing happened. I tried it on another computer. Same message. Can anybody help dennist685 I am moving this thread from .Net frame work and Data Access to Transact-SQL, ho ...Show All
Visual Studio 2008 (Pre-release) How to get rid of Microsoft Expression Interactive Designer window?
Hi, I try to run my WinFX Windows application using VS 2005, the xaml always run inside the Microsoft Expression Interactive Designer runtime window after I install the Microsoft Expression Interactive Designer (Window that has forward and backward arrows on the top left hand side). Is there any method to get rid of that window (I am using Grid as document root) You need to contain ...Show All
Windows Forms Multithread output display
Hi all, how do you display the output of the multithreads on window form. All the example listed are using console.write. I tried using label and textbox, but keep getting exception error as the threads are accesing the same label/textbox at the same time. Thanks thanks for the reply. I met another big problem. I understand while using a single thread, we can determine if the thread has ended with thread.IsAlive. However what happe ...Show All
Visual Studio 2008 (Pre-release) Feature req. on triggers (?)
There is a possibility to have multiple triggers that implement the AND-operator: <Style.Triggers> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True" /> <Condition Property="Content" Value="{x:Null}" /> </Mu ...Show All
Software Development for Windows Vista Compiling Rule file using WorkflowCompiler
I m trying to compile a XOML (Beta 2.2) file along with the rule file using WorkflowCompiler but failed to find the best way. Do anyone has a conde snippet of how to accomplish this. Thanx in advance WorkflowCompiler compiler = new WorkflowCompiler (); WorkflowCompilerParameters parameters = new WorkflowCompilerParameters (); string rulesFile = Path .Combine( Path .GetDirectoryName( this .loader.Xoml), Path .GetFileN ...Show All
Visual C# IntelliSense features : C++ vs C#
There is a lot of features available in C# text editor that C++ editor doesn't provide. Just have a look in the menu Tools/Options/Text editor for C# and C++ ... Many features are not language dependant : all advanced formatting option, generate XML documentation comment for /// There's also syntax coloration for braces under cursor and maybe others. I just can't understand where is the technical reason for that. Auto implementati ...Show All
Visual Studio 2008 (Pre-release) Explicit vs. Implicit Behaviour
Prefacing some words about the focus of this post: I am looking at the features described below having only the maintainability of the resulting code in mind. The assumed situation is having an enterprise project with > 20 developers, internal and external, who built the application, and a completely different team of developers maintaining the system later on. Also, the assumption is that none of the developers who originally created the sys ...Show All
.NET Development Problems with WebClient.UploadFileAsync
Hi, Consider the following code: //-------------------------------------------------------------------------- public Form1 { WebClient client = new WebClient(); client.UploadProgressChanged += new UploadProgressChangedEventHandler (client_UploadProgressChanged); client.UploadFileCompleted += new UploadFileCompletedEventHandler (client_UploadFileCompleted); Uri uri ...Show All
.NET Development Detecting .NET Framworks installed in System using Reflection
Hello, Would please some one tell me how may i detect .NET Frameworks installed in my System using Reflection in C# Regards, You can detect version of .NET Framework which is used while running your application, use System.Environment.Version property ...Show All
.NET Development Errors related to edkutils.lib
Hi, I am facing follwoing errors while porting from 32 to 64 bit. fatal error LNK1104: cannot open file 'edkutils.lib' Actually I am using "HrIdentifyRegistryRootKey" method from edkutils. We can resolve it in two way, either provide the library for 64 or rewrite the function, which can replace the functionality of " HrIdentifyRegistryRootKey ". Please suggest best possible solution. Thanks, Kishore wani Sorry th ...Show All
.NET Development The enterprise library (Jan 2006) assemblies are not signed
I have downloaded the Jan 2006 version of Enterprise Library. The enterprise library assemblies are not signed and hence not added to GAC. I believe that the earlier version of Ent Lib for .NET 1.1 had the assemblies added to the GAC. I went through following the sections in the Ent Lib 2.0 documentation, (1) Building the Enterprise Library (2) Strong Naming Enterprise Library Assemblies Here the steps mention that we need to create the ...Show All
Visual Studio Some details
I tried to export my one page report ( 8.5” X 11” ) to PDF file, and I got two pages. Some of the columns of my report go to another page. How can I export my one page to one page PDF file correctly Thanks in advance. Long Actually the PDF file has its own margins on both sides, and that makes my report ugly :).My report needs a farely wide width. Is there anywa ...Show All
