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

Search:

Type: Posts; User: Arjay

Page 1 of 80 1 2 3 4

Search: Search took 0.23 seconds.

  1. Re: Generic Dictionary consisting of string & linkedlist

    // access the linked list for a single dictionary key and enumerate the list items
    foreach(var stringEntry in myDictionary["keyValue"])
    {

    }

    // access the linked list for all the keys...
  2. Replies
    11
    Views
    194

    Re: MFC Application UI develop idea

    Sure, you can do it this way, but it's the hard way to get it done unless you really need something custom.
  3. Replies
    3
    Views
    113

    Re: Function of the same name as the class

    A constructor isn't really a function or class method, but if you want to call it one, it would be a method without a return type. Same for destructors too.
  4. Replies
    5
    Views
    134

    Re: code stuck at getline...

    Rather than reading the file one question at a time, read the whole file and store each line in a collection.
  5. Replies
    5
    Views
    134

    Re: code stuck at getline...

    Point some breakpoints in your code and step through the code in a debugger. If you do this, the errors will become obvious.
  6. Re: Brand new CodeGuru member, and brand new C# coder!

    Welcome to the forum.
  7. Re: What book is well-suited for windows 7 shell programming?

    What language do you plan to code in?
  8. Re: Attempting to convert a C program into C# - is it possible?

    Yes
    Yes.
    The hardest part is getting the PInvoke dll signatures correct. Refer to PInvoke in msdn and the PInvoke.Net site.
  9. Replies
    2
    Views
    98

    Re: Multiplayer game development question

    If you plan to do this yourself, you should start small by doing some simple game tutorials and learning C#.

    After you get some basic programming skills, then move onto user authentication,...
  10. Re: Attempting to convert a C program into C# - is it possible?

    There are several approaches:
    1) PInvoke to your C dlls
    2) Use the C source code and write managed C++ wrapper assemblies around the code.

    PInvoke to the existing dlls is by far the simplest...
  11. Replies
    5
    Views
    110

    Re: Changing Lists in WPF problem

    Search bing for "Update the UI in WPF from another thread". Look at the articles that mention the dispatcher. As for determining if you are running in a different thread, Use...
  12. Replies
    5
    Views
    110

    Re: Changing Lists in WPF problem

    As I mentioned, make sure that the hardware handler is getting called in the UI thread.
  13. Replies
    5
    Views
    110

    Re: Changing Lists in WPF problem

    You are creating a new observablecollection when you change the data. Instead, update the existing ObservableCollection instance. That should cause its change event to fire.

    Also, make sure the...
  14. Re: Leaving a dropped down ComboBox swallows focus in WPF

    Are you sure that this isn't the standard behavior? In that, the first click (over the button) is going to move the focus to the button and it will take another click to actually click the button.
    ...
  15. Re: One Question Poll 001 Results: What version of Visual Studio are you using?

    What a surprise.
  16. Replies
    5
    Views
    104

    Re: hello new to this forum

    Okay. Just make a class that wraps the StringBuilder and expose the methods you need.
  17. Replies
    5
    Views
    104

    Re: hello new to this forum

    It's not clear to me why you want to split each string builder line into an array of StringBuilder objects. Based on your original description it would make sense to split each line and add it to a...
  18. Replies
    5
    Views
    104

    Re: hello new to this forum

    Welcome to the forum.

    I don't know of any helper class that allows you to remove appended lines. If you need this sort of functionality, you'll need to write your own class. Be forewarned that...
  19. Replies
    3
    Views
    121

    Re: New to C#! Arguments to Private Variables

    That's good if the course ends you up in C++; otherwise, you kind of miss out on learning C#'s features.

    At any rate, glad I could help.
  20. Replies
    13
    Views
    342

    Re: About Setting Print Options ..

    pl post code using code tags.
  21. Replies
    3
    Views
    121

    Re: New to C#! Arguments to Private Variables

    You are suppose to pass in a method argument to the setName() method.



    public void SetName(string name)
    {
    Name = name;
    }
  22. Replies
    1
    Views
    139

    Re: "no suitable method found for add()" error

    If you want to store a Customer object in the arraylist, you need to declare the array as such.

    Rather than


    ArrayList<String> customerList;

    try
  23. Re: Soap Envelope Receiver in WindowsFormApplication Using HTTP in C#

    Right click on the references folder in the project and choose add service reference. In the dialog, there is an option to add a reference to older web services if you need that.
  24. Replies
    4
    Views
    121

    Re: SOAP Messaging in WebSevice using HTTP

    In that case, I suggest using SignalR.
  25. Replies
    4
    Views
    121

    Re: SOAP Messaging in WebSevice using HTTP

    Can you clarify if you want to have two-way communication between a windows form app and an asp.net site?
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


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