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

Search:

Type: Posts; User: Albert Bertilsso

Page 1 of 2 1 2

Search: Search took 0.20 seconds.

  1. CListCtrl with ownerdata does not draw text...

    Hello!

    I'm working on a program that require a CListCtrl that uses ownerdata.

    When I set the item count the list adjusts the scroll list correct, and it is possible to select a row in the list...
  2. Replies
    4
    Views
    999

    Re: Return recordset from function

    I've got no direct error messages, just that the object returned from the functions was a string. But I've changed to using a couple of global functions to avoid passing recordsets around. Thanx...
  3. Replies
    4
    Views
    999

    Return recordset from function

    Hello!

    I've always wanted to do something like this:

    Function DoSQL( sql )
    set conn = server.createobject("adodb.connection")
    conn.open "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" &...
  4. Replies
    5
    Views
    728

    Advanced ListBox question...

    Hello!

    I've always liked the simplicity of the ListBox class, but it has a problem, I can't fill it with items before it's displayed. To solve this I have tried to create a template class with...
  5. Replies
    1
    Views
    587

    More cursor problems...

    Hello!

    Thanx to all of you for the tip on using BeginWaitCursor and EndWaitCursor for setting the dialog cursor to an hourglass.

    Now there is yet another problem... Is there an easy way to do...
  6. Replies
    3
    Views
    723

    How can I change the mouse icon?

    Maybe it's not advancedUI but rather basicUI, but I can't figure out how to do this. When my app does a slow operation, I simply want to block all user input to the dialog, and show the time glass...
  7. Re: A string that contains nothing but is not null?!

    It worked, thank you so very much, so simple, still I could not get it right. You have really saved my day.


    Regards Albert Bertilsson
    http://www.albert.nu
  8. Re: A string that contains nothing but is not null?!

    This field is defined as text. The problem only occurs for records where the field instead of containing text is empty.

    Regards Albert Bertilsson
    http://www.albert.nu
  9. A string that contains nothing but is not null?!

    I have this table;
    alldata = rstemp.getrows
    and when I start going through the data printing it everything is fine. But when I try to do something with it for example len(alldata(1,1)) the error...
  10. Re: Problems to connect streams to socket.

    Hello!

    Yes, the server looks like the same way as your sample.

    Regards Albert Bertilsson
    http://www.albert.nu
  11. Problems to connect streams to socket.

    Hello!

    I'm kind of new at this so it might be a problem with a very simple solution.
    I've tried to do the follwing, I use ObjectInput/Output streams because I want to transfer a message object...
  12. Want to be notified...

    Hello!

    Is there any way to be notified when it happens. I've added notification to PreTranslateMessage and test if the window is visible, but is there no better solution, so that I can be notified...
  13. Re: How can I tell when the window has opened, WM_SHOWWINDOW is not working.

    Hello!

    The problem is that during Initdialog the listbox is not ready to accept items, so I need to be notified later, when the window is created and displayed. Just like WM_SHOWWINDOW but ain a...
  14. How can I tell when the window has opened, WM_SHOWWINDOW is not working.

    Hello!

    I'm working on an application that needs to know when the window is opened. I've checked the WM_SHOWWINDOW, but it does not work when the dialog is started as maximized. The reason is that...
  15. CListCtrl problem, notification when current selection is changed.

    Hello!

    I'm using a CListCtrl (single selection), and I need to know when the user changes the current selection with the arrow keys. When the user clicks the mouse I get a message, but when he...
  16. Re: Is jumping from Java to C++ as easy as C++ to Java?

    Hello!

    Generally C++ is considered to be a little harder to learn than Java because of features like pointers. C++ also separates the class declaration from the implementation with is considered...
  17. Getting and Setting register variables problem

    Hello!

    I have a problem Getting and Setting variables in the regestry.
    I use the RegSetValueEx() and RegQueryValueEx().

    When I look at the registry using it looks like a tree structure,
    if I...
  18. Replies
    1
    Views
    495

    How can I edit the register?

    How do I edit variables in the register from my C++ program in a nice way?

    How do I create a *.reg file that edit a variable in the register when doubleclicked?


    Regards Albert Bertilsson...
  19. Replies
    11
    Views
    2,014

    Re: how to break out infinite loop?

    Well you have written it already...


    for(;;){
    if( need to break )
    break;
    }
  20. Replies
    4
    Views
    752

    Re: Java vs. C++

    Recently I wrote a simple mandelbrot fractal renderer, wich performs a lot of floating point calculations in small loops. This should be the perfect program for a JIT-compiler to optimize and would...
  21. Re: How to make my program as demo. Keyfile

    It's not the best solution perhaps, create a program that takes a message and creates a key file. Distribute your program with a demo licence key file and if a user want to register you generate a...
  22. Coauthor for new type of file transfer program wanted.

    Hello!

    I'm writing on a new type of client-server program, that will really will be a revolution for all who want trade files and have a high capacity connection.

    The part that I need help with...
  23. Replies
    7
    Views
    903

    Re: MP3 tags ID3 Genre definition.

    The tags are as follows, this is what I have found out from winamp, it was quite a work, you should not have to do the same.

    Eg. m_genres[2] is "Acid", and has the number char m_genre_code[2],...
  24. CoAuthor for new type of Client-Server program wanted.

    Hello!

    I'm writing on a new type of client-server program, that will really will be a revolution for all who want trade files and have a high capacity connection.

    The part that I need help with...
  25. Replies
    3
    Views
    571

    Re: Linked Lists and Arrays

    Addition to the other reply...
    Arrays are preferable when handling many small items, since you avoid the overhead of allocating memory for each item. When inserting and removing data is not a very...
Results 1 to 25 of 26
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured