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

Search:

Type: Posts; User: A.Russell

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    442

    Re: Adding string to a instace

    If not every student has a location, why don't you just allow that property to be nullable, or have a default value?
  2. Replies
    1
    Views
    358

    Parsing Text Files Asyncronously

    Have an application that needs to read and analyse numerous text files. Each file will only be about the length of a chapter in a book. I am using StreamReader to load the text. Each text will be...
  3. Replies
    4
    Views
    703

    Re: How Big of a File Can I Process?

    If you read a file as a stream, it can be as large as you like. I searched for a size limit to MS SQL's nvarchar, and couldn't find one.

    When it comes to displaying your text, you will be...
  4. Re: Fastest way to Update Dataset to Remote Server

    I switched to using TableAdapterManager.UpdateAll(), which wraps the changes in a transaction. However it is still very slow.

    490 rows took 3 minutes, 4 seconds to update.

    Is there anything...
  5. Re: Fastest way to Update Dataset to Remote Server

    Thanks for the reply, TechGnome. I will try your suggestion and post back.

    I was opening and closing it like that to try to prevent the transaction from being promoted to DTC, though as you can...
  6. Fastest way to Update Dataset to Remote Server

    I am developing a .NET 4.0 application that connects to a remote MS SQL database.

    Calling tableAdapter.Update() on each table is very slow. From what I have read on the Internet, updating the...
  7. How to Update After Adding Multiple Rows to Dataset (Only one is inserted!)

    After adding multiple rows to a DataGridView, how do you update the database with ALL of the new rows?

    I am using the data componenents from VS2008. I have a DataGridView, BindingSource and...
  8. Replies
    8
    Views
    1,054

    Re: Singleton Correct Usage

    Thank you Philip and Wizard, that really clarified the correct implementation of static member variables for me.
  9. Replies
    8
    Views
    1,054

    Re: Singleton Correct Usage

    Thank you, that nailed it.

    Just wondering, is there no way to set a static variable within the class itself?
  10. Replies
    8
    Views
    1,054

    Re: Singleton Correct Usage

    I don't understand. The pointer is set in the GetInstance() method (if it hasn't been already). Why do you set it to zero, and where?

    Here is my singleton:



    // ***** Gravity.h *****
    class...
  11. Replies
    2
    Views
    693

    Re: How to Link a Library?

    By code:

    #pragma comment( lib, "libname" )

    (include the relative path if it is not in the main application folder -or set Additional Library Directories in the properties dialogue)

    In...
  12. Replies
    8
    Views
    1,054

    Singleton Correct Usage

    Finding clear examples of singleton patterns isn't hard, but I am having trouble implementing them. Mainly, is there a way to set one at class level or am I completely off track?:

    class...
Results 1 to 12 of 12


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center