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

Search:

Type: Posts; User: armen_shlang

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. EF 4.0 is loading all child collection.

    I dont know why, when I query for items using EF 4.0 all the children are loading by default. I never specified this why is this happening?
  2. WCF weird behavior. (An error occurred while receiving the HTTP response)

    I'm receiving this weird exception when calling a WCF function that returns a list of items. apparently when the size of list gets bigger this exception is thrown.

    "An error occurred while...
  3. Replies
    3
    Views
    807

    Re: CHANGE WCF client IP

    No I'm not trying to write to it, only change the value before it's used by the WCF client call.
    thanks for the reply
  4. Replies
    3
    Views
    807

    CHANGE WCF client IP

    I used Service Reference to create a WCF client class (much like the svcutil.exe tool). It generated this section in the app.config automatically:

    <system.serviceModel>
    <bindings>
    ...
  5. Replies
    9
    Views
    854

    Re: Software architecture dilemma

    I figured it out.
    I have to call refresh.(refreshmode.ClientWin, objects). and that works!

    EF 3.5 and SSCE 3.5 suck bad.
    I wish Microsoft sticks with ONE version of a framework, and fixes it's...
  6. Replies
    9
    Views
    854

    Re: Software architecture dilemma

    hey Arjay,
    I created by project and you were right, using WCF requires a bit more work, but easier to maintain and adds the advantage for my GUI to work from a remote location.

    HOWEVER, I'm...
  7. Replies
    0
    Views
    238

    Linq question

    Hello,
    I have an EF model which includes a list of planes, and each plane has a list of passengers. I would like to write a linq query that from the resulting list of planes, I can do this:
    ...
  8. Replies
    9
    Views
    854

    Re: Software architecture dilemma

    I'm sold, thank you very much for sharing your experience that was very helpful. btw, How long did it take you to finish that project? And if you don't mind me asking, how much would a project like...
  9. Replies
    9
    Views
    854

    Re: Software architecture dilemma

    Thx for the reply.
    Good points. I'm not too familiar with security concepts, but I understand the abstraction idea.
    The only reason why I'm hesitant to do so are two reason:
    - introduction to...
  10. Replies
    9
    Views
    854

    Re: Software architecture dilemma

    Thanks for the reply,
    What's the benefit of choosing opt 2? It would slow down transactions, and introduce complexity (if all ports are closed on the client machine WCF wouldn't work).
  11. Replies
    9
    Views
    854

    Software architecture dilemma

    Hello,
    I have a software and I cannot decide which approach would be the proper method. I blame on lack of experience!

    So I have a Windows Service running in the background, and it's populating a...
  12. Replies
    0
    Views
    2,110

    creating custom tabs in blend

    I cant find a good tutorial or a resource on how to create a custom tab controller in blend.
    I messed around with the controller feature but since there are no good guide or a help file I'm stuck....
  13. Dynamic Allocation problem with lists

    I have something like this:



    #include <iostream>
    #include <cstdlib>
    #include <ctime>
    using namespace std;

    struct boy
  14. Replies
    12
    Views
    8,295

    Re: battleship in c++

    I had to check since we are doing the same project at ucla and it's due tommorow. I have a battleship program fresh from the oven. and it's in english. but I didn;t look at your requirements.
  15. Replies
    12
    Views
    8,295

    Re: battleship in c++

    I'm guessing your NOT going to UCLA. and NOT taking the cs32 class who the professor is NOT SmallBerg.
    Lol, a bet with a friend!
  16. Replies
    3
    Views
    643

    Random Number function problem

    I have a function like such



    #include <cstdlib>

    inline int randInt(int limit)
    {
    return limit <= 1 ? 0 : (rand() % limit);
    }
  17. Re: problem with constructors and classes

    That was my mistake wen i posted it. The problem like i said is that in the arena constructor, m_block() can't take more than one argument.
    However, m_block's constructor does take 2 argumets....
  18. Re: problem with constructors and classes

    I will
    sorry for the trouble you went through
  19. problem with constructors and classes

    I have a class like this:


    #include "History.h"
    class arena
    {
    public:
    arena(some arguments)
    : m_history(int num1, int num2) {};
  20. Replies
    2
    Views
    635

    typedef usage

    typedef hash_map<int, list<string> > EXCEL_ROW;
    EXCEL_ROW row;
    why is typedef used here?

    couldn't i just say...
    hash_map<int, list<string> > row;

    Does it have any additional...
  21. Thread: Lists STL

    by armen_shlang
    Replies
    9
    Views
    940

    Re: Lists STL

    Well if your specifically want to delete the last element yes, but if it's a general loop that deletes lets say blocks every time a ball hits them, then u need to use erase.
    Thx all.
  22. Thread: Lists STL

    by armen_shlang
    Replies
    9
    Views
    940

    Re: Lists STL

    I see --- so "--iter" would fix the problem!!!
    also I was reading this book and I noticed this example which I've never seen it before... what does it signify?


    list<char> list1 = make<...
  23. Thread: Lists STL

    by armen_shlang
    Replies
    9
    Views
    940

    Lists STL

    small question about LIST stl...
    My code looks something like this...



    #include <list>
    #include <iostream>
    using namespace std;
  24. Thread: Maps

    by armen_shlang
    Replies
    2
    Views
    491

    Maps

    Here is an example by author:
    ---------------------------------------------
    /* Filename: diction.cpp
    Author: Br. David Carlson
    Date: July 14, 1999
    Last Revised: December 23, 2001
    ...
  25. Replies
    19
    Views
    1,604

    Re: pointers....

    Thank you,
    I didn't know How to have the m_firstJob() to take only one argument also I didn't know about the constructor and how to write the member initialization list.

    One last thing...
    How...
Results 1 to 25 of 61
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center