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

Search:

Type: Posts; User: user612345

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    10,865

    ISO Standards Implementations

    What is the legality of developing and releasing an open-source ISO Standard implementation?

    For example if I wanted to develop an open-source library for ISO 8601 or any other ISO standard?
  2. Replies
    3
    Views
    808

    Re: Lists to DataGridViews

    PropertyDescriptorCollection properties =
    TypeDescriptor.GetProperties(typeof(T));
    DataTable table = new DataTable();
    foreach (PropertyDescriptor prop in...
  3. Replies
    3
    Views
    808

    Lists to DataGridViews

    I am working on a datagridview that will update with object information.

    What I noticed is that you can use a List as a datasource. I basically have a list of objects that periodically check...
  4. Replies
    0
    Views
    632

    Typed Data Sets

    I am trying to use a typed data set so I can refer to the column names with out referring to the index value or a string match of the column name.

    Here is how I have my test code setup. I create...
  5. Replies
    1
    Views
    502

    Re: Duplicate Columns

    The second I posted it I thought of a solution. I don't need to worry about creating a data table, I can go straight to the data grid for what I am doing which resolves my issue.
  6. Replies
    1
    Views
    502

    Duplicate Columns

    I am writing a portion of my program that reads in a CSV file, then a seperate of values occur, and this data is added to a row of a data table. The problem is when I assign my data table to a data...
  7. Replies
    1
    Views
    723

    Windows Service

    I am looking into writing a program as a service using C#. In the past I did some research and found there are some limitations to writing a windows service using the Express version of visual...
  8. Replies
    1
    Views
    1,259

    SQLAdapter / MySQLAdapter

    I am trying to figure out how the MySqlDataAdapter/ SqlDataAdapterwith a connection object. I switched over from Sql to MySQL but both objects behave the same.

    For example in the following code I...
  9. Replies
    4
    Views
    758

    Checking for empty strings or lists

    I am doing some validation on a form and I am checking for empty strings or empty lists.

    Is this a proper way to check for an empty string in a text box?



    if(Textbox.Text == String.Empty)
    ...
  10. Re: Is there any way to display '.log' file contents in a WebPage much quicker the be

    Where is the log file located?

    Are you loading the log into a local instance of IE, FF, Chrome?

    Is it possible the long processing time is the transfer of the file?

    Can you post the full...
  11. Replies
    7
    Views
    1,414

    Re: Open File without an associated filetype.

    Removed the file association on my system and it throws back an exception that my debugger caught.

    Now on the other system I don't have any form of debugger so it might have hit the exception and...
  12. Replies
    7
    Views
    1,414

    Re: Open File without an associated filetype.

    Running it by itself it would say the program has crashed and would request I send a report to Microsoft, it wasn't a thrown exception or a "this program has stopped responding". When I attached it...
  13. Replies
    7
    Views
    1,414

    Open File without an associated filetype.

    I have a particular file that I am trying to open from my .NET application. The file may or may not be associated with a program by default. For the most part users will open the file in notepad.
    ...
  14. Replies
    4
    Views
    1,015

    Re: Double Var keeps adding to increment

    this.timer1.Tick += new EventHandler(timer1_Tick);


    I would check this first. Either remove the event handler later in the code like so...



    this.timer1.Tick -= new EventHandler(timer1_Tick);
  15. Re: is there a way to "save" the state of the program if it's abruptly terminated?

    I have a monitoring program that does that. It uses a flat text file to save some temp data to. It will read this temp file before it starts processing again.

    The only problem is that if the...
  16. Replies
    8
    Views
    1,602

    Re: What's wrong with my code?

    For beginners Visual Studio Express is not bad. As you start to move further into the language and start developing more advanced programs it can be a pain.

    One example is multi-threaded programs....
  17. Replies
    7
    Views
    1,124

    Re: How to get value...

    Are you trying to send multiple items over to a string? Like if you select more then one item in the listbox because that can lead you to a null reference.

    I think you need to provide more...
  18. Replies
    7
    Views
    1,124

    Re: How to get value...

    I believe he/she wants the selected item from the list box.

    In that case you need to do the following...



    textBox1.Text = listBox1.SelectedItem.ToString();
    string s =...
  19. Replies
    8
    Views
    1,602

    Re: What's wrong with my code?

    I think you're missing the brackets {} for the method:



    private void mnuQuit_Click(object sender, EventArgs e)
    {
    if(MessageBox.Show("Really Quit?", "Exit",...
  20. Replies
    8
    Views
    1,602

    Re: What's wrong with my code?

    What is the exact error you are receiving? I just pasted the body code into a button and it seemed to work just fine.
  21. Replies
    8
    Views
    10,121

    Re: Process Exit Event Handler

    Well I feel silly. I see whats happening now. First time I am really working with events.
  22. Replies
    8
    Views
    10,121

    Re: Process Exit Event Handler

    Cool yes. Still odd why it would perform the behavior in the first place.

    I even created a simple form project and added the following code for a button and same results.



    private...
  23. Replies
    8
    Views
    10,121

    Re: Process Exit Event Handler

    Unhooking the handler fixed the issue.

    Now when I did a break on the method to see what the sender object contained each call is exactly identical except the only change is:
    ...
  24. Replies
    8
    Views
    10,121

    Re: Process Exit Event Handler

    The jProcess is used specifically to start the java program. The static "Process.Start" is used to load the text file, I figured they would run independently.

    Are you talking about having for...
  25. Replies
    8
    Views
    10,121

    Process Exit Event Handler

    I am currently working with the .NET Process Class and there is an event handler for when a process you execute from C# closes will fire off of an event.

    Now my process is that my program will...
Results 1 to 25 of 56
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured