CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: JoeBuntu

Search: Search took 0.14 seconds.

  1. Replies
    5
    Views
    2,028

    Re: Hotkey(s) with DataGridView class

    when you edit a cell you are actually working with an editing control that is painted on top of the cell. Here this will get you started hopefully:



    private const int...
  2. Replies
    5
    Views
    2,028

    Re: Hotkey(s) with DataGridView class

    If you're trying to load a custom datasource into each row then here is what I have done:

    Respond to the EditingControlShowing event of the dgView and pull the combobox editing control from the...
  3. Re: xmlReader validation using schemas with imports

    I found this link that shows how to accomplish what I would like to do by setting the current directory. [url]http://geekswithblogs.net/willemf/archive/2006/09/14/91135.aspx[\url]

    Is there a more...
  4. xmlReader validation using schemas with imports

    In a windows forms application:

    I am storing a bunch of xsd schemas in a subdirectory of the application. I'd like to use these to validate some xml using a reader. As you see in my code below I...
  5. Replies
    6
    Views
    14,238

    Re: Serialization from Xml into Object

    try changing your DataContractSerializer to this:



    DataContractSerializer serializer = new DataContractSerializer(typeof(TeamRow), "TeamRow", "");
  6. Why would you ever override System.Configuration.ConfigurationSection??

    As part of studying for the 70-536 exam I am forced to learn how to override the ConfigurationSection to create a custom configuration section.

    Maybe it's just me but using the...
  7. Best way to talk to .NET service application with .NET

    Using .NET 3.5:
    I plan to build a .NET windows service application that will serve as a task scheduler that launches .NET assemblies. (yes there is a reason I am not using windows task scheduler for...
  8. Thread: File Path

    by JoeBuntu
    Replies
    10
    Views
    1,700

    Re: File Path

    you could drop the .Close() method on the StreamWriter since you are already using a "Using" block.
    See this link:...
  9. Replies
    2
    Views
    6,340

    Re: C# MySql Server 5.1 help

    this worked for me:



    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    using System.IO;
  10. Replies
    8
    Views
    1,131

    Re: Help with form

    What you have will work.
    If you are not doing anything inside the constructor you don't need a constructor.

    Now as far as formatting the text it sounds like you want to display the address into...
  11. Thread: File Path

    by JoeBuntu
    Replies
    10
    Views
    1,700

    Re: File Path

    void run()
    {
    Guid guid = Guid.NewGuid();
    string filename = Path.Combine(someDirectory, guid + extension);
    using (StreamWriter writer = new...
  12. How to retreive PermissionSet of an AppDomain

    I'm playing around with trying to learn CAS for my 70-536 exam.

    My question - Is there a way to retrieve the permission set that an AppDomain is using?

    I have created one assembly which creates...
  13. [RESOLVED] Program that executes at scheduled times

    I have been tasked with creating a program that will run on our ftp server (Windows Server 03) and create files at configured times for our clients to pick up. It would need to be able to be...
  14. Replies
    3
    Views
    1,645

    Re: Datagridview - customizing combobox

    I guess I'll point out that in my example the custom list of items I am using is simply a subset of the datasource of the combobox column. If you add items to the combobox that are not part of the...
  15. Replies
    3
    Views
    1,645

    Re: Datagridview - customizing combobox

    I never ended up creating my own combobox - for time constraint reasons.

    However
    I did come up with a solution for giving each row's combobox a custom "datasource"

    Pretty simple just do...
  16. Replies
    3
    Views
    1,645

    Datagridview - customizing combobox

    I need a combobox in my datagridview which will meet the these two requirements:

    1) The data source of the combobox will depend on the underlying business object that is bound to the row of...
  17. Replies
    4
    Views
    775

    Re: why is my form multi-threading

    I hear what your saying but if my form is only executing on one thread then how could it possibly be doing two things, in this case the same block of code, at the same time?
  18. Replies
    4
    Views
    775

    Re: why is my form multi-threading

    Using 3.5 framework
  19. Replies
    4
    Views
    775

    why is my form multi-threading

    I have a button on a form that runs the snippet below.
    If you press the button rapidly it appears as though the code is running on a separate thread from the form shown by the debug output:
    Start:...
  20. Re: Allowing Key Changes To DB without duplicates

    I would plan to use this concept on multiple facets of my application but for the example I am referring to:

    The parts list I speak of is the list of components that go into a Finished Product -...
  21. Re: Allowing Key Changes To DB without duplicates

    what you just said is what my procedure does. No matter what you do it never updates the actual part number, but does inserts and deletes even though the user might see it as simply changing the part...
  22. Re: Allowing Key Changes To DB without duplicates

    deleting and then inserting would certainly work - and so much easier for me to deal with concurrency issues - BUTTTTTT
    I am going for maximum ease of use for the user. I want the user to be able to...
  23. Allowing Key Changes To DB without duplicates

    In an app I am working on, on some of the forms I would like to allow the user to be able to change the values of fields that are part of a unique constraint in the database.

    for example one of my...
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured