Search Results - CodeGuru Forums
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
    700

    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
    388

    Re: Lists to DataGridViews

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

    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
    267

    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
    253

    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
    253

    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
    417

    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
    824

    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
    369

    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. 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. 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. 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
    531

    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
    809

    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
    572

    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
    572

    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
    809

    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
    809

    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
    3,247

    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
    3,247

    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
    3,247

    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
    3,247

    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
    3,247

    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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center