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

Search:

Type: Posts; User: gecka

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Win32Exception (0x80004005): Access is denied Error.

    Can it be that you are running on a limited windows account?

    Oh, and use CODE tag for you code.
  2. Replies
    12
    Views
    9,875

    Re: Socket Blocking Read TimeOut!

    Why don't you just set the timeout to 0 or -1 to wait infinitely?
  3. Replies
    2
    Views
    673

    Re: Unknown data size - Socket proggramming

    You can send the data in chunks and on the client use ArrayList or some other collection to build the complete buffer. I was also using StringBuilder in a couple of situations.
  4. Replies
    2
    Views
    5,574

    Re: C sharp LISTVIEW - help please?

    I believe this should fix the problem:


    while (dr.Read())
    {
    a = new ListViewItem();
    a.Text = Convert.ToString(dr.GetValue(0));

    for (int i=1; i < dr.FieldCount; i++)
    {
  5. Thread: Stop a thread

    by gecka
    Replies
    1
    Views
    422

    Re: Stop a thread

    Did you actually stop your thread?..

    CalcelAsync() just sets the CancellationPending of BackgroundWorker to true. You must end the thread by yourself. In DoWork event handler, where your...
  6. Re: Updating the TreeView when business object changes

    I'm sorry if didn't describe it clearly. All the objects implement an interface IContentListItem and have a collection of IContentListItems too. The ContentList class is basically the root element of...
  7. Updating the TreeView when business object changes

    Hello!

    Once again, I have a question regarding design of the code. Let me explain the situation:

    I have a hierarchical list of business objects, that I want to show in a TreeView. The number of...
  8. Replies
    3
    Views
    712

    Re: Protocol implementation advice

    Thank you for your responses :)
  9. Replies
    1
    Views
    601

    Re: Store rich text in a DataTable?

    If I'm not wrong, rich text is piece of text with additional symbols for formatting. So it's basically the same text, it's the control that parses it that makes it look "rich".
  10. Replies
    3
    Views
    712

    Protocol implementation advice

    Hello,

    I am currently writing an application that is using an already existing protocol to send/receive data. The protocol is text based, there are like 20 different commands that can have...
  11. Replies
    1
    Views
    776

    Multithreading and DAL

    Hello,

    it's been a while since I last posted here. :) I started database programming quite recently and am now in process of writing a Database Access Layer (DAL) to support various databases,...
  12. Replies
    8
    Views
    819

    Re: Responsive GUI: design question

    Hmm, I'll probably go with delegates in this program then, like JonnyPoet said.
    But the link Arjay gave is very useful too, thanks for it.

    As the program is getting bigger and bigger, I'm...
  13. Replies
    8
    Views
    819

    Re: Responsive GUI: design question

    Thanks, JonnyPoet, for input, but this doesn't solve my problem... :(

    My problem is how to have the lengthy methods report their progress without using any calls to GUI from the code. The biggest...
  14. Replies
    8
    Views
    819

    [RESOLVED] Responsive GUI: design question

    Hello all! :wave:

    I'm trying to make my program more user friendly and the first thing that came into my mind was making the GUI fully responsive. I have a lot of methods that involve looping...
  15. Re: How to identify a single click with a double click in C#

    Hi, I hope it's ok bumping the thread, since I have the same problem.

    I have a treeview and don't want the Click event to be fired when treeview is doubleclicked. Unfortunately, neither MouseUp,...
  16. Replies
    1
    Views
    1,299

    Embedded resource path

    Hi! :)

    I have an application with localization support. When building the application, language resource files are placed in their own directories, like "de/program.resources.dll". I was wondering...
  17. Replies
    1
    Views
    525

    Authenticating on a server

    Hi all! :)

    I want users of my app (written in C#) to create accounts and use them to authenticate on a server. The connection should be secure. When authenticated, user is able to request...
  18. Replies
    5
    Views
    860

    Re: How to find the path of external process?

    Thank you for your help! ;)

    About process identifying, I think there's no other way to do this, but use process' name. And that's why I needed path to the exe, to check if the program was launched...
  19. Replies
    5
    Views
    860

    How to find the path of external process?

    Hi to all! ;)

    I want to get the directory a program was launched from. These processes aren't started in my code, they are started using the usual windows explorer.
    I checked...
  20. Replies
    3
    Views
    1,154

    Re: Asynchronous socket receive

    Ok, I implemented data buffering, like You said, thanks for the tip. ;)

    Now, what about BeginSend()? Does it require this special way of sending data (checking if all is sent), or does it call the...
  21. Replies
    3
    Views
    1,154

    Asynchronous socket receive

    Hi all!
    I'm doing a server app in C# and have a little problem/question:

    I call BeginReceive() method specifying the callback method. In the callback method, I call EndReceive() like this:

    ...
  22. Replies
    3
    Views
    1,144

    Re: FileStream + LargeFiles

    Hi!
    Sorry, but I cannot help you with the first problem.

    As for the second, it doesn't mean that you can't write more than 2gigs into the file, it only means that you can't write arrays bigger...
  23. Replies
    0
    Views
    1,697

    [C#] Phoenix - freeware delivery system

    What is Phoenix Client?

    Phoenix Client is a content delivery system, for freeware content, including games, programs, videos and many more.


    We have a nice team, a website, forum. This project...
  24. Replies
    2
    Views
    544

    Re: Seeking specified character within a file

    Hi!
    Well, IMO it's the only way, to read the whole file until you encounter the delimiter. Unless .NET already has some feature like this.
    Another way is, if you are using your own file format,...
  25. Replies
    0
    Views
    419

    byte[] to Icon...

    Hi!
    I don't know how to convert byte[] to Icon :blush:
    I read all the data from the icon file into byte[] and now need to convert this into Icon object.
    Can someone help me?
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center