Software Development Network Logo
  • Visual C++
  • SQL Server
  • Visual C#
  • Windows Vista
  • Visual Basic
  • VS Express Editions
  • Visual J#
  • Visual Studio
  • VS Team System
  • .NET Development
  • Visual FoxPro
  • Windows Live
  • Game Technologies
  • Microsoft ISV
  • Windows Forms

Software Development Network >> David Hernandez Diez's Q&A profile

David Hernandez Diez

Member List

Dustin Walker
Thomas GG
shaper
Rob Caldecott
?? Xuan Hung
PrabhatNigam
AGoodman
fuehrer
sirgrog
Simon Jones - MSDL
HongZ
Rainne
shaggy073077
Leksey
Blair Allen Stark
mgjohnston
Twigg
23
Brian94
Tamer229
Only Title

David Hernandez Diez's Q&A profile

  • Windows Forms BindingSource.EndEdit() does not throw exception

    I've a business object, and it validate value when new value is assigned to its properties, exception will be thrown if value violate validation rules. Business object is bind to UI controls by a BindingSource object, when I input a invalud value in TextBox and call BindingSource.EndEdit() programmically on FormClosing, exception is eaten by somewhere, I do not allow user to close the form if error is detected, Thank you very much! publ ...Show All

  • Visual Studio How to update PropertyGrid after changing type

    Hi all, Our model allows to change the type of an element using the property grid. The element type changes succesfully, but the propertgrid is not updated accordingly. When another element is selected and then the changed element, then the propertygrid displays the correct properties. How can I dynamically update the property grid after changed the element's type Kind regards, Ronald I know t ...Show All

  • Visual C# How to make a method in a windows service.

    I made one windows service and i can control the OnStart, OnStop. example protected overwrite void OnStop() { //DO something } my real question is, how to make an own method in windows service and how do i send a string to it.. i would like it like this public string getPass(string tempUser) { string tempPass = ""; //do something do something, return tempPass; } anyone who knows where ...Show All

  • Windows Forms Interform Communication

    I was wondering what is the most elegant way to communicate between 2 or more forms. I can only see 2 options: 1. Create a common ancestor to all the forms and use procedures from that common ancestor. 2. Use delegates. Is there anything else You could create a separate component and then have all your forms have a reference to that shared component. Then the component could expose events using the pub ...Show All

  • Visual C++ setting up VC++ 2005 express beta 2 to compile win32 gui apps.

    Hi donjonson! How do I go about doing this 1. Create a Win32-Console-Application 2. Go to the Linker-Settings and change the "SubSystem" to "Windows" (Project|Properties|Linker|System) -- Greetings Jochen Kalmbach Microsoft MVP VC++ My blog about Win32 and .NET http://blog.kalmbachnet.de/ PS: Please mark an answer as "answered" if it helped!!! Read this art ...Show All

  • SQL Server Can we change table structure in Mirroring

    Can we change table structure in Mirroring. Like adding or deleting columns and tables and how can we do it. Thank you very much. Yes, you can change table structure in Database Mirroring. Changing the structure in the primary database is reflected over the mirror database. Think of database mirroring as "first class" log shipping with automatic failover. Initially, I thought only the data is mirrored ...Show All

  • Visual Basic Handle error

    Webform I have an ObjectDataSource and Gridview (Webservices) . If webservices is down I got an error: System.Web.Services.Protocols.SoapException: Server was unable to process request........ Can I "disable" ObjectDataSource1 and Gridview1 On Error (All other controls on page must load if webservices is down) Regards Clas Have you tried Try ' Your code Catch e as except ...Show All

  • Windows Forms TaskVision: Danger of BadPractices

    Hi! Since TaskVision doesn't follow any of the Microsoft Patterns (as a matter of fact it doesn't follow any pattern at all, it doesn't even follow the  ADO.NET  API or WindowsForms.NET API) and so many people is downloading it, using it, and&n ...Show All

  • .NET Development Memory usage of application increasing automatically !

    I have made a simple windows GUI application in VB.NET. There are combobox, buttons,menu and text box on my application form. The strange thing is as I move my mouse on my application form or move the focus from one control to another using Tab, then the memory usage seen in task manager for my application goes on increasing. There is no mousemove or tab focus change handler in my code. The memory usage continuosuly keeps on incre ...Show All

  • Visual Studio Extending Project Property Pages

    Hi,   Is it possible to extend the project property pages For instance, adding a MyBuild under the "Configuration Poperties" in the property pages of a project. Thanks, Bart Hi Bart, If you created the project system and your project system is based on MPF, then you can follow the instructions at http://blogs.msdn.com/jim_glass/archive/2005/03/23/401010.aspx . Notre ...Show All

  • .NET Development How to use the SerialPort Class for simple serial communications

    The SerialPort class documentation on-line and in Visual C++ Express Edition refers to a non-existing code example of two computers communicating over a serial port. Does anyone have example code of how to use the SerialPort class My app is a .NET app. on the PC communicating to a custom microcontroller based sound effects unit. The serial port is used to download/upload the sound sample data to the external FLASH memory on the sound card. Th ...Show All

  • SQL Server installation issue

    I am having with installation of Work Station Components. I am getting this error; Microsoft.SqlServer.MonitorFramework.dll. Verify that you have access to that directory. -------------------------------------------------------------------------------- Machine : SERVER173 Product : Workstation Components, Books Online and Development Tools Error : Error writing to file: Microsoft.SqlServer.MonitorFramework.dll. Verify tha ...Show All

  • Windows Forms DataGridViewComboBoxColumn Selection is not retained

    Hi, I created a DatagridView and added two columns to it. One of them being a ComboBox Column. After running the form, I click on combobox, select some different value and leave the cell. At this point, the value I selected is getting lost and it reverts back to its original state. If someone has made samples on how to use the different column types, can you please put them on the net or mail it to me Thanks, Kunal ...Show All

  • Visual Studio 2008 (Pre-release) foreach or yield on a 'stream' instead of an IList?

    I'm a recent exile from Java land and would like to know the following for C# (2.0 ... can't use LINQ in production yet :( ): What is the best way to not just iterate through a list, but keep track of new entries to it and 'process' those as wel.  In other words, I would like to do something like this: foreach(Data d in myList) Console.WriteLine(d.somevalue); The above line will just go through the list and display the 'somevalue' attribu ...Show All

  • Visual C# What's the difference between += and =+?

    Is there a difference between the valid += and the mysterious =+ They both compile, is this correct As mentioned, the unary plus operator is the complement of the unary minus operator. For unary minus: n = 42; n = -n; // n is now -42 For unary plus: n = 42; n = +n; // n is still 42 The unary plus operator is a NOP, but included for mathematical completeness, as far as I understand. ...Show All

©2008 Software Development Network

powered by phorum